]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: processor: idle: Add debug log for states with invalid entry methods
authorHuisong Li <lihuisong@huawei.com>
Tue, 25 Nov 2025 06:47:02 +0000 (14:47 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Jan 2026 16:46:42 +0000 (17:46 +0100)
commit9be35201579c8b96071cc49bfd382a0036de1d87
tree255432a1936bf53f8cf0938e2e4662dd95d654a0
parentf132e089fe89cadc2098991f0a3cb05c3f824ac6
ACPI: processor: idle: Add debug log for states with invalid entry methods

According to ACPI spec, entry method in LPI sub-package must be a
buffer or an integer.

The driver will disable the state whose the entry method is invalid
by zeroing flags in struct acpi_lpi_state.

The entry method is very key in cpuidle. A debug log is very useful
for developers.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
[ rjw: Subject and changelog edits, changed "illegal" to "invalid" ]
Link: https://patch.msgid.link/20251125064702.3666149-1-lihuisong@huawei.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c