lkml.org 
[lkml]   [2021]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5 v2] x86/sev-es: SEV-ES Fixes for v5.12
Date
From: Joerg Roedel <jroedel@suse.de>

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(-)

--
2.30.1

\
 
 \ /
  Last update: 2021-03-03 19:10    [W:0.088 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site