From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: 2.6.30 dom0 Xen patches Date: Fri, 17 Jul 2009 13:38:39 +0300 Message-ID: <20090717103839.GF24960@edu.joroinen.fi> References: <169034.37156.qm@web56105.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <169034.37156.qm@web56105.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Boris Derzhavets Cc: Andrew Lyon , Xen-devel , Kris Shannon List-Id: xen-devel@lists.xenproject.org On Fri, Jul 17, 2009 at 03:19:46AM -0700, Boris Derzhavets wrote: > Sorry, i've got your point - just one more *.patch1 file. > That's it. >=20 Yep, that's what I meant :) Then you can just attach the additional patch to an email and Andy can th= en later add it as a part of his patchset.. -- Pasi > Thanks. > Boris. >=20 > --- On Fri, 7/17/09, Pasi K=E4rkk=E4inen wrote: >=20 > From: Pasi K=E4rkk=E4inen > Subject: Re: [Xen-devel] 2.6.30 dom0 Xen patches > To: "Boris Derzhavets" > Cc: "Andrew Lyon" , "Xen-devel" , "Kris Shannon" > Date: Friday, July 17, 2009, 6:06 AM >=20 > On Fri, Jul 17, 2009 at 12:11:18AM -0700, Boris Derzhavets wrote: > >=20 > > I=A0 made two replacements=20 > > CONFIG_SPARSE_IRQ by CONFIG_GENERIC_HARDIRQS. > >=20 > > **************************************************** > > In 60035_xen3-patch-2.6.29.patch1 line 11568 > > **************************************************** > > +#ifdef CONFIG_SPARSE_IRQ > > + irq_to_desc(irq)->kstat_irqs[cpu] =3D 0; > > +#else > > kstat_cpu(cpu).irqs[irq] =3D 0; > > **************************************************** > > In 60036_xen3-patch-2.6.30.patch1 line 18283 > > **************************************************** > > +#ifdef CONFIG_SPARSE_IRQ > > +int __init arch_probe_nr_irqs(void) > > +{ > > + int nr; > > + > > + if (nr_irqs > (NR_VECTORS * nr_cpu_ids)) > > + nr_irqs =3D NR_VECTORS * nr_cpu_ids; > >=20 > > To fix this issue. But, i don't know how to rebuild Andy's patch set > > based on your commit. > >=20 > > Boris. > > P.S.=A0 I haven't heard from Andy for a while. > >=20 >=20 > Boris: Just generate a new (additional) patch that fixes the problem wi= th > CONFIG_SPARSE_IRQ. Much easier for other people to apply it then, and g= et it > right.. also no need to explain many times what to change and where..=20 >=20 > -- Pasi >=20 > > --- On Thu, 7/16/09, Kris Shannon wrote: > >=20 > > From: Kris Shannon > > Subject: Re: [Xen-devel] 2.6.30 dom0 Xen patches > > To: "Andrew Lyon" > > Cc: "Xen-devel" > > Date: Thursday, July 16, 2009, 6:56 PM > >=20 > > 2009/7/2 Andrew Lyon : > > > I have rebased the xen-patches from opensuse > > > kernel-source-2.6.30-50.1.src.rpm so that they can be applied to > > > vanilla 2.6.30, the usual patches tarball and gentoo ebuild are > > > available at http://code.google.com/p/gentoo-xen-kernel/downloads/l= ist > > > , if you are not using Gentoo simply apply the patches in numeric > > > order. > > > > > > Some notes: > > > > > > both dom0 and domU require CONFIG_SPARSE_IRQ=3Dy and CONFIG_HOTPLUG= =3Dy > > > 64 bit dom0/domU requires CONFIG_IA32_EMULATION=3Dy > > > > > > Andy > >=20 > > The error: > > drivers/xen/core/evtchn.c: In function 'unbind_from_irq': > > drivers/xen/core/evtchn.c:641: error: 'struct kernel_stat' has no > > member named 'irqs' > >=20 > > when CONFIG_SPARSE_IRQ is not set is due to a missing #ifdef change a= couple > > of lines earlier.=A0 The commit d52a61c04c6c0814ca270a088feedb1264365= 98e altered > > the kernel_stat.irqs dependency to CONFIG_GENERIC_HARDIRQS. > >=20 > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > >=20 > >=20 > >=20 > >=A0 =A0 =A0=A0=A0 > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >=20 >=20 >=20 > =20