linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM IRQ Kconfig Changes
@ 2011-02-02 16:31 Felipe Balbi
  2011-02-02 16:31 ` [PATCH 1/2] arm: Kconfig: select correct HAVE_SPARSE_IRQ symbol Felipe Balbi
  2011-02-02 16:31 ` [PATCH 2/2] arm: Kconfig: allow OMAP to use sparse IRQ numbering Felipe Balbi
  0 siblings, 2 replies; 4+ messages in thread
From: Felipe Balbi @ 2011-02-02 16:31 UTC (permalink / raw)
  To: linux-arm-kernel

The following two patches are simple fixes,
the first one fixes a mistake on a previous
commit and the second one lets OMAP use sparse
IRQ numbering scheme.

Boot tested on pandaboard. Note that this is a
rebased version of older patchset [1] which was
resent later [2] but nobody took action on those.

Andrew, would you take care of these two patches
for me provided Tony and Russell are ok with them ?

[1] http://marc.info/?l=linux-omap&m=129414258508740&w=2
[2] http://marc.info/?l=linux-omap&m=129550582206489&w=2

Felipe Balbi (2):
  arm: Kconfig: select correct HAVE_SPARSE_IRQ symbol
  arm: Kconfig: allow OMAP to use sparse IRQ numbering

 arch/arm/Kconfig |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

-- 
1.7.4.rc2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] arm: Kconfig: select correct HAVE_SPARSE_IRQ symbol
  2011-02-02 16:31 [PATCH 0/2] ARM IRQ Kconfig Changes Felipe Balbi
@ 2011-02-02 16:31 ` Felipe Balbi
  2011-02-02 16:31 ` [PATCH 2/2] arm: Kconfig: allow OMAP to use sparse IRQ numbering Felipe Balbi
  1 sibling, 0 replies; 4+ messages in thread
From: Felipe Balbi @ 2011-02-02 16:31 UTC (permalink / raw)
  To: linux-arm-kernel

commit e2a93ecc7fc469dab52323c11a2d8ceaa62aac7b
(ARM: Use genirq definitions from kernel/irq/Kconfig)
made ARM Kconfig use the generic Kconfig symbols from
kernel/irq/Kconfig but did not fix the boards which
were using the older symbols, fix them.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 arch/arm/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5cff165..09a5c11 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -529,7 +529,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.
 
@@ -610,7 +610,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.
 
-- 
1.7.4.rc2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm: Kconfig: allow OMAP to use sparse IRQ numbering
  2011-02-02 16:31 [PATCH 0/2] ARM IRQ Kconfig Changes Felipe Balbi
  2011-02-02 16:31 ` [PATCH 1/2] arm: Kconfig: select correct HAVE_SPARSE_IRQ symbol Felipe Balbi
@ 2011-02-02 16:31 ` Felipe Balbi
  2011-02-02 20:20   ` Tony Lindgren
  1 sibling, 1 reply; 4+ messages in thread
From: Felipe Balbi @ 2011-02-02 16:31 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 arch/arm/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 09a5c11..2ca24ad 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -857,6 +857,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
-- 
1.7.4.rc2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm: Kconfig: allow OMAP to use sparse IRQ numbering
  2011-02-02 16:31 ` [PATCH 2/2] arm: Kconfig: allow OMAP to use sparse IRQ numbering Felipe Balbi
@ 2011-02-02 20:20   ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2011-02-02 20:20 UTC (permalink / raw)
  To: linux-arm-kernel

* Felipe Balbi <balbi@ti.com> [110202 08:31]:
> 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.
> 
> Signed-off-by: Felipe Balbi <balbi@ti.com>

Assuming these two will go through Russell's tree:

Acked-by: Tony Lindgren <tony@atomide.com>

> ---
>  arch/arm/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 09a5c11..2ca24ad 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -857,6 +857,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
> -- 
> 1.7.4.rc2
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-02 20:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02 16:31 [PATCH 0/2] ARM IRQ Kconfig Changes Felipe Balbi
2011-02-02 16:31 ` [PATCH 1/2] arm: Kconfig: select correct HAVE_SPARSE_IRQ symbol Felipe Balbi
2011-02-02 16:31 ` [PATCH 2/2] arm: Kconfig: allow OMAP to use sparse IRQ numbering Felipe Balbi
2011-02-02 20:20   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).