mbox series

[v6,0/4] SRF: Fix offline CPU preventing pc6 entry

Message ID 20241127161518.432616-1-patryk.wlazlyn@linux.intel.com
Headers show
Series SRF: Fix offline CPU preventing pc6 entry | expand

Message

Patryk Wlazlyn Nov. 27, 2024, 4:15 p.m. UTC
Changes since v5:
 * Split 1/3 from v5 into two commits, as suggestem by Gautham.
   1/4 splits wait_play_dead into mwait_play_dead_with_hint.
   2/4 and 3/4 uses the new mwait_play_dead_with_hint
   4/4 removes mwait_play_dead and calls cpuidle_play_dead right away

 * Reword 1-3/4 changelog slightly.

 * Move changelog from v5 1/3 into v6 4/4

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    |  4 ++-
 arch/x86/kernel/acpi/cstate.c |  9 +++++++
 arch/x86/kernel/smpboot.c     | 50 ++++-------------------------------
 drivers/acpi/processor_idle.c |  2 ++
 drivers/idle/intel_idle.c     | 18 +++++++++++--
 include/acpi/processor.h      |  5 ++++
 6 files changed, 40 insertions(+), 48 deletions(-)

Comments

Gautham R. Shenoy Dec. 9, 2024, 10:16 a.m. UTC | #1
On Wed, Nov 27, 2024 at 05:15:14PM +0100, Patryk Wlazlyn wrote:
> Changes since v5:
>  * Split 1/3 from v5 into two commits, as suggestem by Gautham.
>    1/4 splits wait_play_dead into mwait_play_dead_with_hint.
>    2/4 and 3/4 uses the new mwait_play_dead_with_hint
>    4/4 removes mwait_play_dead and calls cpuidle_play_dead right away
> 
>  * Reword 1-3/4 changelog slightly.
> 
>  * Move changelog from v5 1/3 into v6 4/4

FWIW,

I have tested the series on AMD platforms and there are no issues.

Tested-by: Gautham R. Shenoy <gautham.shenoy@amd.com>

> 
> 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    |  4 ++-
>  arch/x86/kernel/acpi/cstate.c |  9 +++++++
>  arch/x86/kernel/smpboot.c     | 50 ++++-------------------------------
>  drivers/acpi/processor_idle.c |  2 ++
>  drivers/idle/intel_idle.c     | 18 +++++++++++--
>  include/acpi/processor.h      |  5 ++++
>  6 files changed, 40 insertions(+), 48 deletions(-)
> 
> -- 
> 2.47.1
> 

--
Thanks and Regards
gautham.
Patryk Wlazlyn Dec. 9, 2024, 12:58 p.m. UTC | #2
> FWIW,
>
> I have tested the series on AMD platforms and there are no issues.
>
> Tested-by: Gautham R. Shenoy <gautham.shenoy@amd.com>

Thanks!