[tip regression] efi: Allow drivers to reserve boot services forever == toxic
From: Mike Galbraith
Date: Fri Sep 16 2016 - 02:05:36 EST
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().