Skip to content

RFC MSR cleanups

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: Add another set of MSR accessor functionsarch/x86/include/asm/msr.h arch/x86/lib/msr.c+108 -12 replies
2/3x86, AMD: Convert to the new MSR accessorsarch/x86/kernel/cpu/amd.c+11 -350 replies
3/3x86, intel: Convert to the new MSR accessorsarch/x86/include/uapi/asm/msr-index.h arch/x86/kernel/cpu/intel.c+12 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] MSR cleanups

From: Borislav Petkov <[email protected]>

Hi guys,

this is just a preview of what I think we talked about. I'm sending it out now to gather some feedback before I go and test it more thoroughly (it boots in a guest though :)).

Thanks.

Borislav Petkov (3):
x86: Add another set of MSR accessor functions
x86, AMD: Convert to the new MSR accessors
x86, intel: Convert to the new MSR accessors

 arch/x86/include/asm/msr.h            |   2 +
 arch/x86/include/uapi/asm/msr-index.h |   6 +-
 arch/x86/kernel/cpu/amd.c             |  46 ++++-----------
 arch/x86/kernel/cpu/intel.c           |  29 +++------
 arch/x86/lib/msr.c                    | 107 +++++++++++++++++++++++++++++++++-
 5 files changed, 131 insertions(+), 59 deletions(-)
Signature · 1 line
1.8.5.2.192.g7794a68