x86/compressed/acpi: Move EFI system table lookup to helper
authorMichael Roth <michael.roth@amd.com>
Thu, 24 Feb 2022 16:56:05 +0000 (10:56 -0600)
committerBorislav Petkov <bp@suse.de>
Wed, 6 Apr 2022 15:07:09 +0000 (17:07 +0200)
commit58f3e6b71f42f99ab5d0ab26ddf6e7ee5631f5db
treeac6b1e0154d6c952d678c23920ac930385baa812
parent7c4146e8885512719a50b641e9277a1712e052ff
x86/compressed/acpi: Move EFI system 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.

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-26-brijesh.singh@amd.com
arch/x86/boot/compressed/acpi.c
arch/x86/boot/compressed/efi.c
arch/x86/boot/compressed/misc.h