public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/4] SRF: Fix offline CPU preventing pc6 entry
@ 2024-11-29 18:22 Patryk Wlazlyn
  2024-11-29 18:22 ` [PATCH v7 1/4] x86/smp: Allow calling mwait_play_dead with an arbitrary hint Patryk Wlazlyn
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Patryk Wlazlyn @ 2024-11-29 18:22 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

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


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

end of thread, other threads:[~2025-01-02  9:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-29 18:22 [PATCH v7 0/4] SRF: Fix offline CPU preventing pc6 entry Patryk Wlazlyn
2024-11-29 18:22 ` [PATCH v7 1/4] x86/smp: Allow calling mwait_play_dead with an arbitrary hint Patryk Wlazlyn
2024-12-03  4:37   ` Gautham R. Shenoy
2024-12-10 19:51   ` Rafael J. Wysocki
2024-12-17 20:09     ` Patryk Wlazlyn
2024-12-17 20:45       ` Rafael J. Wysocki
2025-01-02  9:50         ` Patryk Wlazlyn
2024-11-29 18:22 ` [PATCH v7 2/4] ACPI: processor_idle: Add FFH state handling Patryk Wlazlyn
2024-12-03  4:39   ` Gautham R. Shenoy
2024-12-10 20:15   ` Rafael J. Wysocki
2024-11-29 18:22 ` [PATCH v7 3/4] intel_idle: Provide the default enter_dead() handler Patryk Wlazlyn
2024-11-29 18:22 ` [PATCH v7 4/4] x86/smp native_play_dead: Prefer cpuidle_play_dead() over mwait_play_dead() Patryk Wlazlyn
2024-12-03  4:48   ` Gautham R. Shenoy

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