]> 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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 30 Nov 2015 19:39:24 +0000 (14:39 -0500)
commit07cfc8aee7c0d8976bf945877f11f30755b18896
treeb8ae2b469f31291658d0416ec38df40cd2642f63
parent8e4429eb3ce74ce71b782af545e7fe658e311252
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>
arch/x86/xen/enlighten.c