]> www.infradead.org Git - users/jedix/linux-maple.git/commit
LoongArch: Architectural preparation for AVEC irqchip
authorHuacai Chen <chenhuacai@loongson.cn>
Fri, 23 Aug 2024 10:39:33 +0000 (18:39 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 Aug 2024 18:40:27 +0000 (20:40 +0200)
commit843ed9317be1d0c3f4245418644fc7e55f465419
tree0f10a3773ae768b72e15e255ad503d933ac2cf66
parent06fac729a6d54e2c6650b38734f84383aafb3acc
LoongArch: Architectural preparation for AVEC irqchip

Add architectural preparation for AVEC irqchip, including:
1. CPUCFG feature bits definition for AVEC;
2. Detection of AVEC irqchip in cpu_probe();
3. New IPI type definition (IPI_CLEAR_VECTOR) for AVEC;
4. Provide arch_probe_nr_irqs() for large NR_IRQS;
5. Other related changes about the number of interrupts.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Tianyang Zhang <zhangtianyang@loongson.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240823103936.25092-2-zhangtianyang@loongson.cn
arch/loongarch/include/asm/cpu-features.h
arch/loongarch/include/asm/cpu.h
arch/loongarch/include/asm/hardirq.h
arch/loongarch/include/asm/irq.h
arch/loongarch/include/asm/loongarch.h
arch/loongarch/include/asm/smp.h
arch/loongarch/kernel/cpu-probe.c
arch/loongarch/kernel/irq.c