summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2016-04-02 07:01:39 -0700
committerIngo Molnar <mingo@kernel.org>2016-04-13 11:37:46 +0200
commit4985ce15a397e9b6541548efe3b9ffac2dda9127 (patch)
tree4d05d1c37144934aaf948ab65585ad60aecba908 /arch/x86/lib
parentdd2f4a004b016bbfb64f1de49cb45e66232e40a6 (diff)
downloadblackbird-obmc-linux-4985ce15a397e9b6541548efe3b9ffac2dda9127.tar.gz
blackbird-obmc-linux-4985ce15a397e9b6541548efe3b9ffac2dda9127.zip
x86/paravirt: Make "unsafe" MSR accesses unsafe even if PARAVIRT=y
Enabling CONFIG_PARAVIRT had an unintended side effect: rdmsr() turned into rdmsr_safe() and wrmsr() turned into wrmsr_safe(), even on bare metal. Undo that by using the new unsafe paravirt MSR callbacks. Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Andy Lutomirski <luto@kernel.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Arjan van de Ven <arjan@linux.intel.com> Cc: Borislav Petkov <bp@alien8.de> Cc: KVM list <kvm@vger.kernel.org> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: xen-devel <Xen-devel@lists.xen.org> Link: http://lkml.kernel.org/r/414fabd6d3527703077c6c2a797223d0a9c3b081.1459605520.git.luto@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud