Skip to content

MSR cleanups, v2

Borislav Petkov lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Changelog from the cover letter

---------

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+90 -10 replies
2/3x86, AMD: Convert to the new MSR accessorsarch/x86/kernel/cpu/amd.c+12 -360 replies
3/3x86, Intel: Convert to the new MSR accessorsarch/x86/include/uapi/asm/msr-index.h arch/x86/kernel/cpu/intel.c+13 -260 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] MSR cleanups, v2

From: Borislav Petkov <[email protected]>

Here's v2, all feedback from last time should be addressed. Patches boot fine on an Intel and AMD box.

I've also got them in a nice pullable form, if that is preferred:

--
The following changes since commit b01d4e68933ec23e43b1046fa35d593cefcf37d1:

x86: fix compile error due to X86_TRAP_NMI use in asm files (2014-03-07 18:58:40 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/msrs

for you to fetch changes up to b685c3e2f627f7c800aa4a34bd6f8438eaed8b3b:

x86, Intel: Convert to the new MSR accessors (2014-03-09 12:06:50 +0100)

----------------------------------------------------------------
Aggregation of MSR toggling bits functionality into common functions.

----------------------------------------------------------------
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 |  9 ++--
 arch/x86/kernel/cpu/amd.c             | 48 +++++--------------
 arch/x86/kernel/cpu/intel.c           | 30 +++---------
 arch/x86/lib/msr.c                    | 89 ++++++++++++++++++++++++++++++++++-
 5 files changed, 115 insertions(+), 63 deletions(-)

Changelog:
---------

v1:

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.

Signature · 1 line
1.9.0