x86/xen: avoid 32-bit writes to PTEs in PV PAE guests
Get series with b4
b4 am '20180821153755.30462-1-jgross__16987.3010636822$1534865812$gmane$org@suse.com'Versions newest first · linked by author and title
- v2 Latest posting 2/20 of 2 patches 0 repliesNew
- v2 posting 1/22 patches 10 repliesApplied
- v12 patches 10 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] x86/xen: avoid 32-bit writes to PTEs in PV PAE guests
While the hypervisor emulates plain writes to PTEs happily, this is much slower than issuing a hypercall for PTE modifcations. And writing a PTE via two 32-bit write instructions (especially when clearing the PTE) will result in an intermediate L1TF vulnerable PTE.
Writes to PAE PTEs should always be done with 64-bit writes or via hypercalls.
Juergen Gross (2):
x86/xen: don't write ptes directly in 32-bit PV guests x86/pae: use 64 bit atomic xchg function in native_ptep_get_and_clear
arch/x86/include/asm/pgtable-3level.h | 7 +++---- arch/x86/xen/mmu_pv.c | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-)
Signature · 7 lines
2.13.7 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel