mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/7] m68k: virt: Switch to generic goldfish PIC driver
@ 2026-11-26 18:51 Kuan-Wei Chiu
  2026-11-26 18:51 ` [PATCH v2 1/7] irqchip/goldfish-pic: Use gf_ioread32/gf_iowrite32 for MMIO access Kuan-Wei Chiu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Kuan-Wei Chiu @ 2026-11-26 18:51 UTC (permalink / raw)
  To: geert, tglx
  Cc: radu, marscheng, eleanor15x, jserv, linux-kernel, linux-m68k,
	Kuan-Wei Chiu

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.
---
Changes in v2:
- Add depends on HAS_IOMEM
- Add patch 7 to take over maintainership

Link to v1: https://lore.kernel.org/all/20260908094016.1997918-1-visitorckw@gmail.com/

Kuan-Wei Chiu (7):
  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: Update maintainer for goldfish PIC driver

 MAINTAINERS                              |   5 +-
 arch/m68k/Kconfig.machine                |   1 +
 arch/m68k/kernel/ints.c                  |   6 ++
 arch/m68k/virt/ints.c                    |  89 ++----------------
 drivers/irqchip/Kconfig                  |   3 +-
 drivers/irqchip/irq-goldfish-pic.c       | 113 +++++++++++++++--------
 include/linux/irqchip/irq-goldfish-pic.h |  15 +++
 7 files changed, 108 insertions(+), 124 deletions(-)
 create mode 100644 include/linux/irqchip/irq-goldfish-pic.h

-- 
2.56.1.839.g22a8290db9-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-26 18:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 18:51 [PATCH v2 0/7] m68k: virt: Switch to generic goldfish PIC driver Kuan-Wei Chiu
2026-11-26 18:51 ` [PATCH v2 1/7] irqchip/goldfish-pic: Use gf_ioread32/gf_iowrite32 for MMIO access Kuan-Wei Chiu
2026-11-26 18:51 ` [PATCH v2 2/7] irqchip/goldfish-pic: Use for_each_set_bit() to iterate pending IRQ Kuan-Wei Chiu
2026-11-26 18:51 ` [PATCH v2 3/7] irqchip/goldfish-pic: Allow selecting CONFIG_GOLDFISH_PIC on other architectures Kuan-Wei Chiu
2026-11-26 18:51 ` [PATCH v2 4/7] irqchip/goldfish-pic: Add goldfish_pic_init() for non DT platforms Kuan-Wei Chiu
2026-11-26 18:51 ` [PATCH v2 5/7] m68k/irq: Add empty irq_eoi callback to auto/user IRQ chips Kuan-Wei Chiu
2026-11-26 18:51 ` [PATCH v2 6/7] m68k: virt: Switch to generic goldfish-pic driver Kuan-Wei Chiu
2026-11-26 18:51 ` [PATCH v2 7/7] MAINTAINERS: Update maintainer for goldfish PIC driver Kuan-Wei Chiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®