[PATCH v2 0/2] SEV-*: Cleanups

From: Borislav Petkov
Date: Tue Mar 28 2023 - 16:17:51 EST


From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx>

Hi,

here's v2.

tglx says it is better for cc_platform_has() and descendants to be
noinstr vs inlining it as the whole code is a bit bigger for that.

I've queued the export of cc_vendor already so that the parallel CPU
bringup stuff can use it:

https://git.kernel.org/tip/5ae57743f578725a5dadb6f31d7798ee55e6e967

Thx.

Borislav Petkov (AMD) (2):
x86/coco: Mark cc_platform_has() and descendants noinstr
x86/sev: Get rid of special sev_es_enable_key

arch/x86/coco/core.c | 8 ++++----
arch/x86/include/asm/sev.h | 11 +++++++----
arch/x86/kernel/sev.c | 5 -----
3 files changed, 11 insertions(+), 13 deletions(-)

--
2.35.1