From: Maarten Lankhorst Date: Fri, 16 Dec 2011 12:30:58 +0000 (+0100) Subject: x86, efi: Break up large initrd reads X-Git-Tag: v3.3-rc1~95^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d2da60fb40a80cc59383121ccf763e0e0e8a42a;p=pandora-kernel.git x86, efi: Break up large initrd reads The efi boot stub tries to read the entire initrd in 1 go, however some efi implementations hang if too much if asked to read too much data at the same time. After some experimentation I found out that my asrock p67 board will hang if asked to read chunks of 4MiB, so use a safe value. elilo reads in chunks of 16KiB, but since that requires many read calls I use a value of 1 MiB. hpa suggested adding individual blacklists for when systems are found where this value causes a crash. Signed-off-by: Maarten Lankhorst Link: http://lkml.kernel.org/r/4EEB3A02.3090201@gmail.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed