x86/sev: Fixes for SEV-ES Guest Support
Status from this message: The following commit has been merged into the x86/sev branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 6 patches | 5 replies | Superseded | |
| v3 | 7 patches | 2 replies | Applied | |
| v2 | 8 patches | 4 replies | Applied | |
| v1 | 6 patches | 15 replies | Superseded |
Patches in v7 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86/sev: Make sure IRQs are disabled while GHCB is activearch/ | +22 | 1 reply | |
| 2/2 | x86/sev: Split up runtime #VC handler for correct state trackingarch/ arch/ arch/ | +91 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Peter Zijlstra (Intel) |
|---|---|
| Series | A-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 0/2] x86/sev: Fixes for SEV-ES Guest Support
From: Joerg Roedel <[email protected]>
Hi,
please find here the next iteration of my pending fixes for SEV-ES guest support in Linux. This version addresses the comments I received from Peter on the previous version, in particular:
- Removed IRQ disable/enable calls in the ap-hlt loop code
- Made __sev_get/put_ghcb() noinstr instead of __always_inline and put instrumentation_begin()/end() calls around panic() to fix an objtool warning.
- Split up #DB handling in the #VC handler into a from-user and from-kernel part as well.
The patches are again tested with a kernel with various debugging options enabled, running as an SEV-ES guest.
The previous version of these patches can be found here:
https://lore.kernel.org/lkml/[email protected]/
Please review.
Thanks,
Joerg
Joerg Roedel (2):
x86/sev: Make sure IRQs are disabled while GHCB is active x86/sev: Split up runtime #VC handler for correct state tracking
arch/x86/entry/entry_64.S | 4 +- arch/x86/include/asm/idtentry.h | 29 ++--- arch/x86/kernel/sev.c | 182 ++++++++++++++++++-------------- 3 files changed, 113 insertions(+), 102 deletions(-)
base-commit: 07570cef5e5c3fcec40f82a9075abb4c1da63319
Signature · 1 line
2.31.1