]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/smpboot: Allow parallel bringup for SEV-ES parallel-6.2-v15
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 7 Mar 2023 19:06:50 +0000 (19:06 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 11 Mar 2023 10:17:25 +0000 (10:17 +0000)
commitbbbfad4f9985d99d066ea2aafacae0274787a3cd
tree84c4cab7c3387d353e1dc96ec556ac4422dc71a4
parentd5398832e544c5715588ba988ae75a90c7266b02
x86/smpboot: Allow parallel bringup for SEV-ES

Enable parallel bringup for SEV-ES guests. The APs can't actually
execute the CPUID instruction directly during early startup, but they
can make the GHCB call directly instead, just as the VC trap handler
would do.

Thanks to Sabin for talking me through the way this works.

Suggested-by: Sabin Rapan <sabrapan@amazon.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
arch/x86/coco/core.c
arch/x86/include/asm/coco.h
arch/x86/include/asm/sev-common.h
arch/x86/include/asm/smp.h
arch/x86/kernel/head_64.S
arch/x86/kernel/smpboot.c