From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: 2.6.30 dom0 Xen patches Date: Fri, 17 Jul 2009 13:06:44 +0300 Message-ID: <20090717100644.GE24960@edu.joroinen.fi> References: <854047.3663.qm@web56102.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: <854047.3663.qm@web56102.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 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 Boris: Just generate a new (additional) patch that fixes the problem with CONFIG_SPARSE_IRQ. Much easier for other people to apply it then, and get= it right.. also no need to explain many times what to change and where..=20 -- Pasi > --- 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/lis= t > > , 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=3D= y > > 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 c= ouple > of lines earlier.=A0 The commit d52a61c04c6c0814ca270a088feedb126436598= e 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 > =20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel