[PATCH 0/4] x86/msr: Get rid of rdmsrl() and wrmsrl()

From: Juergen Gross

Date: Mon Jun 08 2026 - 04:32:42 EST


rdsmrl() and wrmsrl() are deprecated aliases of rdmsrq() and wrmsrq().

Switch all users and remove the deprecated variants.

Juergen Gross (4):
x86/msr: Switch rdmsrl() users to rdmsrq()
x86/msr: Remove rdmsrl()
x86/msr: Switch wrmsrl() users to wrmsrq()
x86/msr: Remove wrmsrl()

arch/x86/events/amd/uncore.c | 4 ++--
arch/x86/events/intel/core.c | 4 ++--
arch/x86/include/asm/msr.h | 5 -----
arch/x86/kernel/cpu/resctrl/monitor.c | 4 ++--
arch/x86/kernel/process_64.c | 2 +-
arch/x86/kvm/pmu.c | 6 +++---
arch/x86/kvm/vmx/tdx.c | 6 +++---
drivers/hv/mshv_vtl_main.c | 4 ++--
drivers/idle/intel_idle.c | 6 +++---
9 files changed, 18 insertions(+), 23 deletions(-)

--
2.54.0