x86/compressed/acpi: Move EFI vendor table lookup to helper
authorMichael Roth <michael.roth@amd.com>
Thu, 24 Feb 2022 16:56:07 +0000 (10:56 -0600)
committerBorislav Petkov <bp@suse.de>
Wed, 6 Apr 2022 15:07:19 +0000 (17:07 +0200)
commitdee602dd5d1489b5aa4651c561dfbe90eaee1589
treeb18372999eb9b221d6e08de6baaf69a4298a4233
parent61c14ceda8405f37545a0983d6b9bc45c6236793
x86/compressed/acpi: Move EFI vendor table lookup to helper

Future patches for SEV-SNP-validated CPUID will also require early
parsing of the EFI configuration. Incrementally move the related code
into a set of helpers that can be re-used for that purpose.

  [ bp: Unbreak unnecessarily broken lines. ]

Signed-off-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220307213356.2797205-28-brijesh.singh@amd.com
arch/x86/boot/compressed/acpi.c
arch/x86/boot/compressed/efi.c
arch/x86/boot/compressed/misc.h