Message ID | 1426529962-2204-1-git-send-email-sbranden@broadcom.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Mar 16, 2015 at 11:19:22AM -0700, Scott Branden wrote: > The current AMBA bus only allows up to 9 IRQs per device. This is > incorrect, as in peripherals like PL330 can have up to 32 IRQs. > Increase AMBA_NR_IRQS from 9 to 32. I'm quite certain that 32 will also be "incorrect" at some point in the future, so let's not use such language. Let's make this more neutral and say "This does not suit peripherals like the PL330 which can have up to 32 IRQs." Thanks.
Hi Russell, On 15-03-16 02:08 PM, Russell King - ARM Linux wrote: > On Mon, Mar 16, 2015 at 11:19:22AM -0700, Scott Branden wrote: >> The current AMBA bus only allows up to 9 IRQs per device. This is >> incorrect, as in peripherals like PL330 can have up to 32 IRQs. >> Increase AMBA_NR_IRQS from 9 to 32. > > I'm quite certain that 32 will also be "incorrect" at some point in the > future, so let's not use such language. Let's make this more neutral > and say "This does not suit peripherals like the PL330 which can have > up to 32 IRQs." OK, I sent out a new patch with update commit message. Thanks, Scott > > Thanks. >
diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h index 50fc668..475e090 100644 --- a/include/linux/amba/bus.h +++ b/include/linux/amba/bus.h @@ -21,7 +21,7 @@ #include <linux/resource.h> #include <linux/regulator/consumer.h> -#define AMBA_NR_IRQS 9 +#define AMBA_NR_IRQS 32 #define AMBA_CID 0xb105f00d #define CORESIGHT_CID 0xb105900d