[PATCHv3 0/3] Fix for load_unaligned_zeropad() in TDX guest

From: Kirill A. Shutemov
Date: Tue May 24 2022 - 18:10:30 EST


An updated version of the load_unaligned_zeropad() fix.

v3:
- Rework load_unaligned_zeropad() fix: fail misaligned MMIO accesses
instead of upfront exception fixups;
- Add ve_instr_len() helper to wrap access to ve->instr_len;
- Add Reviewed-by from Sathya;
v2:
- Clarify RIP adjustments during #VE handling;
- Fix early #VE handling;
- Fix comment and commit message;

Kirill A. Shutemov (3):
x86/tdx: Fix early #VE handling
x86/tdx: Clarify RIP adjustments in #VE handler
x86/tdx: Handle load_unaligned_zeropad() page-cross to a shared page

arch/x86/coco/tdx/tdx.c | 154 +++++++++++++++++++++++++++-------------
1 file changed, 104 insertions(+), 50 deletions(-)

--
2.35.1