[tip: x86/msr] x86/msr: Switch rdmsrl_on_cpu() user to rdmsrq_on_cpu()
From: tip-bot2 for Juergen Gross
Date: Mon Jun 08 2026 - 04:22:31 EST
The following commit has been merged into the x86/msr branch of tip:
Commit-ID: e2f659dd80a8567a0dad2d45b965ef351aeb88bf
Gitweb: https://git.kernel.org/tip/e2f659dd80a8567a0dad2d45b965ef351aeb88bf
Author: Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Mon, 08 Jun 2026 07:17:31 +02:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Mon, 08 Jun 2026 10:01:36 +02:00
x86/msr: Switch rdmsrl_on_cpu() user to rdmsrq_on_cpu()
rdmsrl_on_cpu() is a deprecated synonym for rdmsrq_on_cpu().
Switch its only user to rdmsrq_on_cpu().
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Reviewed-by: K Prateek Nayak <kprateek.nayak@xxxxxxx>
Cc: Huang Rui <ray.huang@xxxxxxx>
Cc: Mario Limonciello <mario.limonciello@xxxxxxx>
Link: https://patch.msgid.link/20260608051741.3207435-2-jgross@xxxxxxxx
---
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 62b5d99..7847cf3 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;