x86/sev-es: SEV-ES Fixes for v5.12
Status from this message: The following commit has been merged into the x86/urgent branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesApplied
- v13 patches 9 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86/sev-es: Introduce ip_within_syscall_gap() helperarch/ arch/ arch/ +1 more | +19 | 0 replies | |
| 2/5 | x86/sev-es: Check if regs->sp is trusted before adjusting #VC IST stackarch/ | +12 | 0 replies | |
| 3/5 | x86/sev-es: Optimize __sev_es_ist_enter() for better readabilityarch/ | +24 | 0 replies | |
| 4/5 | x86/sev-es: Correctly track IRQ states in runtime #VC handlerarch/ | +4 | 0 replies | |
| 5/5 | x86/sev-es: Use __copy_from_user_inatomic()arch/ arch/ arch/ | +55 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/5 v2] x86/sev-es: SEV-ES Fixes for v5.12
From: Joerg Roedel <[email protected]>
Hi,
here are a couple of fixes for 5.12 in the SEV-ES guest support code. Patches 1-3 have in a similar form already been posted, so this is v2. The last two patches are new an arose from me running an SEV-ES guest with more debugging features and instrumentation enabled. I changed the first patches according to the review comments I received.
Please review.
Thanks,
Joerg
Joerg Roedel (5):
x86/sev-es: Introduce ip_within_syscall_gap() helper x86/sev-es: Check if regs->sp is trusted before adjusting #VC IST
stack
x86/sev-es: Optimize __sev_es_ist_enter() for better readability x86/sev-es: Correctly track IRQ states in runtime #VC handler x86/sev-es: Use __copy_from_user_inatomic()
arch/x86/entry/entry_64_compat.S | 2 + arch/x86/include/asm/insn-eval.h | 2 + arch/x86/include/asm/proto.h | 1 + arch/x86/include/asm/ptrace.h | 15 ++++++++ arch/x86/kernel/sev-es.c | 58 ++++++++++++++++++++-------- arch/x86/kernel/traps.c | 3 +- arch/x86/lib/insn-eval.c | 66 +++++++++++++++++++++++++------- 7 files changed, 114 insertions(+), 33 deletions(-)
Signature · 6 lines
2.30.1 _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization