Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH v5 0/3] SRF: Fix offline CPU preventing pc6 entry
@ 2024-11-26 20:15 Patryk Wlazlyn
  2024-11-26 20:15 ` [PATCH v5 1/3] x86/smp: Allow calling mwait_play_dead with an arbitrary hint Patryk Wlazlyn
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Patryk Wlazlyn @ 2024-11-26 20:15 UTC (permalink / raw)
  To: x86
  Cc: linux-kernel, linux-pm, rafael.j.wysocki, peterz, dave.hansen,
	gautham.shenoy, tglx, len.brown, artem.bityutskiy, patryk.wlazlyn

Thanks for the feedback so far, sending next version of the patchset.
Lots of simplifications and a little bit of rewording this time.

Rafael, I know you suggested to move the commit message from the
1/3 patch to the 3/3, but I feel like the change for SRF really is in
the 1/3. If you in insist, I'll do that in the v6, but I think It
serves it's purpose better like that, to justify getting rid of the old
algorithm.

Changes since v4:
 * Rebased on top of Linus' tree, picking up Rafael's acpi idle patches.
 * Remove mwait_play_dead() code entirely from the native_play_dead()
   and delegate to idle driver right away, instead.
 * ACPI: Don't filter FFH based cstates on AMD, rely on the BIOS to
   report them just like the AMD prefers (IOPORT based).
 * Apply Peter's suggestion to intel idle to define a default enter_dead
   handler for all platforms in intel idle and allow for overwriting
   that in case It is needed.

Patryk Wlazlyn (3):
  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

 arch/x86/include/asm/smp.h    |  3 +++
 arch/x86/kernel/acpi/cstate.c |  9 +++++++
 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, 40 insertions(+), 43 deletions(-)

-- 
2.47.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-27 10:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-26 20:15 [PATCH v5 0/3] SRF: Fix offline CPU preventing pc6 entry Patryk Wlazlyn
2024-11-26 20:15 ` [PATCH v5 1/3] x86/smp: Allow calling mwait_play_dead with an arbitrary hint Patryk Wlazlyn
2024-11-27  5:54   ` Gautham R. Shenoy
2024-11-27  8:32     ` Patryk Wlazlyn
2024-11-27 10:53       ` Rafael J. Wysocki
2024-11-26 20:15 ` [PATCH v5 2/3] ACPI: processor_idle: Add FFH state handling Patryk Wlazlyn
2024-11-26 20:15 ` [PATCH v5 3/3] intel_idle: Provide the default enter_dead() handler Patryk Wlazlyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox