ARM: SDEI: allow sdei initialization even no APCI support
Subsystems (2)
PATCH 1/1 ARM: SDEI: allow sdei initialization even no APCI support
The initialization of SDEI is forcibly bound by ACPI. This Patch allows to continue to support the initialization of SDEI without starting ACPI.
Fixes dc4e8c07e9e2 ("ACPI: APEI: explicit init of HEST and GHES in apci_init()")
Cc Shuai Xue <[email protected]>
Signed-off-by Schspa Shi <[email protected]>
--- drivers/acpi/bus.c | 1 + drivers/firmware/arm_sdei.c | 4 ++++ 2 files changed, 5 insertions(+)
drivers/acpi/bus.c +1 -0
@@ -1368,6 +1368,7 @@ static int __init acpi_init(void)int result;if (acpi_disabled) { +acpi_ghes_init ();pr_info ("Interpreter disabled.\n" );return -ENODEV ; }
drivers/firmware/arm_sdei.c +4 -0
@@ -1081,6 +1081,10 @@ void __init sdei_init(void) } } +#ifndef CONFIG_ACPI +subsys_initcall_sync (sdei_init); +#endif +int sdei_event_handler (struct pt_regs *regs,struct sdei_registered_event *arg) {
Signature · 1 line
2.39.2 (Apple Git-143)