mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
f8bba143da
On RISC-V platforms, the RINTC structures should be probed before any other interrupt controller structures and IMSIC before APLIC. This order is established by using MADT sub table types which are ordered in the incremental order from the RINTC. So, add the architecture function for RISC-V to reorder the interrupt controller probing as per the hierarchy like below. ACPI_MADT_TYPE_RINTC = 24, ACPI_MADT_TYPE_IMSIC = 25, ACPI_MADT_TYPE_APLIC = 26, ACPI_MADT_TYPE_PLIC = 27 This means processing all RINTC structures (in the order of appearance in MADT), followed by IMSIC strucutre and then all APLIC/PLIC structures. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Tested-by: Björn Töpel <bjorn@rivosinc.com> Link: https://patch.msgid.link/20240812005929.113499-11-sunilvl@ventanamicro.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
5 lines
159 B
Makefile
5 lines
159 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-y += rhct.o init.o irq.o
|
|
obj-$(CONFIG_ACPI_PROCESSOR_IDLE) += cpuidle.o
|
|
obj-$(CONFIG_ACPI_CPPC_LIB) += cppc.o
|