Discussion:
CVS commit: src/sys/arch/x86/x86
John Nemeth
2014-10-14 03:16:56 UTC
Permalink
Module Name: src
Committed By: jnemeth
Date: Tue Oct 14 03:16:56 UTC 2014

Modified Files:
src/sys/arch/x86/x86: identcpu.c

Log Message:
Force x86_xsave_features to 0 when running under XEN for AMD
processors. This prevents the use of xsave and xrstor thus fixing
the problem in PR/49150. The basic problem is that the way AMD
implements those instructions means that information can leak
between domains so XEN treats them as privileged.

XXX If anybody else comes up with a better / more "proper" fix, go
for it. However, this solves the problem I was having. And, given
that XEN being broken is pretty much a show-stopper for a release,
something needed to be done.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/x86/x86/identcpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Manuel Bouyer
2014-10-14 06:59:59 UTC
Permalink
Module Name: src
Committed By: bouyer
Date: Tue Oct 14 06:59:59 UTC 2014

Modified Files:
src/sys/arch/x86/x86: pmap.c

Log Message:
Add a missing || defined(XEN) which cause Xen non-DIAGNOSTIC kernels
to panic at boot.


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/sys/arch/x86/x86/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Loading...