This series of patches introduces support for interrupt-redirect controllers, and this hardware feature will be supported on 3C6000 for the first time change log: v0->v1: 1.Rename the model names in the document. 2.Adjust the code format. 3.Remove architecture - specific prefixes. 4.Refactor the initialization logic, and IR driver no longer set AVEC_ENABLE. 5.Enhance compatibility under certain configurations. Tianyang Zhang (2): Docs/LoongArch: Add Advanced Extended-Redirect IRQ model description irq/irq-loongarch-ir:Add Redirect irqchip support .../arch/loongarch/irq-chip-model.rst | 38 ++ .../zh_CN/arch/loongarch/irq-chip-model.rst | 37 ++ arch/loongarch/include/asm/cpu-features.h | 1 + arch/loongarch/include/asm/cpu.h | 2 + arch/loongarch/include/asm/loongarch.h | 6 + arch/loongarch/kernel/cpu-probe.c | 3 + drivers/irqchip/Makefile | 2 +- drivers/irqchip/irq-loongarch-avec.c | 21 +- drivers/irqchip/irq-loongarch-ir.c | 561 ++++++++++++++++++ drivers/irqchip/irq-loongson.h | 12 + include/linux/cpuhotplug.h | 1 + 11 files changed, 670 insertions(+), 14 deletions(-) create mode 100644 drivers/irqchip/irq-loongarch-ir.c -- 2.43.0