[lkml]   [2021]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/9] irqchip: Add LoongArch-related irqchip drivers
LoongArch is a new RISC ISA, which is a bit like MIPS or RISC-V.
LoongArch includes a reduced 32-bit version (LA32R), a standard 32-bit
version (LA32S) and a 64-bit version (LA64). LoongArch use ACPI as its
boot protocol LoongArch-specific interrupt controllers (similar to APIC)
are already added in the next revision of ACPI Specification (current
revision is 6.4).

This patchset adds some irqchip drivers for LoongArch, it is preparing
to add LoongArch support in mainline kernel, we can see a snapshot here:

Cross-compile tool chain to build kernel:

Loongson and LoongArch documentations:

LoongArch-specific interrupt controllers:

Huacai Chen and Chen Zhu(9):
irqchip: Adjust Kconfig for Loongson.
irqchip/loongson-pch-pic: Improve edge triggered interrupt support.
irqchip/loongson-pch-pic: Add ACPI init support.
irqchip/loongson-pch-msi: Add ACPI init support.
irqchip/loongson-htvec: Add ACPI init support.
irqchip/loongson-liointc: Add ACPI init support.
irqchip: Add LoongArch CPU interrupt controller support.
irqchip: Add Loongson Extended I/O interrupt controller.
irqchip: Add Loongson PCH LPC controller support.

Signed-off-by: Huacai Chen <>
Signed-off-by: Chen Zhu <>
drivers/irqchip/Kconfig | 37 +++-
drivers/irqchip/Makefile | 3 +
drivers/irqchip/irq-loongarch-cpu.c | 87 ++++++++++
drivers/irqchip/irq-loongson-eiointc.c | 308 +++++++++++++++++++++++++++++++++
drivers/irqchip/irq-loongson-htvec.c | 102 ++++++++++-
drivers/irqchip/irq-loongson-liointc.c | 140 ++++++++++++++-
drivers/irqchip/irq-loongson-pch-lpc.c | 204 ++++++++++++++++++++++
drivers/irqchip/irq-loongson-pch-msi.c | 69 +++++++-
drivers/irqchip/irq-loongson-pch-pic.c | 139 ++++++++++++++-
include/linux/cpuhotplug.h | 1 +
10 files changed, 1069 insertions(+), 21 deletions(-)
create mode 100644 drivers/irqchip/irq-loongarch-cpu.c
create mode 100644 drivers/irqchip/irq-loongson-eiointc.c
create mode 100644 drivers/irqchip/irq-loongson-pch-lpc.c

 \ /
  Last update: 2021-07-06 05:09    [W:1.871 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site