From: Boris Derzhavets Subject: Re: 2.6.30 dom0 Xen patches Date: Fri, 17 Jul 2009 03:14:59 -0700 (PDT) Message-ID: <268141.84258.qm@web56102.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0892365647==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?iso-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: Andrew Lyon , Xen-devel , Kris Shannon List-Id: xen-devel@lists.xenproject.org --===============0892365647== Content-Type: multipart/alternative; boundary="0-1941618325-1247825699=:84258" --0-1941618325-1247825699=:84258 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Pasi, I understand it, but i cannot rebuild Andy's patch set. I am not aware of=A0 what the procedure is, but suspect it's not too much complicated.=20 If commit was mentioned, it says to me only that some Git Repo is a source. Nothing else. If you can , please , do it. Boris --- On Fri, 7/17/09, Pasi K=E4rkk=E4inen wrote: 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 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 i= t 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/list > > , 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 cou= ple > of lines earlier.=A0 The commit d52a61c04c6c0814ca270a088feedb126436598e = 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1941618325-1247825699=:84258 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Pasi,

I understand it, but i cannot re= build Andy's patch set.
I am not aware of  what the procedure is, b= ut suspect it's not
too much complicated.
If commit was mentioned, i= t says to me only that some Git Repo is a source.
Nothing else. If you c= an , please , do it.

Boris


--- On Fri, 7/17/09, Pasi K= =E4rkk=E4inen <pasik@iki.fi> wrote:

From: Pasi K=E4rkk=E4inen <pasik@iki.fi>
Subject: Re: = [Xen-devel] 2.6.30 dom0 Xen patches
To: "Boris Derzhavets" <bderzhave= ts@yahoo.com>
Cc: "Andrew Lyon" <andrew.lyon@gmail.com>, "Xen-d= evel" <xen-devel@lists.xensource.com>, "Kris Shannon" <kris@shanno= n.id.au>
Date: Friday, July 17, 2009, 6:06 AM

On Fri, Jul 17, 2009 at 12:11:18AM -0700, Boris Derzhavets wrote:
> > I  made two replacements
> CONFIG_SPARSE_IRQ by CONFIG_GE= NERIC_HARDIRQS.
>
> ******************************************= **********
> In 60035_xen3-patch-2.6.29.patch1 line 11568
> ***= *************************************************
> +#ifdef CONFIG_SP= ARSE_IRQ
> + irq_to_desc(irq)->kstat_irqs[cpu] =3D 0;
> +#el= se
> 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;
>
&= gt; To fix this issue. But, i don't know how to rebuild Andy's patch set
> based on your commit.
>
> Boris.
> P.S.&nbs= p; I haven't heard from Andy for a while.
>

Boris: Just gener= ate a new (additional) patch that fixes the problem with
CONFIG_SPARSE_I= RQ. Much easier for other people to apply it then, and get it
right.. al= so no need to explain many times what to change and where..

-- Pasi=

> --- On Thu, 7/16/09, Kris Shannon <kris@shannon.= id.au> wrote:
>
> From: Kris Shannon <kri= s@shannon.id.au>
> Subject: Re: [Xen-devel] 2.6.30 dom0 Xen pa= tches
> To: "Andrew Lyon" <andrew.lyon@gmail.com<= /a>>
> Cc: "Xen-devel" <
xen-devel@lists.xe= nsource.com>
> Date: Thursday, July 16, 2009, 6:56 PM
> =
> 2009/7/2 Andrew Lyon <andrew.lyon@gmail.com>:
> > I have rebased the xen-patches from opensuse
> &g= t; 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
&g= t; > available at
http://code.google.com/p/gentoo-xen-kerne= l/downloads/list
> > , if you are not using Gentoo simply appl= y 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
>
> = 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'
>
> when CONFIG_SPARSE_IRQ is not= set is due to a missing #ifdef change a couple
> of lines earlier.&n= bsp; The commit d52a61c04c6c0814ca270a088feedb126436598e altered
> th= e kernel_stat.irqs dependency to CONFIG_GENERIC_HARDIRQS.
>
> = _______________________________________________
> Xen-devel mailing l= ist
> Xen-devel@lists.xensource.com<= /a>
>
http://lists.xensource.com/xen-devel
>
>
>
= >       
> _______________________________________________
> Xen-devel mailing = list
> Xen-devel@lists.xensource.com=
> http://lists.xensource.com/xen-devel


__________________= _____________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xe= n-devel

=0A=0A --0-1941618325-1247825699=:84258-- --===============0892365647== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0892365647==--