]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/x86: Don't try to set PCE bit in CR4
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 10 Aug 2015 20:34:38 +0000 (16:34 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 11:43:32 +0000 (03:43 -0800)
commite301a72754b5f62458e190faf26f5b26652e5b60
treeffc05d95013cff5d09cb59e68b32bd795213ffd0
parent5153fd1a483bd2bcbfba13e7c2da2fb8702ed4b9
xen/x86: Don't try to set PCE bit in CR4

Since VPMU code emulates RDPMC instruction with RDMSR and because hypervisor
does not emulate it there is no reason to try setting CR4's PCE bit (and the
hypervisor will warn on seeing it set).

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 3375d8284dfb7866f261ec008d15d30999ff273b)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit 07cfc8aee7c0d8976bf945877f11f30755b18896)
arch/x86/xen/enlighten.c