commit | f7c90c2aa4004808dff777ba6ae2c7294dd06851 | [log] [tgz] |
---|---|---|
author | Juergen Gross <jgross@suse.com> | Tue Aug 21 17:37:54 2018 +0200 |
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | Mon Aug 27 09:31:26 2018 -0400 |
tree | 73c9a3d2b1daf567501a9cc0eaad622607e36a32 | |
parent | 75f2d3a0cef5cd8cd41772c9f8ada37dee9c9369 [diff] |
x86/xen: don't write ptes directly in 32-bit PV guests In some cases 32-bit PAE PV guests still write PTEs directly instead of using hypercalls. This is especially bad when clearing a PTE as this is done via 32-bit writes which will produce intermediate L1TF attackable PTEs. Change the code to use hypercalls instead. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>