RFC Remove at91 workaround from handle_IRQ
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] Remove at91 workaround from handle_IRQ
Hi Will,
Le 05/31/2012 09:38 AM, Will Deacon a ?crit :
Quoted 6 lines
Hello,
This is a couple of patches that I wrote quickly to try and remove the
irq_finishhook fromhandle_IRQon ARM. Currently, the hook is only used by at91 in order to issue an EOI when usinglevel_irqflow control.
Quoted 8 lines
This patch moves the at91
irq_chipto fasteoi flow control, removing the need for the additional hook. Since I (a) don't know anything about at91 (the TRM I found for the IRQ controller is only a few pages long) and (b) don't have a platform on which to test, this is very much an RFC series.All comments welcome.
Will
I have sent a patch with the same purpose a few days ago:
http://comments.gmane.org/gmane.linux.ports.arm.kernel/169371
The content of our patches is really close:
- I missed the remove of irq_finish macro in arch/arm/irq/kernel.c
- AIC don't care about the value written into AT91_AIC_EOICR, I don't know if it's better to write 0 or a precise value as you did.
- I didn't remove irq_ack but you're right it's no more useful.
- You missed gpio part, it has to use fasteoi flow control also.
I have also to remove some comments so I can send a second version and add what I missed the first time if you have no objections.
Quoted 4 lines
Cc Arnd Bergmann<[email protected]>Cc Jean-Christophe Plagniol-Villard<[email protected]>Cc Nicolas Ferre<[email protected]>
Quoted 9 lines
Will Deacon (2):
ARM: at91: use EOI flow control for interrupt handling
ARM: irq: remove unusedirq_finishhook from core interrupt handlingarch/arm/kernel/irq.c | 10 ---------- arch/arm/mach-at91/include/mach/irqs.h | 8 -------- arch/arm/mach-at91/irq.c | 12 +++++++++--- 3 files changed, 9 insertions(+), 21 deletions(-)
Regards
Ludovic