]> git.baikalelectronics.ru Git - kernel.git/commit
x86/compressed/acpi: Move EFI config table lookup to helper
authorMichael Roth <michael.roth@amd.com>
Thu, 24 Feb 2022 16:56:06 +0000 (10:56 -0600)
committerBorislav Petkov <bp@suse.de>
Wed, 6 Apr 2022 15:07:15 +0000 (17:07 +0200)
commit1511cd9dfce6dffc37ffc51bbae34739d2e43717
tree8887f353afc3096b316f3c43487c89f55fdc54b3
parentb16d297002912c0ec93a67412c1227a977002b2f
x86/compressed/acpi: Move EFI config 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: Remove superfluous zeroing of a stack variable. ]

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