summaryrefslogtreecommitdiff
path: root/drivers/staging/stlc45xx
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-03-08 01:09:27 (GMT)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-04-08 18:51:46 (GMT)
commit191216b9289ed02256086e6bab4f668112109399 (patch)
tree1f9db4f838ab11d04b34f04f3ebd61ccb1180409 /drivers/staging/stlc45xx
parent1207cf8eb99d8c699919e352292bdf1f519fbba5 (diff)
downloadlinux-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 'drivers/staging/stlc45xx')
0 files changed, 0 insertions, 0 deletions