summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/setup.ld
diff options
context:
space:
mode:
authorMichael Roth <michael.roth@amd.com>2022-02-24 10:56:08 -0600
committerBorislav Petkov <bp@suse.de>2022-04-06 17:07:24 +0200
commit824f37783189a48db914488fb41eba36ec57ebb7 (patch)
treea4429fed17dab41d3650a86e1865f8d335074a3e /arch/x86/boot/setup.ld
parentdee602dd5d1489b5aa4651c561dfbe90eaee1589 (diff)
downloadlinux-824f37783189a48db914488fb41eba36ec57ebb7.tar.bz2
x86/compressed/acpi: Move EFI kexec handling into common code
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. In this instance, the current acpi.c kexec handling is mainly used to get the alternative EFI config table address provided by kexec via a setup_data entry of type SETUP_EFI. If not present, the code then falls back to normal EFI config table address provided by EFI system table. This would need to be done by all call-sites attempting to access the EFI config table, so just have efi_get_conf_table() handle that automatically. 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-29-brijesh.singh@amd.com
Diffstat (limited to 'arch/x86/boot/setup.ld')
0 files changed, 0 insertions, 0 deletions