linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/6] MIPS: Handle CPU IRQ in domain's way
@ 2020-03-26  6:16 Jiaxun Yang
  2020-03-26  6:16 ` [RFC PATCH 1/6] MIPS: irq_cpu: Add a helper to map virq for CPU IRQ Jiaxun Yang
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Jiaxun Yang @ 2020-03-26  6:16 UTC (permalink / raw)
  To: linux-mips; +Cc: tsbogend, maz, chenhc, Jiaxun Yang

In [1], we discussed about why MIPS CPU IRQ doesn't fit simple IRQ domain.
I felt it's time to remove this barrier and "modernize" the whole flow.

This set is simply a proof of concept of removing the whole MIPS_CPU_IRQ_BASE
and use the irq_domain's way.

Currently only Loongson64 and ip22 are adapted for testing purpose,
if everybody is happy with it, then I'll take a look at more platforms.

Btw: Thomas, are you still willing to drop some platforms in 5.8?

[1]: https://patchwork.kernel.org/patch/11456911/

Jiaxun Yang (6):
  MIPS: irq_cpu: Add a helper to map virq for CPU IRQ
  irqchip: mips-cpu: Allocate fwnode for non-DT platforms
  irqchip: mips-cpu: Convert to simple domain
  MIPS: kernel: Use mips_cpu_map_virq helper
  MIPS: loongson64: Use mips_cpu_map_virq helper
  MIPS: ip22: Use mips_cpu_map_virq helper

 arch/mips/include/asm/irq_cpu.h      | 19 +++++++++++++++++-
 arch/mips/include/asm/sgi/ip22.h     | 30 ++++++++++++++--------------
 arch/mips/kernel/cevt-r4k.c          |  2 +-
 arch/mips/kernel/perf_event_mipsxx.c |  3 ++-
 arch/mips/kernel/rtlx-mt.c           |  7 +++++--
 arch/mips/loongson64/smp.c           |  6 ++++--
 arch/mips/sgi-ip22/ip22-int.c        | 14 ++++++++-----
 drivers/irqchip/irq-mips-cpu.c       | 22 ++++++++++++++------
 8 files changed, 70 insertions(+), 33 deletions(-)

-- 
2.26.0.rc2



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

end of thread, other threads:[~2020-03-26 15:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26  6:16 [RFC PATCH 0/6] MIPS: Handle CPU IRQ in domain's way Jiaxun Yang
2020-03-26  6:16 ` [RFC PATCH 1/6] MIPS: irq_cpu: Add a helper to map virq for CPU IRQ Jiaxun Yang
2020-03-26  6:16 ` [PATCH 1/2] MIPS: Kill MIPS_GIC_IRQ_BASE Jiaxun Yang
2020-03-26  6:16 ` [RFC PATCH 2/6] irqchip: mips-cpu: Allocate fwnode for non-DT platforms Jiaxun Yang
2020-03-26  6:17 ` [PATCH 2/2] MIPS: Kill RM7K & RM9K IRQ Code Jiaxun Yang
2020-03-26  6:17 ` [RFC PATCH 3/6] irqchip: mips-cpu: Convert to simple domain Jiaxun Yang
2020-03-26  6:17 ` [RFC PATCH 4/6] MIPS: kernel: Use mips_cpu_map_virq helper Jiaxun Yang
2020-03-26  6:17 ` [RFC PATCH 5/6] MIPS: loongson64: " Jiaxun Yang
2020-03-26  6:20 ` [RFC PATCH 6/6] MIPS: ip22: " Jiaxun Yang
2020-03-26 15:38 ` [RFC PATCH 0/6] MIPS: Handle CPU IRQ in domain's way Thomas Bogendoerfer
2020-03-26 15:46   ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).