]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:25:26 +0000 (12:25 +0100)
commit8411b4634f5f12c50f5d92522c652c9545453301
tree4d6eb86609d8fc42a32b4edaf6456b0d0470f3e6
parent6f4c10e08916fcb4f0dc027ce9826f451fbafde9
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>
arch/x86/xen/enlighten.c