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

From: Tom Lendacky
Date: Tue Apr 04 2023 - 16:20:37 EST


On 3/28/23 15:17, Borislav Petkov wrote:
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.

For the series:

Acked-by: Tom Lendacky <thomas.lendacky@xxxxxxx>


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