From: Borislav Petkov <b...@suse.de> 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. -- 1.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/