Skip to content

MIPS: Loongson64: Fix and improve irqchip drivers

Huacai Chen linux-mips stable 2 versions – Applied

Status from this message: Applied to irq/irqchip-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 3 repliesApplied
  2. v15 patches 6 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5dt-bindings: interrupt-controller: Update Loongson HTVEC descriptionDocumentation/devicetree/bindings/interrupt-controller/loongson,htvec.yaml+2 -20 replies
2/5MIPS: DTS: Fix number of msi vectors for Loongson64Garch/mips/boot/dts/loongson/loongson64g_4core_ls7a.dts+6 -21 reply
3/5irqchip: loongson-liointc: Fix misuse of gc->mask_cachedrivers/irqchip/irq-loongson-liointc.c+5 -50 replies
4/5irqchip: loongson-htvec: Support 8 groups of HT vectorsdrivers/irqchip/irq-loongson-htvec.c+10 -120 replies
5/5irqchip: loongson-pch-pic: Fix the misused irq flow handlerdrivers/irqchip/irq-loongson-pch-pic.c+4 -110 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchJiaxun Yang
1/5R-b
2/5
3/5R-b
4/5R-b
5/5T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/5] MIPS: Loongson64: Fix and improve irqchip drivers

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

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