diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-08 01:09:27 (GMT) |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-04-08 18:51:46 (GMT) |
commit | 191216b9289ed02256086e6bab4f668112109399 (patch) | |
tree | 1f9db4f838ab11d04b34f04f3ebd61ccb1180409 /Documentation/iostats.txt | |
parent | 1207cf8eb99d8c699919e352292bdf1f519fbba5 (diff) | |
download | linux-fsl-qoriq-191216b9289ed02256086e6bab4f668112109399.tar.xz |
xen: mask XSAVE from cpuid
Xen leaves XSAVE set in cpuid, but doesn't allow cr4.OSXSAVE
to be set. This confuses the kernel and it ends up crashing on
an xsetbv instruction.
At boot time, try to set cr4.OSXSAVE, and mask XSAVE out of
cpuid it we can't. This will produce a spurious error from Xen,
but allows us to support XSAVE if/when Xen does.
This also factors out the cpuid mask decisions to boot time.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'Documentation/iostats.txt')
0 files changed, 0 insertions, 0 deletions