[PATCH 0/6] x86/sev-es: Fixes for SEV-ES guest support

From: Joerg Roedel
Date: Wed May 12 2021 - 03:55:22 EST


From: Joerg Roedel <jroedel@xxxxxxx>

Hi,

here is a collection of fixes for the SEV-ES guest support. They fix
simple and more severe issues and are all targeted for v5.13. The most
important fixes are the revert of 7024f60d6552 which just doesn't work
in any context the #VC handler could run and the fix to forward #PF
exceptions caused during emulation. The issue that 7024f60d6552
intended to fix should be fixed correctly with these patches too.

Please review and test.

Regards,

Joerg

Joerg Roedel (6):
x86/sev-es: Don't return NULL from sev_es_get_ghcb()
x86/sev-es: Forward page-faults which happen during emulation
x86/sev-es: Use __put_user()/__get_user
Revert "x86/sev-es: Handle string port IO to kernel memory properly"
x86/sev-es: Fix error message in runtime #VC handler
x86/sev-es: Leave NMI-mode before sending signals

arch/x86/kernel/sev.c | 76 +++++++++++++++++++++----------------------
1 file changed, 38 insertions(+), 38 deletions(-)


base-commit: 059e5c321a65657877924256ea8ad9c0df257b45
--
2.31.1