]> Git Repo - linux.git/commit
x86/sev: Detect/setup SEV/SME features earlier in boot
authorMichael Roth <[email protected]>
Wed, 9 Feb 2022 18:10:02 +0000 (12:10 -0600)
committerBorislav Petkov <[email protected]>
Wed, 6 Apr 2022 11:02:26 +0000 (13:02 +0200)
commitbcce829083339bf862d66df602cbb111943da8fb
tree7e7a7045dce184d60217670d8c22a7066125bd27
parentec1c66af3a30d45c2420da0974c01d3515dba26e
x86/sev: Detect/setup SEV/SME features earlier in boot

sme_enable() handles feature detection for both SEV and SME. Future
patches will also use it for SEV-SNP feature detection/setup, which
will need to be done immediately after the first #VC handler is set up.
Move it now in preparation.

Signed-off-by: Michael Roth <[email protected]>
Signed-off-by: Brijesh Singh <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Venu Busireddy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/x86/kernel/head64.c
arch/x86/kernel/head_64.S
This page took 0.049078 seconds and 4 git commands to generate.