[PATCH 0/5] x86/msr: Drop 32-bit interfaces of native MSR functions
From: Juergen Gross
Date: Mon Jun 29 2026 - 02:45:50 EST
Switch all users of the 32-bit native_*() MSR access functions to the
64-bit ones and drop the 32-bit interfaces.
Based on the series "x86/msr: Drop 32-bit MSR interfaces" [1].
[1]: https://lore.kernel.org/lkml/20260629060526.3638272-1-jgross@xxxxxxxx/T/#t
Juergen Gross (5):
x86/msr: Switch users of native_wrmsr() to native_wrmsrq()
x86/msr: Remove native_wrmsr()
x86/msr: Switch users of native_rdmsr() to native_rdmsrq()
x86/msr: Remove native_rdmsr()
x86/msr: Switch native_wrmsrq() from macro to inline function
arch/x86/coco/sev/internal.h | 7 +------
arch/x86/include/asm/microcode.h | 6 +-----
arch/x86/include/asm/msr.h | 16 ++++------------
arch/x86/kernel/cpu/microcode/amd.c | 4 ++--
arch/x86/kernel/cpu/microcode/core.c | 4 ++--
arch/x86/kernel/cpu/microcode/intel.c | 6 +++---
arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 4 ++--
7 files changed, 15 insertions(+), 32 deletions(-)
--
2.54.0