]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
LoongArch: Init acpi_gbl_use_global_lock to false
authorHuacai Chen <chenhuacai@loongson.cn>
Thu, 2 Oct 2025 14:38:57 +0000 (22:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Oct 2025 14:33:39 +0000 (16:33 +0200)
[ Upstream commit 98662be7ef20d2b88b598f72e7ce9b6ac26a40f9 ]

Init acpi_gbl_use_global_lock to false, in order to void error messages
during boot phase:

 ACPI Error: Could not enable GlobalLock event (20240827/evxfevnt-182)
 ACPI Error: No response from Global Lock hardware, disabling lock (20240827/evglock-59)

Fixes: 628c3bb40e9a8cefc0a6 ("LoongArch: Add boot and setup routines")
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/loongarch/kernel/setup.c

index 1fa6a604734ef2c0a7d7ee537546521b902a0c4f..2ceb198ae8c80859ea3c4facf946ed13cdfa1d1c 100644 (file)
@@ -354,6 +354,7 @@ void __init platform_init(void)
 
 #ifdef CONFIG_ACPI
        acpi_table_upgrade();
+       acpi_gbl_use_global_lock = false;
        acpi_gbl_use_default_register_widths = false;
        acpi_boot_table_init();
 #endif