]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ACPICA: Allow to skip Global Lock initialization
authorHuacai Chen <chenhuacai@loongson.cn>
Fri, 12 Sep 2025 19:54:53 +0000 (21:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Oct 2025 14:23:19 +0000 (16:23 +0200)
commita92686e03508f9cff7c2d6b4791fae7baeb33334
tree550cf6d6d177732cea9e1aaf40a0da6ec165e412
parent3d6269028246f4484bfed403c947a114bb583631
ACPICA: Allow to skip Global Lock initialization

commit feb8ae81b2378b75a99c81d315602ac8918ed382 upstream.

Introduce acpi_gbl_use_global_lock, which allows to skip the Global Lock
initialization. This is useful for systems without Global Lock (such as
loong_arch), so as to avoid error messages during boot phase:

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

Link: https://github.com/acpica/acpica/commit/463cb0fe
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/acpica/evglock.c
include/acpi/acpixf.h