Re: [PATCH] efi: fix for_each_efi_memory_desc_in_map() for empty memmaps

2016-05-25 Thread Mark Salter
On Wed, 2016-05-25 at 21:48 +0100, Matt Fleming wrote: > (Cc'ing Mark, the original author) > > On Wed, 25 May, at 04:36:55PM, Vitaly Kuznetsov wrote: > > > > Commit 78ce248faa3c ("efi: Iterate over efi.memmap in > > for_each_efi_memory_desc()") introduced a regression for systems booted > > with

Re: [PATCH] efi: fix for_each_efi_memory_desc_in_map() for empty memmaps

2016-05-25 Thread Matt Fleming
(Cc'ing Mark, the original author) On Wed, 25 May, at 04:36:55PM, Vitaly Kuznetsov wrote: > Commit 78ce248faa3c ("efi: Iterate over efi.memmap in > for_each_efi_memory_desc()") introduced a regression for systems booted > with 'noefi' kernel option. In particular, I observe early kernel hang in >

[PATCH] efi: fix for_each_efi_memory_desc_in_map() for empty memmaps

2016-05-25 Thread Vitaly Kuznetsov
Commit 78ce248faa3c ("efi: Iterate over efi.memmap in for_each_efi_memory_desc()") introduced a regression for systems booted with 'noefi' kernel option. In particular, I observe early kernel hang in efi_find_mirror() on for_each_efi_memory_desc() call. As we don't have efi memmap we enter this ite