Skip to contentSkip to conversation

ARM IRQ patches

PATCH RESEND New Felipe Balbi 1 participant 4 messages Jan 20, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

cover ARM IRQ patches

Hi Russell,

I'm resending these patches as they were not taken previously.

If you want me to wait until closer to next merge window, let me know and I'll re-send when we get to -rc4.

Felipe Balbi (3):
arm: Kconfig: remove duplicated GENERIC_HARDIRQS entry
arm: Kconfig: remove duplicated SPARSE_IRQ entry
arm: Kconfig: allow OMAP to use sparse IRQ numbering

 arch/arm/Kconfig |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.4.rc2
#1 lore raw

PATCH RESEND 1/3 arm: Kconfig: remove duplicated GENERIC_HARDIRQS entry

GENERIC_HARDIRQS is defined under kernel/irq/Kconfig, so it's safe to drop the duplicated entry and simply select HAVE_GENERIC_HARDIRQS.

---
 arch/arm/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/Kconfig +1 -0
index 5cff165..9756f07 100644
@@ -17,6 +17,7 @@ config ARM
 	select HAVE_DYNAMIC_FTRACE if (!XIP_KERNEL)
 	select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL)
 	select HAVE_GENERIC_DMA_COHERENT
+	select HAVE_GENERIC_HARDIRQS
 	select HAVE_KERNEL_GZIP
 	select HAVE_KERNEL_LZO
 	select HAVE_KERNEL_LZMA
Signature · 1 line
1.7.4.rc2
#2 lore raw

PATCH RESEND 2/3 arm: Kconfig: remove duplicated SPARSE_IRQ entry

In reply to Felipe Balbi

SPARSE_IRQ is defined under kernel/irq/Kconfig so
it's safe to remove the duplicated entry.

---
 arch/arm/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/Kconfig +2 -2
index 9756f07..c231192 100644
@@ -530,7 +530,7 @@ config ARCH_MMP
 	select HAVE_SCHED_CLOCK
 	select TICK_ONESHOT
 	select PLAT_PXA
-	select SPARSE_IRQ
+	select HAVE_SPARSE_IRQ
 	help
 	  Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
 
@@ -611,7 +611,7 @@ config ARCH_PXA
 	select HAVE_SCHED_CLOCK
 	select TICK_ONESHOT
 	select PLAT_PXA
-	select SPARSE_IRQ
+	select HAVE_SPARSE_IRQ
 	help
 	  Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
 
Signature · 1 line
1.7.4.rc2
#3 lore raw

PATCH RESEND 3/3 arm: Kconfig: allow OMAP to use sparse IRQ numbering

In reply to Felipe Balbi

Select HAVE_SPARSE_IRQ to allow OMAP to use sparse IRQ numbering scheme. The main difference is that irq_descs will be added to a radix tree instead of a static array.

---
 arch/arm/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/Kconfig +1 -0
index c231192..d0b5b26 100644
@@ -858,6 +858,7 @@ config ARCH_DAVINCI
 config ARCH_OMAP
 	bool "TI OMAP"
 	select HAVE_CLK
+	select HAVE_SPARSE_IRQ
 	select ARCH_REQUIRE_GPIOLIB
 	select ARCH_HAS_CPUFREQ
 	select GENERIC_CLOCKEVENTS
Signature · 1 line
1.7.4.rc2