x86/head64: Carve out the guest encryption postprocessing into a helper
authorBorislav Petkov <bp@suse.de>
Wed, 10 Nov 2021 22:06:52 +0000 (16:06 -0600)
committerBorislav Petkov <bp@suse.de>
Mon, 15 Nov 2021 20:05:14 +0000 (21:05 +0100)
commit5ed0a99b12aa2dd09afe7ba485145529b89f26e6
treeac22731b989ce3457c69ce7aef97c320c3417cdf
parentdbc4c70e3cdfe204a67dd66bed78709ee3000ec0
x86/head64: Carve out the guest encryption postprocessing into a helper

Carve it out so that it is abstracted out of the main boot path. All
other encrypted guest-relevant processing should be placed in there.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211110220731.2396491-7-brijesh.singh@amd.com
arch/x86/kernel/head64.c