Skip to contentSkip to conversation

pxa: correct icip irq handling

PATCH New Dmitry Eremin-Solenikov 2 participants 2 messages May 28, 2011 – May 31, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pxa: correct icip irq handling

IRQ handling on PXA25x is broken if PXA_HAVE_ISA_IRQS is enabled (then all PXA irqs are shifted to start from 16, but icip_handle_irq doesn't work in this case. Use PXA_IRQ to correct IRQ numbers in icip_handle_irq.

---
 arch/arm/mach-pxa/irq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-pxa/irq.c +1 -1
index 858e287..d9cab3b 100644
@@ -141,7 +141,7 @@ asmlinkage void __exception_irq_entry icip_handle_irq(struct pt_regs *regs)
 		if (mask == 0)
 			break;
 
-		asm_do_IRQ(fls(mask) - 1, regs);
+		asm_do_IRQ(PXA_IRQ(fls(mask) - 1), regs);
 	} while (1);
 }
 
Signature · 1 line
1.7.4.4
Applied
#1 lore raw

PATCH 1/1 pxa: correct icip irq handling

Quoted 5 lines · Dmitry Eremin-Solenikov

IRQ handling on PXA25x is broken if PXA_HAVE_ISA_IRQS is enabled (then all PXA irqs are shifted to start from 16, but icip_handle_irq doesn't work in this case. Use PXA_IRQ to correct IRQ numbers in icip_handle_irq.

Applied. Unfortunately, Russell didn't seem to have pulled, so we may need further address the issues he pointed out.

Quoted 21 lines

---
?arch/arm/mach-pxa/irq.c | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)

arch/arm/mach-pxa/irq.c +1 -2
index 858e287..d9cab3b 100644
@@ -141,7 +141,7 @@ asmlinkage void __exception_irq_entry icip_handle_irq(struct pt_regs *regs)
 ? ? ? ? ? ? ? ?if (mask == 0)
 ? ? ? ? ? ? ? ? ? ? ? ?break;
 
- ? ? ? ? ? ? ? asm_do_IRQ(fls(mask) - 1, regs);
+ ? ? ? ? ? ? ? asm_do_IRQ(PXA_IRQ(fls(mask) - 1), regs);
 ? ? ? ?} while (1);
 ?}
 
--

1.7.4.4