mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jürgen Groß" <jgross@suse.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org, x86@kernel.org,
	Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
	Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH 01.5/11] x86/msr: Switch rdmsrl_on_cpu() user to rdmsrq_on_cpu()
Date: Mon, 8 Jun 2026 09:11:28 +0200	[thread overview]
Message-ID: <099cde08-b1c1-4259-84fc-e0371b0139cb@suse.com> (raw)
In-Reply-To: <aiZos_gKOxtiI4Uj@gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 1433 bytes --]

On 08.06.26 09:01, Ingo Molnar wrote:
> 
> * Juergen Gross <jgross@suse.com> wrote:
> 
>> rdmsrl_on_cpu() has no users left. Delete it.
>>
>> Signed-off-by: Juergen Gross <jgross@suse.com>
>> Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>
> 
> There was one user left, see below. I've added this to
> the series.

Hmm, your patch looks exactly like patch 1 of my series.


Juergen

> 
> Thanks,
> 
> 	Ingo
> 
> ===========================>
> From: Ingo Molnar <mingo@kernel.org>
> Date: Mon, 8 Jun 2026 08:57:00 +0200
> Subject: [PATCH] x86/msr: Switch rdmsrl_on_cpu() user to rdmsrq_on_cpu()
> 
> Convert the final rdmsrl_on_cpu() user to rdmsrq_on_cpu().
> 
> Signed-off-by: Ingo Molnar <mingo@kernel.org>
> Cc: Juergen Gross <jgross@suse.com>
> Cc: Mario Limonciello <mario.limonciello@amd.com>
> ---
>   drivers/cpufreq/amd-pstate.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
> index 62b5d995281d..7847cf363ce8 100644
> --- a/drivers/cpufreq/amd-pstate.c
> +++ b/drivers/cpufreq/amd-pstate.c
> @@ -476,7 +476,7 @@ static int msr_init_perf(struct amd_cpudata *cpudata)
>   	if (ret)
>   		return ret;
>   
> -	ret = rdmsrl_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ, &cppc_req);
> +	ret = rdmsrq_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ, &cppc_req);
>   	if (ret)
>   		return ret;
>   


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3743 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

  reply	other threads:[~2026-06-08  7:11 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-08  5:17 [PATCH v3 00/11] x86/msr: Drop 32-bit variants of *_on_cpu() MSR functions Juergen Gross
2026-06-08  5:17 ` [PATCH v3 01/11] x86/msr: Switch rdmsrl_on_cpu() users to rdmsrq_on_cpu() Juergen Gross
2026-06-08  5:54   ` K Prateek Nayak
2026-06-08  8:03   ` [tip: x86/msr] x86/msr: Switch rdmsrl_on_cpu() user " tip-bot2 for Juergen Gross
2026-06-08  5:17 ` [PATCH v3 02/11] x86/msr: Remove rdmsrl_on_cpu() Juergen Gross
2026-06-08  7:01   ` [PATCH 01.5/11] x86/msr: Switch rdmsrl_on_cpu() user to rdmsrq_on_cpu() Ingo Molnar
2026-06-08  7:11     ` Jürgen Groß [this message]
2026-06-08  7:58       ` Ingo Molnar
2026-06-08  8:03   ` [tip: x86/msr] x86/msr: Remove rdmsrl_on_cpu() tip-bot2 for Juergen Gross
2026-06-08  5:17 ` [PATCH v3 03/11] x86/msr: Switch rdmsr_on_cpu() users to rdmsrq_on_cpu() Juergen Gross
2026-06-08  8:03   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  5:17 ` [PATCH v3 04/11] x86/msr: Remove rdmsr_on_cpu() Juergen Gross
2026-06-08  8:03   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  5:17 ` [PATCH v3 05/11] x86/msr: Switch wrmsr_on_cpu() users to wrmsrq_on_cpu() Juergen Gross
2026-06-08  8:03   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  5:17 ` [PATCH v3 06/11] x86/msr: Remove wrmsr_on_cpu() Juergen Gross
2026-06-08  8:03   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  5:17 ` [PATCH v3 07/11] x86/msr: Don't use rdmsr_safe_on_cpu() in rdmsrq_safe_on_cpu() Juergen Gross
2026-06-08  8:03   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  5:17 ` [PATCH v3 08/11] x86/msr: Switch rdmsr_safe_on_cpu() users to rdmsrq_safe_on_cpu() Juergen Gross
2026-06-08  8:03   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  5:17 ` [PATCH v3 09/11] x86/msr: Remove rdmsr_safe_on_cpu() Juergen Gross
2026-06-08  8:03   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  5:17 ` [PATCH v3 10/11] x86/msr: Switch wrmsr_safe_on_cpu() users to wrmsrq_safe_on_cpu() Juergen Gross
2026-06-08  8:03   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  5:17 ` [PATCH v3 11/11] x86/msr: Remove wrmsr_safe_on_cpu() Juergen Gross
2026-06-08  8:03   ` [tip: x86/msr] " tip-bot2 for Juergen Gross
2026-06-08  5:59 ` [PATCH v3 00/11] x86/msr: Drop 32-bit variants of *_on_cpu() MSR functions K Prateek Nayak

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=099cde08-b1c1-4259-84fc-e0371b0139cb@suse.com \
    --to=jgross@suse.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@kernel.org \
    --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