From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Date: Sat, 01 May 2010 09:44:36 +0000 Subject: Re: [PATCH] ARM: Add support for 10 hardirq bits Message-Id: <20100501094436.GC12172@n2100.arm.linux.org.uk> List-Id: References: <20100310111749.18521.9002.sendpatchset@t400s> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-arm-kernel@lists.infradead.org On Fri, Apr 30, 2010 at 01:02:04PM +0900, Magnus Damm wrote: > On Wed, Mar 10, 2010 at 8:17 PM, Magnus Damm wrot= e: > > From: Magnus Damm > > > > This patch adds support for 10 hardirq bits to > > the ARM architecture. Needed by the SH-Mobile > > ARM processor sh7372 that has more than 512 IRQs. > > > > Signed-off-by: Magnus Damm > > --- > > > > =A0arch/arm/include/asm/hardirq.h | =A0 =A04 +++- > > =A01 file changed, 3 insertions(+), 1 deletion(-) > > > > --- 0001/arch/arm/include/asm/hardirq.h > > +++ work/arch/arm/include/asm/hardirq.h 2010-03-09 21:08:10.000000000 += 0900 > > @@ -12,7 +12,9 @@ typedef struct { > > > > =A0#include /* Standard mappings for irq_cpustat_= t above */ > > > > -#if NR_IRQS > 256 > > +#if NR_IRQS > 512 > > +#define HARDIRQ_BITS =A0 10 > > +#elif NR_IRQS > 256 > > =A0#define HARDIRQ_BITS =A0 9 > > =A0#else > > =A0#define HARDIRQ_BITS =A0 8 > > >=20 > Hi Russell, >=20 > Good to hear that you are back online. Do you want me to rework this > patch somehow, or is it ready to be queued for upstream merge? I'm > asking because I have a pile of patches that depend on this one. I guess it's ok; with 10 bits we're at the maximum which the generic kernel supports (see linux/hardirq.h)