Re: [PATCH v2 2/2] x86, kexec_file_load: make it work with efi=noruntime or efi=old_map

From: Borislav Petkov
Date: Mon Jan 21 2019 - 04:19:58 EST

On Mon, Jan 21, 2019 at 04:43:52PM +0800, Chao Fan wrote:
> Since I didn't see where Xen to fill the value, if
> boot_params->acpi_rsdp_addr is filled before my code, I just need to
> read it. If when I try to read it but not found, then parse RSDP and
> fill the RSDP address to boot_params->acpi_rsdp_addr.

And you can't simply do:

if (boot_params.acpi_rsdp_addr)

at the beginning of that function?


Good mailing practices for 400: avoid top-posting and trim the reply.