]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/microcode: Convert to bare minimum MSR accessors
authorBorislav Petkov <bp@suse.de>
Fri, 20 Jan 2017 20:29:42 +0000 (21:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 23 Jan 2017 09:02:45 +0000 (10:02 +0100)
commit0c12d18ab96e4da9f3e963bc242689bdeaaf2330
tree8f9f4df441f2f55952be27e577b4139243354a96
parenta585df8edabdb47ae25214ebb3a627ca7ce800d3
x86/microcode: Convert to bare minimum MSR accessors

Having tracepoints to the MSR accessors makes them unsuitable for early
microcode loading: think 32-bit before paging is enabled and us chasing
pointers to test whether a tracepoint is enabled or not. Results in a
reliable triple fault.

Convert to the bare ones.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/20170120202955.4091-4-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/microcode.h