Re: [PATCH] efi: don't iterate over EFI vars pointlessly if no SSDT override was specified

2019-09-19 Thread Scott Talbert
On Thu, 12 Sep 2019, Ard Biesheuvel wrote: The kernel command line option efivar_ssdt= allows a EFI variable name to be specified which contains an ACPI SSDT table that will be loaded into memory by the OS. Currently, that code will always iterate over the EFI variables and compare each name wi

[PATCH v2] x86, efi: never relocate kernel below lowest acceptable address

2019-09-19 Thread Kairui Song
Currently, kernel fails to boot on some HyperV VMs when using EFI. And it's a potential issue on all platforms. It's caused a broken kernel relocation on EFI systems, when below three conditions are met: 1. Kernel image is not loaded to the default address (LOAD_PHYSICAL_ADDR) by the loader. 2