ARM: mach-shmobile: bump up NR_IRQS to 640
Magnus Damm
maintainerPATCH 1/1 ARM: mach-shmobile: bump up NR_IRQS to 640
From: Magnus Damm <[email protected]>
Increase NR_IRQS to 640 on SH-Mobile ARM. With this applied the INTCS controller on sh7372 can be supported.
---
Depends on "[PATCH] ARM: Add support for 10 hardirq bits"
arch/arm/mach-shmobile/include/mach/irqs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/include/mach/irqs.h +1 -1
@@ -1,7 +1,7 @@#ifndef __ASM_MACH_IRQS_H#define __ASM_MACH_IRQS_H -#define NR_IRQS 512 +#define NR_IRQS 640#define NR_IRQS_LEGACY 8/* INTCA */
Quoted 6 lines · Magnus Damm
From: Magnus Damm <[email protected]>
Increase
NR_IRQSto 640 on SH-Mobile ARM. With this applied the INTCS controller on sh7372 can be supported.Signed-off-by Magnus Damm <[email protected]>
I've dropped this one due to the INTCS_VECT_BASE shifting, feel free to resubmit an updated version once support for 10-bit hardirqs hits upstream.
Magnus Damm
maintainerPATCH 1/1 ARM: mach-shmobile: Bump up NR_IRQS to 1024
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Increase NR_IRQS from 512 to 1024 on SH-Mobile ARM.
Needed to support vectors in the sh73a0 INTCS block.
---
arch/arm/mach-shmobile/include/mach/irqs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/include/mach/irqs.h +1 -1
@@ -1,7 +1,7 @@#ifndef __ASM_MACH_IRQS_H#define __ASM_MACH_IRQS_H -#define NR_IRQS 512 +#define NR_IRQS 1024/* GIC */ #define gic_spi (nr) ((nr) + 32)
Re: [PATCH] ARM: mach-shmobile: Bump up NR_IRQS to 1024
In reply to Magnus DammQuoted 7 lines · Magnus Damm
From: Magnus Damm <[email protected]>
Increase
NR_IRQSfrom 512 to 1024 on SH-Mobile ARM.Needed to support vectors in the sh73a0 INTCS block.
Signed-off-by Magnus Damm <[email protected]>
This will bring us to the maximum number we can support in the hardirq bits, just so you're aware.