Re: [tip regression] efi: Allow drivers to reserve boot services forever == toxic
From: Matt Fleming
Date: Fri Sep 16 2016 - 05:32:04 EST
On Fri, 16 Sep, at 08:05:12AM, Mike Galbraith wrote:
> Hi Matt,
>
> My workstation started instant rebooting with tip. I bisected it to..
>
> efi/esrt: Use efi_mem_reserve() and avoid a kmalloc()
>
> ..but seems it's really $subject, as box works fine with the below.
>
> ---
> drivers/firmware/efi/efi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> --- a/drivers/firmware/efi/efi.c
> +++ b/drivers/firmware/efi/efi.c
> @@ -415,6 +415,7 @@ void __init efi_mem_reserve(phys_addr_t
> {
> if (!memblock_is_region_reserved(addr, size))
> memblock_reserve(addr, size);
> + else
>
> /*
> * Some architectures (x86) reserve all boot services ranges
>
>
> No idea what's going boom down in efi_arch_mem_reserve().
Urgh, that's bad. Which machine is this? Can you paste the dmesg after
booting with the efi=debug kernel parameter, either with your above
patch or with the commit reverted?