[PATCH 01.5/11] x86/msr: Switch rdmsrl_on_cpu() user to rdmsrq_on_cpu()
From: Ingo Molnar
Date: Mon Jun 08 2026 - 03:05:32 EST
* Juergen Gross <jgross@xxxxxxxx> wrote:
> rdmsrl_on_cpu() has no users left. Delete it.
>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
> Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
There was one user left, see below. I've added this to
the series.
Thanks,
Ingo
===========================>
From: Ingo Molnar <mingo@xxxxxxxxxx>
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@xxxxxxxxxx>
Cc: Juergen Gross <jgross@xxxxxxxx>
Cc: Mario Limonciello <mario.limonciello@xxxxxxx>
---
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;