]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI/processor_idle: Add FFH state handling
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Wed, 5 Feb 2025 15:52:09 +0000 (17:52 +0200)
committerDave Hansen <dave.hansen@linux.intel.com>
Wed, 5 Feb 2025 18:44:52 +0000 (10:44 -0800)
commit541ddf31e30022b8e6f44b3a943964e8f0989d15
tree2e5829b1d5349e06d9acf44ad24a6ad928fa4d58
parenta7dd183f0b3848c056bbeed78ef5d5c52fe94d83
ACPI/processor_idle: Add FFH state handling

Recent Intel platforms will depend on the idle driver to pass the
correct hint for playing dead via mwait_play_dead_with_hint(). Expand
the existing enter_dead interface with handling for FFH states and pass
the MWAIT hint to the mwait_play_dead code.

Suggested-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/all/20250205155211.329780-3-artem.bityutskiy%40linux.intel.com
arch/x86/kernel/acpi/cstate.c
drivers/acpi/processor_idle.c
include/acpi/processor.h