* [patch 01/29] arm: bios32: Remove non exisiting machine code
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 02/29] arm: footbridge: Make cksrc_dc21285_disable() void Thomas Gleixner
` (27 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-bios-fix-id-removal-fallout.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/74c907cb/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 02/29] arm: footbridge: Make cksrc_dc21285_disable() void
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
2011-03-28 17:12 ` [patch 01/29] arm: bios32: Remove non exisiting machine code Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 03/29] arm: at91: at572d940hf: Fix SDRAMC define Thomas Gleixner
` (26 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-foot-bridgefix.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/4908d7ae/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 03/29] arm: at91: at572d940hf: Fix SDRAMC define
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
2011-03-28 17:12 ` [patch 01/29] arm: bios32: Remove non exisiting machine code Thomas Gleixner
2011-03-28 17:12 ` [patch 02/29] arm: footbridge: Make cksrc_dc21285_disable() void Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-29 7:46 ` Nicolas Ferre
2011-03-28 17:12 ` [patch 04/29] arm: dove: Use correct GPIO_BASE and remove orion_gpio_init() leftover Thomas Gleixner
` (25 subsequent siblings)
28 siblings, 1 reply; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-at91-fix.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/b23a1189/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 03/29] arm: at91: at572d940hf: Fix SDRAMC define
2011-03-28 17:12 ` [patch 03/29] arm: at91: at572d940hf: Fix SDRAMC define Thomas Gleixner
@ 2011-03-29 7:46 ` Nicolas Ferre
0 siblings, 0 replies; 38+ messages in thread
From: Nicolas Ferre @ 2011-03-29 7:46 UTC (permalink / raw)
To: linux-arm-kernel
Le 28/03/2011 19:12, Thomas Gleixner :
> That wants to be AT91_SDRAMC0
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
> arch/arm/mach-at91/include/mach/at572d940hf.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-2.6-tip/arch/arm/mach-at91/include/mach/at572d940hf.h
> ===================================================================
> --- linux-2.6-tip.orig/arch/arm/mach-at91/include/mach/at572d940hf.h
> +++ linux-2.6-tip/arch/arm/mach-at91/include/mach/at572d940hf.h
> @@ -89,7 +89,7 @@
> /*
> * System Peripherals (offset from AT91_BASE_SYS)
> */
> -#define AT91_SDRAMC (0xffffea00 - AT91_BASE_SYS)
> +#define AT91_SDRAMC0 (0xffffea00 - AT91_BASE_SYS)
> #define AT91_SMC (0xffffec00 - AT91_BASE_SYS)
> #define AT91_MATRIX (0xffffee00 - AT91_BASE_SYS)
> #define AT91_AIC (0xfffff000 - AT91_BASE_SYS)
>
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 04/29] arm: dove: Use correct GPIO_BASE and remove orion_gpio_init() leftover
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (2 preceding siblings ...)
2011-03-28 17:12 ` [patch 03/29] arm: at91: at572d940hf: Fix SDRAMC define Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 05/29] arm: ns9xxx: Remove non exisiting machine checks Thomas Gleixner
` (24 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-dove-fix.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/80b0280f/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 05/29] arm: ns9xxx: Remove non exisiting machine checks
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (3 preceding siblings ...)
2011-03-28 17:12 ` [patch 04/29] arm: dove: Use correct GPIO_BASE and remove orion_gpio_init() leftover Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 07/29] arm: h720x: Fix irq conversion fallout Thomas Gleixner
` (23 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-remove-non-existing-machine-checks.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/adb38b2f/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 07/29] arm: h720x: Fix irq conversion fallout
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (4 preceding siblings ...)
2011-03-28 17:12 ` [patch 05/29] arm: ns9xxx: Remove non exisiting machine checks Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 06/29] arm: nomadik: Remove non existing cpu id check Thomas Gleixner
` (22 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-h720x-fix.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/9321c410/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 06/29] arm: nomadik: Remove non existing cpu id check
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (5 preceding siblings ...)
2011-03-28 17:12 ` [patch 07/29] arm: h720x: Fix irq conversion fallout Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-29 5:35 ` Srinidhi Kasagar
2011-03-28 17:12 ` [patch 08/29] arm: tegra: Remove unused bogus irq enable/disable magic Thomas Gleixner
` (21 subsequent siblings)
28 siblings, 1 reply; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-nomadik-remove-non-existing.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/36f60500/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 06/29] arm: nomadik: Remove non existing cpu id check
2011-03-28 17:12 ` [patch 06/29] arm: nomadik: Remove non existing cpu id check Thomas Gleixner
@ 2011-03-29 5:35 ` Srinidhi Kasagar
0 siblings, 0 replies; 38+ messages in thread
From: Srinidhi Kasagar @ 2011-03-29 5:35 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Mar 28, 2011 at 10:42 PM, Thomas Gleixner <tglx@linutronix.de> wrote:
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> ?arch/arm/plat-nomadik/gpio.c | ? ?7 -------
> ?1 file changed, 7 deletions(-)
>
> Index: linux-2.6-tip/arch/arm/plat-nomadik/gpio.c
> ===================================================================
> --- linux-2.6-tip.orig/arch/arm/plat-nomadik/gpio.c
> +++ linux-2.6-tip/arch/arm/plat-nomadik/gpio.c
> @@ -541,13 +541,6 @@ static void __nmk_gpio_irq_modify(struct
> ?static void __nmk_gpio_set_wake(struct nmk_gpio_chip *nmk_chip,
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?int gpio, bool on)
> ?{
> -#ifdef CONFIG_ARCH_U8500
This architecture does exist.
> - ? ? ? if (cpu_is_u8500v2()) {
> - ? ? ? ? ? ? ? __nmk_gpio_set_slpm(nmk_chip, gpio - nmk_chip->chip.base,
> - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? on ? NMK_GPIO_SLPM_WAKEUP_ENABLE
> - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?: NMK_GPIO_SLPM_WAKEUP_DISABLE);
> - ? ? ? }
> -#endif
> ? ? ? ?__nmk_gpio_irq_modify(nmk_chip, gpio, WAKE, on);
> ?}
>
srinidhi
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 08/29] arm: tegra: Remove unused bogus irq enable/disable magic
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (6 preceding siblings ...)
2011-03-28 17:12 ` [patch 06/29] arm: nomadik: Remove non existing cpu id check Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 19:00 ` Colin Cross
2011-03-28 17:12 ` [patch 10/29] arm: Use irq flag setter function Thomas Gleixner
` (20 subsequent siblings)
28 siblings, 1 reply; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-tegra.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/765b3dde/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 08/29] arm: tegra: Remove unused bogus irq enable/disable magic
2011-03-28 17:12 ` [patch 08/29] arm: tegra: Remove unused bogus irq enable/disable magic Thomas Gleixner
@ 2011-03-28 19:00 ` Colin Cross
2011-03-28 19:13 ` Thomas Gleixner
0 siblings, 1 reply; 38+ messages in thread
From: Colin Cross @ 2011-03-28 19:00 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Mar 28, 2011 at 10:12 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
> The core code handles thees already.
thees -> these
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: Colin Cross <ccross@android.com>
> Cc: linux-tegra at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> ---
> ?arch/arm/mach-tegra/gpio.c | ? 19 -------------------
> ?1 file changed, 19 deletions(-)
>
> Index: linux-2.6-tip/arch/arm/mach-tegra/gpio.c
> ===================================================================
> --- linux-2.6-tip.orig/arch/arm/mach-tegra/gpio.c
> +++ linux-2.6-tip/arch/arm/mach-tegra/gpio.c
> @@ -275,13 +275,6 @@ void tegra_gpio_resume(void)
> ? ? ? ?}
>
> ? ? ? ?local_irq_restore(flags);
> -
> - ? ? ? for (i = INT_GPIO_BASE; i < (INT_GPIO_BASE + TEGRA_NR_GPIOS); i++) {
> - ? ? ? ? ? ? ? struct irq_desc *desc = irq_to_desc(i);
> - ? ? ? ? ? ? ? if (!desc || (desc->status & IRQ_WAKEUP))
> - ? ? ? ? ? ? ? ? ? ? ? continue;
> - ? ? ? ? ? ? ? enable_irq(i);
> - ? ? ? }
> ?}
>
> ?void tegra_gpio_suspend(void)
> @@ -289,18 +282,6 @@ void tegra_gpio_suspend(void)
> ? ? ? ?unsigned long flags;
> ? ? ? ?int b, p, i;
>
> - ? ? ? for (i = INT_GPIO_BASE; i < (INT_GPIO_BASE + TEGRA_NR_GPIOS); i++) {
> - ? ? ? ? ? ? ? struct irq_desc *desc = irq_to_desc(i);
> - ? ? ? ? ? ? ? if (!desc)
> - ? ? ? ? ? ? ? ? ? ? ? continue;
> - ? ? ? ? ? ? ? if (desc->status & IRQ_WAKEUP) {
> - ? ? ? ? ? ? ? ? ? ? ? int gpio = i - INT_GPIO_BASE;
> - ? ? ? ? ? ? ? ? ? ? ? pr_debug("gpio %d.%d is wakeup\n", gpio/8, gpio&7);
> - ? ? ? ? ? ? ? ? ? ? ? continue;
> - ? ? ? ? ? ? ? }
> - ? ? ? ? ? ? ? disable_irq(i);
> - ? ? ? }
> -
> ? ? ? ?local_irq_save(flags);
> ? ? ? ?for (b = 0; b < ARRAY_SIZE(tegra_gpio_banks); b++) {
> ? ? ? ? ? ? ? ?struct tegra_gpio_bank *bank = &tegra_gpio_banks[b];
>
>
>
This will cause warnings in both the suspend and resume functions as i
is now unused.
Other than that:
Acked-by: Colin Cross <ccross@android.com>
Do you want me to take this through the Tegra tree for 2.6.39-rc1?
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 10/29] arm: Use irq flag setter function
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (7 preceding siblings ...)
2011-03-28 17:12 ` [patch 08/29] arm: tegra: Remove unused bogus irq enable/disable magic Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 09/29] arm: Use genirq lockdep helper to set lock class Thomas Gleixner
` (19 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-use-wrapper.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/8a023075/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 09/29] arm: Use genirq lockdep helper to set lock class
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (8 preceding siblings ...)
2011-03-28 17:12 ` [patch 10/29] arm: Use irq flag setter function Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 12/29] arm: Cleanup irq_desc access Thomas Gleixner
` (18 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: genirq-use-lockdep-helper.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/1d9160a9/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 12/29] arm: Cleanup irq_desc access
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (9 preceding siblings ...)
2011-03-28 17:12 ` [patch 09/29] arm: Use genirq lockdep helper to set lock class Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 11/29] arm: msm: Convert to new irq chip functions Thomas Gleixner
` (17 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-orion.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/eb602c7e/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 11/29] arm: msm: Convert to new irq chip functions
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (10 preceding siblings ...)
2011-03-28 17:12 ` [patch 12/29] arm: Cleanup irq_desc access Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 13/29] arm: plat-samsung: Use proper irq accessor functions Thomas Gleixner
` (16 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-msm-convert-chip-functions.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/e6f3d717/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 13/29] arm: plat-samsung: Use proper irq accessor functions
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (11 preceding siblings ...)
2011-03-28 17:12 ` [patch 11/29] arm: msm: Convert to new irq chip functions Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 14/29] arm: stmp3xxx: Use generic_handle_irq() Thomas Gleixner
` (15 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-samsung.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/77a6a6c8/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 14/29] arm: stmp3xxx: Use generic_handle_irq()
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (12 preceding siblings ...)
2011-03-28 17:12 ` [patch 13/29] arm: plat-samsung: Use proper irq accessor functions Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 15/29] arm: nomadik: Use local irq state Thomas Gleixner
` (14 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-stmp3.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/54b7799a/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 15/29] arm: nomadik: Use local irq state
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (13 preceding siblings ...)
2011-03-28 17:12 ` [patch 14/29] arm: stmp3xxx: Use generic_handle_irq() Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 17/29] arm: msm: Use proper irq accessor functions Thomas Gleixner
` (13 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-nomadik.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/c10229fa/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 17/29] arm: msm: Use proper irq accessor functions
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (14 preceding siblings ...)
2011-03-28 17:12 ` [patch 15/29] arm: nomadik: Use local irq state Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 16/29] arm: plat-omap: Cleanup irq_desc access Thomas Gleixner
` (12 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-msm.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/e99a469f/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 16/29] arm: plat-omap: Cleanup irq_desc access
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (15 preceding siblings ...)
2011-03-28 17:12 ` [patch 17/29] arm: msm: Use proper irq accessor functions Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 18/29] arm: vt8500: Use proper irq accessors Thomas Gleixner
` (11 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-omap.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/5b2a5d55/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 18/29] arm: vt8500: Use proper irq accessors
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (16 preceding siblings ...)
2011-03-28 17:12 ` [patch 16/29] arm: plat-omap: Cleanup irq_desc access Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 19/29] arm: mxc: Use generic_handle_irq() Thomas Gleixner
` (10 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-vt8500.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/35dc00c0/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 19/29] arm: mxc: Use generic_handle_irq()
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (17 preceding siblings ...)
2011-03-28 17:12 ` [patch 18/29] arm: vt8500: Use proper irq accessors Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 20/29] arm: gemini: Use proper irq accessor functions Thomas Gleixner
` (9 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-mxc.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/7db8dc2e/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 20/29] arm: gemini: Use proper irq accessor functions
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (18 preceding siblings ...)
2011-03-28 17:12 ` [patch 19/29] arm: mxc: Use generic_handle_irq() Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 21/29] arm: ep93xx: " Thomas Gleixner
` (8 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-gemini.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/5fb27a1e/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 21/29] arm: ep93xx: Use proper irq accessor functions
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (19 preceding siblings ...)
2011-03-28 17:12 ` [patch 20/29] arm: gemini: Use proper irq accessor functions Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 22/29] arm: davinci: Cleanup irq chip code Thomas Gleixner
` (7 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-ep93xx.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/4eb80972/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 22/29] arm: davinci: Cleanup irq chip code
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (20 preceding siblings ...)
2011-03-28 17:12 ` [patch 21/29] arm: ep93xx: " Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 24/29] arm: gic: Use proper accessor functions Thomas Gleixner
` (6 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-davinci.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/4c98e43d/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 24/29] arm: gic: Use proper accessor functions
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (21 preceding siblings ...)
2011-03-28 17:12 ` [patch 22/29] arm: davinci: Cleanup irq chip code Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 23/29] arm: at91: Cleanup irq chip Thomas Gleixner
` (5 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-gic.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/ca1c09fa/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 23/29] arm: at91: Cleanup irq chip
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (22 preceding siblings ...)
2011-03-28 17:12 ` [patch 24/29] arm: gic: Use proper accessor functions Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-29 8:00 ` Nicolas Ferre
2011-03-28 17:12 ` [patch 25/29] arm: dove: Use proper irq accessor functions Thomas Gleixner
` (4 subsequent siblings)
28 siblings, 1 reply; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-at91.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/218ddcb1/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 23/29] arm: at91: Cleanup irq chip
2011-03-28 17:12 ` [patch 23/29] arm: at91: Cleanup irq chip Thomas Gleixner
@ 2011-03-29 8:00 ` Nicolas Ferre
0 siblings, 0 replies; 38+ messages in thread
From: Nicolas Ferre @ 2011-03-29 8:00 UTC (permalink / raw)
To: linux-arm-kernel
Le 28/03/2011 19:12, Thomas Gleixner :
> Avoid the whole lazy disable dance in the demux handler by providing a
> irq_disable() callback.
>
> Use the proper accessor functions and tidy up gpio_irq_handler()
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Seems ok.
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
> arch/arm/mach-at91/gpio.c | 31 +++++++++----------------------
> 1 file changed, 9 insertions(+), 22 deletions(-)
>
> Index: linux-2.6-tip/arch/arm/mach-at91/gpio.c
> ===================================================================
> --- linux-2.6-tip.orig/arch/arm/mach-at91/gpio.c
> +++ linux-2.6-tip/arch/arm/mach-at91/gpio.c
> @@ -375,6 +375,7 @@ static int gpio_irq_type(struct irq_data
>
> static struct irq_chip gpio_irqchip = {
> .name = "GPIO",
> + .irq_disable = gpio_irq_mask,
> .irq_mask = gpio_irq_mask,
> .irq_unmask = gpio_irq_unmask,
> .irq_set_type = gpio_irq_type,
> @@ -384,16 +385,14 @@ static struct irq_chip gpio_irqchip = {
> static void gpio_irq_handler(unsigned irq, struct irq_desc *desc)
> {
> unsigned pin;
> - struct irq_desc *gpio;
> - struct at91_gpio_chip *at91_gpio;
> - void __iomem *pio;
> + struct irq_data *idata = irq_desc_get_irq_data(desc);
> + struct irq_chip *chip = irq_data_get_irq_chip(idata);
> + struct at91_gpio_chip *at91_gpio = irq_data_get_irq_chip_data(idata);
> + void __iomem *pio = at91_gpio->regbase;
> u32 isr;
>
> - at91_gpio = get_irq_chip_data(irq);
> - pio = at91_gpio->regbase;
> -
> /* temporarily mask (level sensitive) parent IRQ */
> - desc->irq_data.chip->irq_ack(&desc->irq_data);
> + chip->irq_ack(idata);
> for (;;) {
> /* Reading ISR acks pending (edge triggered) GPIO interrupts.
> * When there none are pending, we're finished unless we need
> @@ -409,27 +408,15 @@ static void gpio_irq_handler(unsigned ir
> }
>
> pin = at91_gpio->chip.base;
> - gpio = &irq_desc[pin];
>
> while (isr) {
> - if (isr & 1) {
> - if (unlikely(gpio->depth)) {
> - /*
> - * The core ARM interrupt handler lazily disables IRQs so
> - * another IRQ must be generated before it actually gets
> - * here to be disabled on the GPIO controller.
> - */
> - gpio_irq_mask(irq_get_irq_data(pin));
> - }
> - else
> - generic_handle_irq(pin);
> - }
> + if (isr & 1)
> + generic_handle_irq(pin);
> pin++;
> - gpio++;
> isr >>= 1;
> }
> }
> - desc->irq_data.chip->irq_unmask(&desc->irq_data);
> + chip->irq_unmask(idata);
> /* now it may re-trigger */
> }
>
>
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 25/29] arm: dove: Use proper irq accessor functions
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (23 preceding siblings ...)
2011-03-28 17:12 ` [patch 23/29] arm: at91: Cleanup irq chip Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 26/29] arm: Use generic show_interrupts() Thomas Gleixner
` (3 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-mach-dove.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/b4b0bc0a/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 26/29] arm: Use generic show_interrupts()
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (24 preceding siblings ...)
2011-03-28 17:12 ` [patch 25/29] arm: dove: Use proper irq accessor functions Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:12 ` [patch 29/29] arm: Fold irq_set_chip/irq_set_handler Thomas Gleixner
` (2 subsequent siblings)
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-use-generic-show-interrupts.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/c54c2a06/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 29/29] arm: Fold irq_set_chip/irq_set_handler
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (25 preceding siblings ...)
2011-03-28 17:12 ` [patch 26/29] arm: Use generic show_interrupts() Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-29 7:49 ` Nicolas Ferre
2011-03-28 17:12 ` [patch 28/29] arm: Reorder irq_set_ function calls Thomas Gleixner
2011-03-28 17:13 ` [patch 27/29] arm: Cleanup the irq namespace Thomas Gleixner
28 siblings, 1 reply; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-fold-chip-handler.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/353b45e3/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 29/29] arm: Fold irq_set_chip/irq_set_handler
2011-03-28 17:12 ` [patch 29/29] arm: Fold irq_set_chip/irq_set_handler Thomas Gleixner
@ 2011-03-29 7:49 ` Nicolas Ferre
0 siblings, 0 replies; 38+ messages in thread
From: Nicolas Ferre @ 2011-03-29 7:49 UTC (permalink / raw)
To: linux-arm-kernel
Le 28/03/2011 19:12, Thomas Gleixner :
> Use irq_set_chip_and_handler() instead. Converted with coccinelle.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
[..]
> arch/arm/mach-at91/gpio.c | 4 ++--
> arch/arm/mach-at91/irq.c | 3 +--
[..]
> Index: linux-2.6-tip/arch/arm/mach-at91/gpio.c
> ===================================================================
> --- linux-2.6-tip.orig/arch/arm/mach-at91/gpio.c
> +++ linux-2.6-tip/arch/arm/mach-at91/gpio.c
> @@ -511,8 +511,8 @@ void __init at91_gpio_irq_setup(void)
> * Can use the "simple" and not "edge" handler since it's
> * shorter, and the AIC handles interrupts sanely.
> */
> - irq_set_chip(pin, &gpio_irqchip);
> - irq_set_handler(pin, handle_simple_irq);
> + irq_set_chip_and_handler(pin, &gpio_irqchip,
> + handle_simple_irq);
> set_irq_flags(pin, IRQF_VALID);
> }
>
> Index: linux-2.6-tip/arch/arm/mach-at91/irq.c
> ===================================================================
> --- linux-2.6-tip.orig/arch/arm/mach-at91/irq.c
> +++ linux-2.6-tip/arch/arm/mach-at91/irq.c
> @@ -143,8 +143,7 @@ void __init at91_aic_init(unsigned int p
> /* Active Low interrupt, with the specified priority */
> at91_sys_write(AT91_AIC_SMR(i), AT91_AIC_SRCTYPE_LOW | priority[i]);
>
> - irq_set_chip(i, &at91_aic_chip);
> - irq_set_handler(i, handle_level_irq);
> + irq_set_chip_and_handler(i, &at91_aic_chip, handle_level_irq);
> set_irq_flags(i, IRQF_VALID | IRQF_PROBE);
>
> /* Perform 8 End Of Interrupt Command to make sure AIC will not Lock out nIRQ */
[..]
Thanks a lot Thomas,
Best regards,
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 28/29] arm: Reorder irq_set_ function calls
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (26 preceding siblings ...)
2011-03-28 17:12 ` [patch 29/29] arm: Fold irq_set_chip/irq_set_handler Thomas Gleixner
@ 2011-03-28 17:12 ` Thomas Gleixner
2011-03-28 17:13 ` [patch 27/29] arm: Cleanup the irq namespace Thomas Gleixner
28 siblings, 0 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:12 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-flip-chip-data-handler.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/7862a4ac/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 27/29] arm: Cleanup the irq namespace
2011-03-28 17:12 [patch 00/29] arm: bug fixes and irq cleanup (v2) for .39 Thomas Gleixner
` (27 preceding siblings ...)
2011-03-28 17:12 ` [patch 28/29] arm: Reorder irq_set_ function calls Thomas Gleixner
@ 2011-03-28 17:13 ` Thomas Gleixner
2011-04-18 17:37 ` H Hartley Sweeten
2011-04-19 9:49 ` Uwe Kleine-König
28 siblings, 2 replies; 38+ messages in thread
From: Thomas Gleixner @ 2011-03-28 17:13 UTC (permalink / raw)
To: linux-arm-kernel
An embedded and charset-unspecified text was scrubbed...
Name: arm-genirq-namespace-cleanup.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110328/6f9bbd27/attachment.ksh>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 27/29] arm: Cleanup the irq namespace
2011-03-28 17:13 ` [patch 27/29] arm: Cleanup the irq namespace Thomas Gleixner
@ 2011-04-18 17:37 ` H Hartley Sweeten
2011-04-19 9:49 ` Uwe Kleine-König
1 sibling, 0 replies; 38+ messages in thread
From: H Hartley Sweeten @ 2011-04-18 17:37 UTC (permalink / raw)
To: linux-arm-kernel
On Monday, March 28, 2011 10:13 AM, Thomas Gleixner wrote:
>
> Convert to the new function names. Automated with coccinelle.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> arch/arm/mach-ep93xx/gpio.c | 31 +++++++++++------
>
> Index: linux-2.6-tip/arch/arm/mach-ep93xx/gpio.c
> ===================================================================
> --- linux-2.6-tip.orig/arch/arm/mach-ep93xx/gpio.c
> +++ linux-2.6-tip/arch/arm/mach-ep93xx/gpio.c
> @@ -231,20 +231,29 @@ void __init ep93xx_gpio_init_irq(void)
>
> for (gpio_irq = gpio_to_irq(0);
> gpio_irq <= gpio_to_irq(EP93XX_GPIO_LINE_MAX_IRQ); ++gpio_irq) {
> - set_irq_chip(gpio_irq, &ep93xx_gpio_irq_chip);
> - set_irq_handler(gpio_irq, handle_level_irq);
> + irq_set_chip(gpio_irq, &ep93xx_gpio_irq_chip);
> + irq_set_handler(gpio_irq, handle_level_irq);
> set_irq_flags(gpio_irq, IRQF_VALID);
> }
>
> - set_irq_chained_handler(IRQ_EP93XX_GPIO_AB, ep93xx_gpio_ab_irq_handler);
> - set_irq_chained_handler(IRQ_EP93XX_GPIO0MUX, ep93xx_gpio_f_irq_handler);
> - set_irq_chained_handler(IRQ_EP93XX_GPIO1MUX, ep93xx_gpio_f_irq_handler);
> - set_irq_chained_handler(IRQ_EP93XX_GPIO2MUX, ep93xx_gpio_f_irq_handler);
> - set_irq_chained_handler(IRQ_EP93XX_GPIO3MUX, ep93xx_gpio_f_irq_handler);
> - set_irq_chained_handler(IRQ_EP93XX_GPIO4MUX, ep93xx_gpio_f_irq_handler);
> - set_irq_chained_handler(IRQ_EP93XX_GPIO5MUX, ep93xx_gpio_f_irq_handler);
> - set_irq_chained_handler(IRQ_EP93XX_GPIO6MUX, ep93xx_gpio_f_irq_handler);
> - set_irq_chained_handler(IRQ_EP93XX_GPIO7MUX, ep93xx_gpio_f_irq_handler);
> + irq_set_chained_handler(IRQ_EP93XX_GPIO_AB,
> + ep93xx_gpio_ab_irq_handler);
> + irq_set_chained_handler(IRQ_EP93XX_GPIO0MUX,
> + ep93xx_gpio_f_irq_handler);
> + irq_set_chained_handler(IRQ_EP93XX_GPIO1MUX,
> + ep93xx_gpio_f_irq_handler);
> + irq_set_chained_handler(IRQ_EP93XX_GPIO2MUX,
> + ep93xx_gpio_f_irq_handler);
> + irq_set_chained_handler(IRQ_EP93XX_GPIO3MUX,
> + ep93xx_gpio_f_irq_handler);
> + irq_set_chained_handler(IRQ_EP93XX_GPIO4MUX,
> + ep93xx_gpio_f_irq_handler);
> + irq_set_chained_handler(IRQ_EP93XX_GPIO5MUX,
> + ep93xx_gpio_f_irq_handler);
> + irq_set_chained_handler(IRQ_EP93XX_GPIO6MUX,
> + ep93xx_gpio_f_irq_handler);
> + irq_set_chained_handler(IRQ_EP93XX_GPIO7MUX,
> + ep93xx_gpio_f_irq_handler);
> }
I would suggest keeping these as one line each just for readability.
Other than that:
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
^ permalink raw reply [flat|nested] 38+ messages in thread
* [patch 27/29] arm: Cleanup the irq namespace
2011-03-28 17:13 ` [patch 27/29] arm: Cleanup the irq namespace Thomas Gleixner
2011-04-18 17:37 ` H Hartley Sweeten
@ 2011-04-19 9:49 ` Uwe Kleine-König
1 sibling, 0 replies; 38+ messages in thread
From: Uwe Kleine-König @ 2011-04-19 9:49 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Mar 28, 2011 at 05:12:36PM -0000, Thomas Gleixner wrote:
> Convert to the new function names. Automated with coccinelle.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> [...]
> arch/arm/plat-mxc/3ds_debugboard.c | 8 ++--
> arch/arm/plat-mxc/avic.c | 4 +-
> arch/arm/plat-mxc/gpio.c | 24 +++++++------
> arch/arm/plat-mxc/irq-common.c | 4 +-
> arch/arm/plat-mxc/tzic.c | 4 +-
Acked-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
for your changes to arch/arm/plat-mxc.
Thanks
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 38+ messages in thread