]> xenbits.xensource.com Git - xen.git/commit
x86/levelling: Restrict non-architectural OSXSAVE handling to emulated CPUID
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 23 Aug 2016 10:10:12 +0000 (11:10 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 1 Sep 2016 10:41:03 +0000 (11:41 +0100)
commit3b7cac5232012e167b284aba738fef1eceda33f8
tree14599ec3ef9374b515c8b56c94ffda4d4454f89a
parentd5498f7fd64add3b4810c418f9fa671a81901e36
x86/levelling: Restrict non-architectural OSXSAVE handling to emulated CPUID

There is no need to extend the workaround to the faulted CPUID view, as
Linux's dependence on the workaround is stricly via the emulated view.

This causes a guest kernel faulted CPUID to observe architectural behaviour
with respect to its CR4.OSXSAVE setting.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/traps.c