Skip to contentSkip to conversation

ARM: mach-shmobile: bump up NR_IRQS to 640

PATCH In review Magnus Damm 2 participants 4 messages Mar 11, 2010 – Dec 20, 2010

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 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 */
#1 lore raw
Quoted 6 lines · Magnus Damm

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.

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.

author maintainer
#2 lore raw

PATCH 1/1 ARM: mach-shmobile: Bump up NR_IRQS to 1024

In reply to Magnus Damm

From: 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)