public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
To: x86@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
	rafael.j.wysocki@intel.com, peterz@infradead.org,
	dave.hansen@linux.intel.com, gautham.shenoy@amd.com,
	tglx@linutronix.de, len.brown@intel.com,
	artem.bityutskiy@linux.intel.com, patryk.wlazlyn@linux.intel.com
Subject: [PATCH v7 0/4] SRF: Fix offline CPU preventing pc6 entry
Date: Fri, 29 Nov 2024 19:22:28 +0100	[thread overview]
Message-ID: <20241129182232.14987-1-patryk.wlazlyn@linux.intel.com> (raw)

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


             reply	other threads:[~2024-11-29 18:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-29 18:22 Patryk Wlazlyn [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241129182232.14987-1-patryk.wlazlyn@linux.intel.com \
    --to=patryk.wlazlyn@linux.intel.com \
    --cc=artem.bityutskiy@linux.intel.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=gautham.shenoy@amd.com \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox