x86/sev: Move the SNP probe routine out of the way
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 2 Dec 2024 20:50:49 +0000 (14:50 -0600)
committerBorislav Petkov (AMD) <bp@alien8.de>
Sat, 14 Dec 2024 10:08:48 +0000 (11:08 +0100)
commite2f3d40df82eeb70f6c3602418bca63c54183776
tree347c4235ee61af4f9038d91bac983c1468d9bbfc
parent4972808d6f4a2b4c10eb3035d769f2e1a003da2f
x86/sev: Move the SNP probe routine out of the way

To make patch review easier for the segmented RMP support, move the SNP
probe function out from in between the initialization-related routines.

No functional change.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Nikunj A Dadhania <nikunj@amd.com>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Link: https://lore.kernel.org/r/6c2975bbf132d567dd12e1435be1d18c0bf9131c.1733172653.git.thomas.lendacky@amd.com
arch/x86/virt/svm/sev.c