Small update, after Gautham's review and few changes around comments that
referenced old mwait_play_dead code, that I noticed after submitting the
v6. Some places referenced the old mwait_play_dead() in the comments, so
I decided to reuse the mwait_play_dead() name, so that the comments
don't have to be updated.
Changes since v6:
* Renamed mwait_play_dead to mwait_play_dead_cpuid_hint in 1/1, so that
mwait_play_dead name can be reused for the function that takes the
MWAIT hint as an argument. This leaves the comments around the
smpboot.c file that reference the old mwait_play_dead() unchanged.
* Moved the old comment above mwait_play_dead() to
mwait_play_dead_with_hints in patch 4/4.
* Added missing include of asm/smp.h in arch/x86/kernel/acpi/cstate.c
* Removed empty line added by mistake, spotted by Gautham (Thanks!)
in arch/x86/include/asm/smp.h
* Reworded 1/4 commit message to better describe the changes the patch
is actually making.
Patryk Wlazlyn (4):
x86/smp: Allow calling mwait_play_dead with an arbitrary hint
ACPI: processor_idle: Add FFH state handling
intel_idle: Provide the default enter_dead() handler
x86/smp native_play_dead: Prefer cpuidle_play_dead() over
mwait_play_dead()
arch/x86/include/asm/smp.h | 3 +++
arch/x86/kernel/acpi/cstate.c | 10 ++++++++
arch/x86/kernel/smpboot.c | 46 ++++-------------------------------
drivers/acpi/processor_idle.c | 2 ++
drivers/idle/intel_idle.c | 18 ++++++++++++--
include/acpi/processor.h | 5 ++++
6 files changed, 41 insertions(+), 43 deletions(-)
--
2.47.1