linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/5] MIPS: Loongson64: Fix and improve irqchip drivers
@ 2020-07-30  8:51 Huacai Chen
  2020-07-30  8:51 ` [PATCH V2 1/5] dt-bindings: interrupt-controller: Update Loongson HTVEC description Huacai Chen
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Huacai Chen @ 2020-07-30  8:51 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Thomas Gleixner, Jason Cooper, Marc Zyngier,
	Rob Herring
  Cc: linux-mips, Fuxin Zhang, Huacai Chen, Jiaxun Yang, Huacai Chen

Modernized Loongson64 platforms use a hierarchical interrupt controller
architecture. For LS7A PCH, the hierarchy (from inside to outside) is
CPUINTC --> LIOINTC --> HTVEC --> PCHPIC/PCHMSI. However, the current
status is that there are several bugs in the LIOINTC and PCHPIC drivers,
and the HTVEC driver should be improved to support 8 groups of vectors.
Loonson64C support only 4 groups of HT vectors, and Loongson64G support
as many as 8 groups, so the .dts file and dt-bindings description should
also be updated.

V1 -> V2:
1, Add a cover letter.
2, Add Reviewed-by and Tested-by tags.
3, Improve commit messages by adding Fixes: tags.

Huacai Chen(5):
 dt-bindings: interrupt-controller: Update Loongson HTVEC description
 MIPS: DTS: Fix number of msi vectors for Loongson64G
 irqchip: loongson-liointc: Fix misuse of gc->mask_cache
 irqchip: loongson-htvec: Support 8 groups of HT vectors
 irqchip: loongson-pch-pic: Fix the misused irq flow handler

Signed-off-by: Huacai Chen <chenhc@lemote.com>
---
 .../interrupt-controller/loongson,htvec.yaml       |  4 ++--
 .../boot/dts/loongson/loongson64g_4core_ls7a.dts   |  8 ++++++--
 drivers/irqchip/irq-loongson-htvec.c               | 22 ++++++++++------------
 drivers/irqchip/irq-loongson-liointc.c             | 10 +++++-----
 drivers/irqchip/irq-loongson-pch-pic.c             | 15 ++++-----------
 5 files changed, 27 insertions(+), 32 deletions(-)
--
2.7.0

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

end of thread, other threads:[~2020-07-30 20:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-30  8:51 [PATCH V2 0/5] MIPS: Loongson64: Fix and improve irqchip drivers Huacai Chen
2020-07-30  8:51 ` [PATCH V2 1/5] dt-bindings: interrupt-controller: Update Loongson HTVEC description Huacai Chen
2020-07-30  8:51 ` [PATCH V2 2/5] MIPS: DTS: Fix number of msi vectors for Loongson64G Huacai Chen
2020-07-30 20:19   ` Thomas Bogendoerfer
2020-07-30  8:51 ` [PATCH V2 3/5] irqchip: loongson-liointc: Fix misuse of gc->mask_cache Huacai Chen
2020-07-30  8:51 ` [PATCH V2 4/5] irqchip: loongson-htvec: Support 8 groups of HT vectors Huacai Chen
2020-07-30  8:51 ` [PATCH V2 5/5] irqchip: loongson-pch-pic: Fix the misused irq flow handler Huacai Chen
2020-07-30 12:06 ` [PATCH V2 0/5] MIPS: Loongson64: Fix and improve irqchip drivers Marc Zyngier
2020-07-30 12:31   ` Thomas Bogendoerfer

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).