Re: [PATCH v2 11/31] arm64: IRQ handling

2012-08-14 Thread Aaro Koskinen
Hi, On Tue, Aug 14, 2012 at 06:52:12PM +0100, Catalin Marinas wrote: > +void handle_IRQ(unsigned int irq, struct pt_regs *regs) > +{ > + struct pt_regs *old_regs = set_irq_regs(regs); > + > + irq_enter(); > + > + /* > + * Some hardware gives randomly wrong interrupts. Rather > +

[PATCH v2 11/31] arm64: IRQ handling

2012-08-14 Thread Catalin Marinas
From: Marc Zyngier This patch adds the support for IRQ handling. The actual interrupt controller will be part of a separate patch (going into drivers/irqchip/). Signed-off-by: Marc Zyngier Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- arch/arm64/include/asm/hardirq.h | 47

[PATCH v2 11/31] arm64: IRQ handling

2012-08-14 Thread Catalin Marinas
From: Marc Zyngier marc.zyng...@arm.com This patch adds the support for IRQ handling. The actual interrupt controller will be part of a separate patch (going into drivers/irqchip/). Signed-off-by: Marc Zyngier marc.zyng...@arm.com Signed-off-by: Will Deacon will.dea...@arm.com Signed-off-by:

Re: [PATCH v2 11/31] arm64: IRQ handling

2012-08-14 Thread Aaro Koskinen
Hi, On Tue, Aug 14, 2012 at 06:52:12PM +0100, Catalin Marinas wrote: +void handle_IRQ(unsigned int irq, struct pt_regs *regs) +{ + struct pt_regs *old_regs = set_irq_regs(regs); + + irq_enter(); + + /* + * Some hardware gives randomly wrong interrupts. Rather + *