Skip to content

m68k: virt: Switch to generic goldfish PIC driver

Kuan-Wei Chiu linux-m68k lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6irqchip/goldfish-pic: Use gf_ioread32/gf_iowrite32 for MMIO accessdrivers/irqchip/irq-goldfish-pic.c+16 -20 replies
2/6irqchip/goldfish-pic: Use for_each_set_bit() to iterate pending IRQdrivers/irqchip/irq-goldfish-pic.c+4 -50 replies
3/6irqchip/goldfish-pic: Allow selecting CONFIG_GOLDFISH_PIC on other architecturesdrivers/irqchip/Kconfig drivers/irqchip/irq-goldfish-pic.c+2 -20 replies
4/6irqchip/goldfish-pic: Add goldfish_pic_init() for non DT platformsMAINTAINERS drivers/irqchip/irq-goldfish-pic.c include/linux/irqchip/irq-goldfish-pic.h+67 -330 replies
5/6m68k/irq: Add empty irq_eoi callback to auto/user IRQ chipsarch/m68k/kernel/ints.c+6 -00 replies
6/6m68k: virt: Switch to generic goldfish-pic driverarch/m68k/Kconfig.machine arch/m68k/virt/ints.c+10 -800 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] m68k: virt: Switch to generic goldfish PIC driver

Convert the m68k virt machine to use the generic goldfish PIC irqchip driver instead of maintaining a duplicate, platform-specific interrupt controller implementation in arch/m68k/virt/.

The whole patchset is tested on qemu-system-m68k -M virt and verified that interrupts across multiple goldfish PIC instances fire and increment properly in /proc/interrupts.
---
P.S. From a quick search on lore, Miodrag has been inactive on LKML for a while. His last appearance was just handing over the goldfish-rtc driver 6 years ago, and prior to that it goes all the way back to 2017.

With tglx's recent call for irqchip reviews in mind, I actually use and care about goldfish devices on qemu for both linux and u-boot, so I'm happy to help review future patches for this driver. I can follow up with a MAINTAINERS patch if that sounds good.

Kuan-Wei Chiu (6):
irqchip/goldfish-pic: Use gf_ioread32/gf_iowrite32 for MMIO access irqchip/goldfish-pic: Use for_each_set_bit() to iterate pending IRQ irqchip/goldfish-pic: Allow selecting CONFIG_GOLDFISH_PIC on other
architectures
irqchip/goldfish-pic: Add goldfish_pic_init() for non DT platforms m68k/irq: Add empty irq_eoi callback to auto/user IRQ chips
m68k: virt: Switch to generic goldfish-pic driver

 MAINTAINERS                              |   1 +
 arch/m68k/Kconfig.machine                |   1 +
 arch/m68k/kernel/ints.c                  |   6 ++
 arch/m68k/virt/ints.c                    |  89 ++----------------
 drivers/irqchip/Kconfig                  |   2 +-
 drivers/irqchip/irq-goldfish-pic.c       | 113 +++++++++++++++--------
 include/linux/irqchip/irq-goldfish-pic.h |  15 +++
 7 files changed, 105 insertions(+), 122 deletions(-)
 create mode 100644 include/linux/irqchip/irq-goldfish-pic.h
Signature · 1 line
2.55.0.979.g7e5102b832-goog