[PATCH v2 09/15] ARM: integrator: Drop unneeded select of SPARSE_IRQ

2020-05-05 Thread Geert Uytterhoeven
Support for ARM Ltd. Integrator systems depends on ARCH_MULTIPLATFORM. As the latter selects SPARSE_IRQ, there is no need for ARCH_INTEGRATOR to select SPARSE_IRQ. Signed-off-by: Geert Uytterhoeven Cc: Linus Walleij Acked-by: Arnd Bergmann --- v2: - Add Acked-by. --- arch/arm/mach

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-21 Thread Arnd Bergmann
ut my > >> Tested-by: Alexander Sverdlin > >> on them. > > Awesome, thanks for testing. > > > > I only remember sending two patches for ep93xx: > > ARM: ep93xx: make mach/ep93xx-regs.h local > > ARM: ep93xx: enable SPARSE_IRQ > > > > and have ad

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-20 Thread Alexander Sverdlin
nly remember sending two patches for ep93xx: > ARM: ep93xx: make mach/ep93xx-regs.h local > ARM: ep93xx: enable SPARSE_IRQ > > and have added the Tested-by tag to them now. Is there a third one > I missed? The patch shifting the IRQ-numbering by one is a prerequisite for the two above patches, right? -- Alex.

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-20 Thread Arnd Bergmann
or testing. I only remember sending two patches for ep93xx: ARM: ep93xx: make mach/ep93xx-regs.h local ARM: ep93xx: enable SPARSE_IRQ and have added the Tested-by tag to them now. Is there a third one I missed? Arnd

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-19 Thread Alexander Sverdlin
Hi! On Sat, 19 Oct 2019 22:44:18 +0200 Arnd Bergmann wrote: > > > > # cat /proc/interrupts > > > >CPU0 > > > > 39:146 VIC 7 Edge eth0 > > > > 51: 162161 VIC 19 Edge ep93xx timer > > > > 52:139 VIC 20 Edge uart-pl010 > > > >

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-19 Thread Arnd Bergmann
On Sat, Oct 19, 2019 at 10:24 PM Alexander Sverdlin wrote: > On Sat, 19 Oct 2019 22:08:40 +0200 > Arnd Bergmann wrote: > > > > # cat /proc/interrupts > > >CPU0 > > > 39:146 VIC 7 Edge eth0 > > > 51: 162161 VIC 19 Edge ep93xx timer > > > 52:

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-19 Thread Alexander Sverdlin
Hi! On Sat, 19 Oct 2019 22:08:40 +0200 Arnd Bergmann wrote: > > # cat /proc/interrupts > >CPU0 > > 39:146 VIC 7 Edge eth0 > > 51: 162161 VIC 19 Edge ep93xx timer > > 52:139 VIC 20 Edge uart-pl010 > > 53: 4

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-19 Thread Arnd Bergmann
On Sat, Oct 19, 2019 at 6:43 PM Alexander Sverdlin wrote: > On Fri, 18 Oct 2019 18:29:15 +0200 > Arnd Bergmann wrote: > > > Without CONFIG_SPARSE_IRQ, we rely on mach/irqs.h to define NR_IRQS > > globally. Do the minimal conversion by setting .nr_irqs in each > > machine descriptor. > > > > Only

Re: [PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-19 Thread Alexander Sverdlin
Hello Arnd, On Fri, 18 Oct 2019 18:29:15 +0200 Arnd Bergmann wrote: > Without CONFIG_SPARSE_IRQ, we rely on mach/irqs.h to define NR_IRQS > globally. Do the minimal conversion by setting .nr_irqs in each > machine descriptor. > > Only the vision_ep9307 machine has extra IRQs for GPIOs, so make

[PATCH 2/6] ARM: ep93xx: enable SPARSE_IRQ

2019-10-18 Thread Arnd Bergmann
EVENTS select GPIOLIB + select IRQ_DOMAIN + select SPARSE_IRQ help This enables support for the Cirrus EP93xx series of CPUs. diff --git a/arch/arm/mach-ep93xx/adssphere.c b/arch/arm/mach-ep93xx/adssphere.c index 57cfd8ebe04f..bb5e7b3c2fba 100644 --- a/arch/ar

[PATCH] microblaze: Enable SPARSE_IRQ

2019-10-08 Thread Michal Simek
Enabling SPARSE_IRQ to use dynamically allocated irq descriptors. Signed-off-by: Mubin Sayyed Signed-off-by: Michal Simek --- arch/microblaze/Kconfig | 1 + arch/microblaze/include/asm/irq.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/Kconfig

[PATCH v4 08/37] ARM: davinci: select SPARSE_IRQ

2019-02-14 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Everything is in place now for SPARSE_IRQ. Select it and set DAVINCI_INTC_START to NR_IRQS. We now need to include mach/irqs.h in a couple places as it is no longer indirectly included after selecting SPARSE_IRQ. Signed-off-by: Bartosz Golaszewski Reviewed-by: David

[PATCH v3 08/37] ARM: davinci: select SPARSE_IRQ

2019-02-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Everything is in place now for SPARSE_IRQ. Select it and set DAVINCI_INTC_START to NR_IRQS. We now need to include mach/irqs.h in a couple places as it is no longer indirectly included after selecting SPARSE_IRQ. Signed-off-by: Bartosz Golaszewski Reviewed-by: David

[RESEND PATCH v2 07/33] ARM: davinci: select SPARSE_IRQ

2019-02-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Everything is in place now for SPARSE_IRQ. Select it and set DAVINCI_INTC_START to NR_IRQS. We now need to include mach/irqs.h in a couple places as it is no longer indirectly included after selecting SPARSE_IRQ. Signed-off-by: Bartosz Golaszewski Reviewed-by: David

[PATCH v2 07/33] ARM: davinci: select SPARSE_IRQ

2019-02-08 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Everything is in place now for SPARSE_IRQ. Select it and set DAVINCI_INTC_START to NR_IRQS. We now need to include mach/irqs.h in a couple places as it is no longer indirectly included after selecting SPARSE_IRQ. Signed-off-by: Bartosz Golaszewski Reviewed-by: David

Re: [PATCH 06/35] ARM: davinci: wrap interrupt definitions with a macro for SPARSE_IRQ

2019-02-05 Thread Bartosz Golaszewski
pon., 4 lut 2019 o 23:32 David Lechner napisaƂ(a): > > On 1/31/19 7:38 AM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > This is done in preparation for selecting CONFIG_SPARSE_IRQ. The > > interrupt numbers will then start at the predefined NR_IRQS offset. > > > > For now

Re: [PATCH 08/35] ARM: davinci: select SPARSE_IRQ

2019-02-04 Thread David Lechner
On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Everything is in place now for SPARSE_IRQ. Select it and set DAVINCI_INTC_START to NR_IRQS. We now need to include mach/irqs.h in a couple places as it is no longer indirectly included after selecting SPARSE_IRQ. Signed

Re: [PATCH 06/35] ARM: davinci: wrap interrupt definitions with a macro for SPARSE_IRQ

2019-02-04 Thread David Lechner
On 1/31/19 7:38 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski This is done in preparation for selecting CONFIG_SPARSE_IRQ. The interrupt numbers will then start at the predefined NR_IRQS offset. For now wrap all interrupt numbers with a macro and define DAVINCI_INTC_START to 0.

[PATCH 08/35] ARM: davinci: select SPARSE_IRQ

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Everything is in place now for SPARSE_IRQ. Select it and set DAVINCI_INTC_START to NR_IRQS. We now need to include mach/irqs.h in a couple places as it is no longer indirectly included after selecting SPARSE_IRQ. Signed-off-by: Bartosz Golaszewski --- arch/arm

[PATCH 06/35] ARM: davinci: wrap interrupt definitions with a macro for SPARSE_IRQ

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This is done in preparation for selecting CONFIG_SPARSE_IRQ. The interrupt numbers will then start at the predefined NR_IRQS offset. For now wrap all interrupt numbers with a macro and define DAVINCI_INTC_START to 0. Logically nothing changes for now. Signed-off-by:

Re: [RFC/RFT PATCH 3/3] gpiolib: make gpio irqchip compatible with sparse_irq

2017-08-01 Thread Linus Walleij
On Sun, Jul 9, 2017 at 12:44 AM, Grygorii Strashko <grygorii.stras...@ti.com> wrote: > Now IRQ mappings are always created for all (allowed) GPIOs in gpio irqchip in > gpiochip_irqchip_add_key() which goes against the idea of SPARSE_IRQ and, > as result, leads to: > - in

Re: [RFC/RFT PATCH 3/3] gpiolib: make gpio irqchip compatible with sparse_irq

2017-08-01 Thread Linus Walleij
On Sun, Jul 9, 2017 at 12:44 AM, Grygorii Strashko wrote: > Now IRQ mappings are always created for all (allowed) GPIOs in gpio irqchip in > gpiochip_irqchip_add_key() which goes against the idea of SPARSE_IRQ and, > as result, leads to: > - increasing of memory consumption because

[RFC/RFT PATCH 3/3] gpiolib: make gpio irqchip compatible with sparse_irq

2017-07-08 Thread Grygorii Strashko
Now IRQ mappings are always created for all (allowed) GPIOs in gpio irqchip in gpiochip_irqchip_add_key() which goes against the idea of SPARSE_IRQ and, as result, leads to: - increasing of memory consumption because of allocated IRQ descriptors most of which will never ever be used (especially

[RFC/RFT PATCH 3/3] gpiolib: make gpio irqchip compatible with sparse_irq

2017-07-08 Thread Grygorii Strashko
Now IRQ mappings are always created for all (allowed) GPIOs in gpio irqchip in gpiochip_irqchip_add_key() which goes against the idea of SPARSE_IRQ and, as result, leads to: - increasing of memory consumption because of allocated IRQ descriptors most of which will never ever be used (especially

[RFC/RFT PATCH 0/3] gpiolib: make gpio irqchip compatible with sparse_irq

2017-07-08 Thread Grygorii Strashko
The idea of this changes was inspired by discussion [1]. Now IRQ mappings are always created for all (allowed) GPIOs in GPIO irqchip in gpiochip_irqchip_add_key() and this goes against the idea of SPARSE_IRQ and, as result, leads to: - increasing of memory consumption because of allocated IRQ

[RFC/RFT PATCH 0/3] gpiolib: make gpio irqchip compatible with sparse_irq

2017-07-08 Thread Grygorii Strashko
The idea of this changes was inspired by discussion [1]. Now IRQ mappings are always created for all (allowed) GPIOs in GPIO irqchip in gpiochip_irqchip_add_key() and this goes against the idea of SPARSE_IRQ and, as result, leads to: - increasing of memory consumption because of allocated IRQ

[PATCH v4 01/24] openrisc: use SPARSE_IRQ

2017-02-23 Thread Stafford Horne
AVE_ARCH_TRACEHOOK + select SPARSE_IRQ select GENERIC_IRQ_CHIP select GENERIC_IRQ_PROBE select GENERIC_IRQ_SHOW diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index 2832f03..6dd177d 100644 --- a/arch/openrisc/include/asm/Kbuild +++ b/arch/op

[PATCH v4 01/24] openrisc: use SPARSE_IRQ

2017-02-23 Thread Stafford Horne
/Kconfig b/arch/openrisc/Kconfig index 8d22015..1e95920 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -12,6 +12,7 @@ config OPENRISC select HAVE_MEMBLOCK select GPIOLIB select HAVE_ARCH_TRACEHOOK + select SPARSE_IRQ select GENERIC_IRQ_CHIP

[PATCH v3 01/25] openrisc: use SPARSE_IRQ

2017-02-21 Thread Stafford Horne
AVE_ARCH_TRACEHOOK + select SPARSE_IRQ select GENERIC_IRQ_CHIP select GENERIC_IRQ_PROBE select GENERIC_IRQ_SHOW diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index 2832f03..6dd177d 100644 --- a/arch/openrisc/include/asm/Kbuild +++ b/arch/op

[PATCH v3 01/25] openrisc: use SPARSE_IRQ

2017-02-21 Thread Stafford Horne
/Kconfig b/arch/openrisc/Kconfig index 8d22015..1e95920 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -12,6 +12,7 @@ config OPENRISC select HAVE_MEMBLOCK select GPIOLIB select HAVE_ARCH_TRACEHOOK + select SPARSE_IRQ select GENERIC_IRQ_CHIP

[PATCH v2 01/23] openrisc: use SPARSE_IRQ

2017-02-03 Thread Stafford Horne
AVE_ARCH_TRACEHOOK + select SPARSE_IRQ select GENERIC_IRQ_CHIP select GENERIC_IRQ_PROBE select GENERIC_IRQ_SHOW diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index 2832f03..6dd177d 100644 --- a/arch/openrisc/include/asm/Kbuild +++ b/arch/op

[PATCH v2 01/23] openrisc: use SPARSE_IRQ

2017-02-03 Thread Stafford Horne
/Kconfig b/arch/openrisc/Kconfig index 8d22015..1e95920 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -12,6 +12,7 @@ config OPENRISC select HAVE_MEMBLOCK select GPIOLIB select HAVE_ARCH_TRACEHOOK + select SPARSE_IRQ select GENERIC_IRQ_CHIP

[PATCH 01/22] openrisc: use SPARSE_IRQ

2017-01-14 Thread Stafford Horne
AVE_ARCH_TRACEHOOK + select SPARSE_IRQ select GENERIC_IRQ_CHIP select GENERIC_IRQ_PROBE select GENERIC_IRQ_SHOW diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index 2832f03..6dd177d 100644 --- a/arch/openrisc/include/asm/Kbuild +++ b/arch/op

[PATCH 01/22] openrisc: use SPARSE_IRQ

2017-01-14 Thread Stafford Horne
/Kconfig b/arch/openrisc/Kconfig index 8d22015..1e95920 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -12,6 +12,7 @@ config OPENRISC select HAVE_MEMBLOCK select GPIOLIB select HAVE_ARCH_TRACEHOOK + select SPARSE_IRQ select GENERIC_IRQ_CHIP

[PATCH 3/7] ARM: orion: use SPARSE_IRQ everywhere

2015-12-02 Thread Arnd Bergmann
PLAT_ORION_LEGACY + select SPARSE_IRQ help Support for the Marvell Dove SoC 88AP510 @@ -529,6 +530,7 @@ config ARCH_MV78XX0 select MULTI_IRQ_HANDLER select PCI select PLAT_ORION_LEGACY + select SPARSE_IRQ help Support for the following

[PATCH 3/7] ARM: orion: use SPARSE_IRQ everywhere

2015-12-02 Thread Arnd Bergmann
select PINCTRL_DOVE select PLAT_ORION_LEGACY + select SPARSE_IRQ help Support for the Marvell Dove SoC 88AP510 @@ -529,6 +530,7 @@ config ARCH_MV78XX0 select MULTI_IRQ_HANDLER select PCI select PLAT_ORION_LEGACY + select SPARSE_IRQ

[PATCH 3/5] ARM: orion: use SPARSE_IRQ everywhere

2015-11-25 Thread Arnd Bergmann
SPARSE_IRQ help Support for the Marvell Dove SoC 88AP510 @@ -485,6 +486,7 @@ config ARCH_MV78XX0 select MULTI_IRQ_HANDLER select PCI select PLAT_ORION_LEGACY + select SPARSE_IRQ help Support for the following Marvell MV78xx0 series

[PATCH 3/5] ARM: orion: use SPARSE_IRQ everywhere

2015-11-25 Thread Arnd Bergmann
LEGACY + select SPARSE_IRQ help Support for the Marvell Dove SoC 88AP510 @@ -485,6 +486,7 @@ config ARCH_MV78XX0 select MULTI_IRQ_HANDLER select PCI select PLAT_ORION_LEGACY + select SPARSE_IRQ help Support for the following M

[tip:irq/core] tile: Use SPARSE_IRQ

2014-05-16 Thread tip-bot for Thomas Gleixner
Commit-ID: b26d851ff1928b56242c4c5e16cb62bac2d9526c Gitweb: http://git.kernel.org/tip/b26d851ff1928b56242c4c5e16cb62bac2d9526c Author: Thomas Gleixner AuthorDate: Wed, 7 May 2014 15:44:16 + Committer: Thomas Gleixner CommitDate: Fri, 16 May 2014 14:05:21 +0200 tile: Use SPARSE_IRQ

[tip:irq/core] tile: Use SPARSE_IRQ

2014-05-16 Thread tip-bot for Thomas Gleixner
14:05:21 +0200 tile: Use SPARSE_IRQ Get rid of the private allocator and switch over to sparse IRQs. Signed-off-by: Thomas Gleixner t...@linutronix.de Reviewed-by: Grant Likely grant.lik...@linaro.org Cc: Tony Luck tony.l...@intel.com Cc: Peter Zijlstra pet...@infradead.org Acked-by: Chris

[patch 21/32] tile: Use SPARSE_IRQ

2014-05-07 Thread Thomas Gleixner
essor" + select SPARSE_IRQ + select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ select HAVE_FUNCTION_TRACER select HAVE_FUNCTION_TRACE_MCOUNT_TEST select HAVE_FUNCTION_GRAPH_TRACER Index: tip/arch/tile/include

[patch 21/32] tile: Use SPARSE_IRQ

2014-05-07 Thread Thomas Gleixner
Building for TILE-Gx (64-bit) processor + select SPARSE_IRQ + select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ select HAVE_FUNCTION_TRACER select HAVE_FUNCTION_TRACE_MCOUNT_TEST select HAVE_FUNCTION_GRAPH_TRACER Index: tip/arch/tile/include/asm/irq.h

SPARSE_IRQ

2012-12-18 Thread Paul Thompson
Hi; Perhaps Im being an idiot, but it looks to me like the menu-item for SPARSE_IRQ (under General setup -> IRQ subsystem) depends solely on MAY_HAVE_SPARSE_IRQ, but I only see *one* user for that in the kernel now, the SuperH arch (arch/sh/Kconfig). It looks like everyone e

SPARSE_IRQ

2012-12-18 Thread Paul Thompson
Hi; Perhaps Im being an idiot, but it looks to me like the menu-item for SPARSE_IRQ (under General setup - IRQ subsystem) depends solely on MAY_HAVE_SPARSE_IRQ, but I only see *one* user for that in the kernel now, the SuperH arch (arch/sh/Kconfig). It looks like everyone else

[PATCH 4/4] ARM: nomadik/ux500: convert to SPARSE_IRQ

2012-09-27 Thread Linus Walleij
/arch/arm/Kconfig @@ -945,6 +945,7 @@ config ARCH_U8500 select ARCH_HAS_CPUFREQ select HAVE_SMP select MIGHT_HAVE_CACHE_L2X0 + select SPARSE_IRQ help Support for ST-Ericsson's Ux500 architecture @@ -958,6 +959,7 @@ config ARCH_NOMADIK select

[PATCH 4/4] ARM: nomadik/ux500: convert to SPARSE_IRQ

2012-09-27 Thread Linus Walleij
/Kconfig index 2f88d8d..bec5d08 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -945,6 +945,7 @@ config ARCH_U8500 select ARCH_HAS_CPUFREQ select HAVE_SMP select MIGHT_HAVE_CACHE_L2X0 + select SPARSE_IRQ help Support for ST-Ericsson's Ux500