WSL2-Linux-Kernel/arch/x86/boot/compressed
Maarten Lankhorst 2d2da60fb4 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 <m.b.lankhorst@gmail.com>
Link: http://lkml.kernel.org/r/4EEB3A02.3090201@gmail.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2011-12-16 08:34:35 -08:00
..
.gitignore x86, boot: add new generated files to the appropriate .gitignore files 2009-06-02 21:13:30 -07:00
Makefile x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
cmdline.c x86, setup: enable early console output from the decompressor 2010-08-02 20:32:20 -07:00
early_serial_console.c x86, setup: enable early console output from the decompressor 2010-08-02 20:32:20 -07:00
eboot.c x86, efi: Break up large initrd reads 2011-12-16 08:34:35 -08:00
eboot.h x86, efi: Break up large initrd reads 2011-12-16 08:34:35 -08:00
efi_stub_32.S x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
efi_stub_64.S x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
head_32.S x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
head_64.S x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
misc.c x86: support XZ-compressed kernel 2011-01-13 08:03:25 -08:00
misc.h x86, setup: move isdigit.h to ctype.h, header files on top. 2010-08-02 21:07:20 -07:00
mkpiggy.c x86, build: Make sure mkpiggy fails on read error 2011-03-01 16:32:03 -08:00
relocs.c Revert "endian: #define __BYTE_ORDER" 2010-05-26 08:30:15 -07:00
string.c x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
vmlinux.lds.S x86, setup: Allow global variables and functions in the decompressor 2010-08-02 15:34:44 -07:00