[U-Boot] [PATCH] efi_loader: fix bug in efi_get_memory_map

Alexander Graf agraf at suse.de
Wed Jul 26 20:10:21 UTC 2017



On 26.07.17 20:34, Rob Clark wrote:
> When booting shim -> fallback -> shim -> grub -> linux the memory map is
> a bit larger than the size linux passes in on the first call.  But in
> the EFI_BUFFER_TOO_SMALL case we were not passing back the updated size
> to linux so it would loop forever.
> 
> Signed-off-by: Rob Clark <robdclark at gmail.com>

The spec is actually very explicit about this case. It says in the 
EFI_BUFFER_TOO_SMALL case, we *have* to return the map size.


Alex


More information about the U-Boot mailing list