Skip to content

Commit d5921c4

Browse files
guohanjunrafaeljw
authored andcommitted
ACPI: bus: Move acpi_arm_init() to the place of after acpi_ghes_init()
acpi_agdi_init() in acpi_arm_init() will register a SDEI event, so it needs the SDEI subsystem to be initialized (which is done in acpi_ghes_init()) before the AGDI driver probing. In commit fcea0cc ("ACPI: bus: Consolidate all arm specific initialisation into acpi_arm_init()"), the acpi_agdi_init() was called before acpi_ghes_init() and it causes following failure: | [ 0.515864] sdei: Failed to create event 1073741825: -5 | [ 0.515866] agdi agdi.0: Failed to register for SDEI event 1073741825 | [ 0.515867] agdi: probe of agdi.0 failed with error -5 | ... | [ 0.516022] sdei: SDEIv1.0 (0x0) detected in firmware. Fix it by moving acpi_arm_init() to the place of after acpi_ghes_init(). Fixes: fcea0cc ("ACPI: bus: Consolidate all arm specific initialisation into acpi_arm_init()") Reported-by: D Scott Phillips <[email protected]> Signed-off-by: Hanjun Guo <[email protected]> Reviewed-by: Sudeep Holla <[email protected]> Tested-by: D Scott Phillips <[email protected]> Cc: 6.5+ <[email protected]> # 6.5+ Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 5872080 commit d5921c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/bus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1410,10 +1410,10 @@ static int __init acpi_init(void)
14101410
acpi_init_ffh();
14111411

14121412
pci_mmcfg_late_init();
1413-
acpi_arm_init();
14141413
acpi_viot_early_init();
14151414
acpi_hest_init();
14161415
acpi_ghes_init();
1416+
acpi_arm_init();
14171417
acpi_scan_init();
14181418
acpi_ec_init();
14191419
acpi_debugfs_init();

0 commit comments

Comments
 (0)