Skip to contentSkip to conversation

x86/sev for v5.14

GIT PULL Merged Borislav Petkov 2 participants 2 messages Jun 28, 2021

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please pull the current pile of enhancements and fixes to the SEV side of things, for v5.14.

Thx.

---

The following changes since commit 614124bea77e452aa6df7a8714e8bc820b489922:

Linux 5.13-rc5 (2021-06-06 15:47:27 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_sev_for_v5.14_rc1

for you to fetch changes up to 8d9d46bbf3b6b7ff8edcac33603ab45c29e0e07f:

x86/sev: Use "SEV: " prefix for messages from sev.c (2021-06-23 11:56:18 +0200)

----------------------------------------------------------------
- Differentiate the type of exception the #VC handler raises depending on code executed in the guest and handle the case where failure to get the RIP would result in a #GP, as it should, instead of in a #PF

- Disable interrupts while the per-CPU GHCB is held

- Split the #VC handler depending on where the #VC exception has happened and therefore provide for precise context tracking like the rest of the exception handlers deal with noinstr regions now

- Add defines for the GHCB version 2 protocol so that further shared development with KVM can happen without merge conflicts

- The usual small cleanups

----------------------------------------------------------------
Brijesh Singh (1):
x86/sev: Add defines for GHCB version 2 MSR protocol requests

Joerg Roedel (7):
x86/sev: Fix error message in runtime #VC handler 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: Propagate #GP if getting linear instruction address failed x86/sev: Make sure IRQs are disabled while GHCB is active x86/sev: Split up runtime #VC handler for correct state tracking x86/sev: Use "SEV: " prefix for messages from sev.c

 arch/x86/entry/entry_64.S         |   4 +-
 arch/x86/include/asm/idtentry.h   |  29 ++----
 arch/x86/include/asm/sev-common.h |  16 ++-
 arch/x86/kernel/sev.c             | 201 +++++++++++++++++++++-----------------
 arch/x86/kernel/umip.c            |  10 +-
 arch/x86/lib/insn-eval.c          |  30 +++---
 6 files changed, 160 insertions(+), 130 deletions(-)
Signature · 4 lines
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 28 Jun 2021 10:39:38 +0200:

The pull request you sent on Mon, 28 Jun 2021 10:39:38 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_sev_for_v5.14_rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d04f7de0a5134de13420e72ae62a26f05d312c06

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html