mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/5] x86/msr: Drop 32-bit interfaces of native MSR functions
@ 2026-11-16 16:02 Juergen Gross
  2026-11-16 16:02 ` [PATCH v4 1/5] x86/msr: Switch users of native_wrmsr() to native_wrmsrq() Juergen Gross
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Juergen Gross @ 2026-11-16 16:02 UTC (permalink / raw)
  To: linux-kernel, x86
  Cc: Juergen Gross, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, H. Peter Anvin, Tony Luck, Reinette Chatre,
	Ben Horgan, Dave Martin, James Morse, Babu Moger, Drew Fustini

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/20261116150208.1572254-1-jgross@suse.com/T/#md59eab1d0c8b23a3184cbab408629c86f95e8419

Changes in V2:
- small fix in patch 1
- rebased

Changes in V3:
- another small fix in patch 1
- rebased

Changes in V4:
- another small fix in patch 1
- rebased

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/intel.c               |  6 +++---
 arch/x86/kernel/cpu/microcode/amd.c       |  4 ++--
 arch/x86/kernel/cpu/microcode/core.c      |  4 ++--
 arch/x86/kernel/cpu/resctrl/pseudo_lock.c |  4 ++--
 7 files changed, 15 insertions(+), 32 deletions(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-16 16:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16 16:02 [PATCH v4 0/5] x86/msr: Drop 32-bit interfaces of native MSR functions Juergen Gross
2026-11-16 16:02 ` [PATCH v4 1/5] x86/msr: Switch users of native_wrmsr() to native_wrmsrq() Juergen Gross
2026-11-16 16:02 ` [PATCH v4 2/5] x86/msr: Remove native_wrmsr() Juergen Gross
2026-11-16 16:02 ` [PATCH v4 3/5] x86/msr: Switch users of native_rdmsr() to native_rdmsrq() Juergen Gross
2026-11-16 16:02 ` [PATCH v4 4/5] x86/msr: Remove native_rdmsr() Juergen Gross
2026-11-16 16:02 ` [PATCH v4 5/5] x86/msr: Switch native_wrmsrq() from macro to inline function Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®