irqchip/thead-c900-aclint-sswi: Generalize aclint-sswi driver and add MIPS P800 support
authorVladimir Kondratiev <vladimir.kondratiev@mobileye.com>
Thu, 12 Jun 2025 14:39:08 +0000 (17:39 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 26 Jun 2025 14:06:40 +0000 (16:06 +0200)
commitdf0f030ee7e444c55341f4210124115878284125
tree91b0a95c122ad4822b38e2a9947b9badf6808d3c
parented651979bb780270ae14b35ca6bae68f658eddad
irqchip/thead-c900-aclint-sswi: Generalize aclint-sswi driver and add MIPS P800 support

Refactor the Thead specific implementation of the ACLINT-SSWI irqchip:

 - Rename the source file and related details to reflect the generic nature
   of the driver

 - Factor out the generic code that serves both Thead and MIPS variants.
   This generic part is compliant with the RISC-V draft spec [1]

 - Provide generic and Thead specific initialization functions

Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250612143911.3224046-5-vladimir.kondratiev@mobileye.com
Link: https://github.com/riscvarchive/riscv-aclint
drivers/irqchip/Kconfig
drivers/irqchip/Makefile
drivers/irqchip/irq-aclint-sswi.c [new file with mode: 0644]
drivers/irqchip/irq-thead-c900-aclint-sswi.c [deleted file]
include/linux/cpuhotplug.h