[PATCH 0/5] genirq: Get rid of handle_percpu_devid_fasteoi_ipi()

Valentin Schneider valentin.schneider at arm.com
Mon Nov 9 04:41:16 EST 2020


Hi folks,

While hacking on the GIC flow handlers, I grew increasingly suspicious of 
handle_percpu_devid_fasteoi_ipi() and thus did a bit of digging. AFAICT it isn't
actually needed and handle_percpu_devid_irq() would suffice. Argumentation is in
patch 1.

Tested on my Juno (GICv2) and eMAG (GICv3).

Whichever way this goes I owe Marc some pastries, given I either
- Missed something and created some noise
- Turned my brain off back when reviewing this flow handler
so maybe just start with pinging me what you want...

Valentin Schneider (5):
  irqchip/gic, gic-v3: Make SGIs use handle_percpu_devid_irq()
  irqchip/armada-370-xp: Make IPIs use handle_percpu_devid_irq()
  irqchip/bcm2836: Make IPIs use handle_percpu_devid_irq()
  irqchip/hip04: Make IPIs use handle_percpu_devid_irq()
  Revert "genirq: Add fasteoi IPI flow"

 drivers/irqchip/irq-armada-370-xp.c |  2 +-
 drivers/irqchip/irq-bcm2836.c       |  2 +-
 drivers/irqchip/irq-gic-v3.c        |  6 ------
 drivers/irqchip/irq-gic.c           |  8 +-------
 drivers/irqchip/irq-hip04.c         |  6 +-----
 include/linux/irq.h                 |  1 -
 kernel/irq/chip.c                   | 27 ---------------------------
 7 files changed, 4 insertions(+), 48 deletions(-)

--
2.27.0




More information about the linux-arm-kernel mailing list