[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210614135327.9921-1-joro@8bytes.org>
Date: Mon, 14 Jun 2021 15:53:21 +0200
From: Joerg Roedel <joro@...tes.org>
To: x86@...nel.org
Cc: Joerg Roedel <joro@...tes.org>, Joerg Roedel <jroedel@...e.de>,
hpa@...or.com, Andy Lutomirski <luto@...nel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Peter Zijlstra <peterz@...radead.org>,
Jiri Slaby <jslaby@...e.cz>,
Dan Williams <dan.j.williams@...el.com>,
Tom Lendacky <thomas.lendacky@....com>,
Juergen Gross <jgross@...e.com>,
Kees Cook <keescook@...omium.org>,
David Rientjes <rientjes@...gle.com>,
Cfir Cohen <cfir@...gle.com>,
Erdem Aktas <erdemaktas@...gle.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mike Stunes <mstunes@...are.com>,
Sean Christopherson <seanjc@...gle.com>,
Martin Radev <martin.b.radev@...il.com>,
Arvind Sankar <nivedita@...m.mit.edu>,
linux-coco@...ts.linux.dev, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org, virtualization@...ts.linux-foundation.org
Subject: [PATCH v5 0/6] x86/sev-es: Fixes for SEV-ES Guest Support
From: Joerg Roedel <jroedel@...e.de>
Hi,
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
needed.
- 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:
https://lore.kernel.org/lkml/20210610091141.30322-1-joro@8bytes.org/
Changes are based on tip/x86/urgent. Please review.
Thanks,
Joerg
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
insn_fetch_from_user[_inatomic]()
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
--
2.31.1
Powered by blists - more mailing lists