mbox series

[v5,0/6] x86/sev-es: Fixes for SEV-ES Guest Support

Message ID 20210614135327.9921-1-joro@8bytes.org (mailing list archive)
Headers show
Series x86/sev-es: Fixes for SEV-ES Guest Support | expand


Joerg Roedel June 14, 2021, 1:53 p.m. UTC
From: Joerg Roedel <jroedel@suse.de>


here is the next revision of my pending fixes for Linux' SEV-ES
support. Changes to the previous version are:

	- Updated patch 2 and implemented wrappers around
	  sev_es_get/put_ghcb() which will disable/enable IRQs when
	- Updated patch 3 to now call the from_user and from_kernel
	  functions of the VC handler directly from entry-asm.

The previous version can be found here:


Changes are based on tip/x86/urgent. Please review.



Joerg Roedel (6):
  x86/sev-es: Fix error message in runtime #VC handler
  x86/sev-es: Make sure IRQs are disabled while GHCB is active
  x86/sev-es: Split up runtime #VC handler for correct state tracking
  x86/insn-eval: Make 0 a valid RIP for insn_get_effective_ip()
  x86/insn: Extend error reporting from
  x86/sev-es: Propagate #GP if getting linear instruction address failed

 arch/x86/entry/entry_64.S       |   4 +-
 arch/x86/include/asm/idtentry.h |  29 ++---
 arch/x86/kernel/sev.c           | 207 ++++++++++++++++++++------------
 arch/x86/kernel/umip.c          |  10 +-
 arch/x86/lib/insn-eval.c        |  22 ++--
 5 files changed, 156 insertions(+), 116 deletions(-)

base-commit: efa165504943f2128d50f63de0c02faf6dcceb0d