grub/grub-core/loader
Leif Lindholm 5c6a46110d efi/fdt: Set address/size cells to 2 for empty tree
When booting an arm* system on UEFI with an empty device tree (currently
only when hardware description comes from ACPI), we don't currently set
default to 1 cell (32 bits).

Set both of these properties, to 2 cells (64 bits), to resolve issues
with kexec on some platforms.

This change corresponds with linux kernel commit ae8a442dfdc4
("efi/libstub/arm*: Set default address and size cells values for an empty dtb")
and ensures booting through grub does not behave differently from booting
the stub loader directly.

See also https://patchwork.kernel.org/patch/9561201/

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-09-21 13:19:10 -04:00
..
arm arm: switch linux loader to linux_arm_kernel_header struct 2020-09-21 12:16:25 -04:00
arm64 arm64: align linux kernel magic macro naming with i386 2020-09-21 12:16:25 -04:00
efi efi/fdt: Set address/size cells to 2 for empty tree 2020-09-21 13:19:10 -04:00
i386 chainloader: patch in BPB's sectors_per_track and num_heads 2020-09-21 12:16:25 -04:00
ia64/efi Remove grub_efi_allocate_pages. 2020-09-21 12:02:37 -04:00
mips Use full initializer for initrd_ctx to avoid fatal warnings with older GCC 2014-10-14 20:12:15 +04:00
powerpc/ieee1275 Use full initializer for initrd_ctx to avoid fatal warnings with older GCC 2014-10-14 20:12:15 +04:00
sparc64/ieee1275 OBP available region contains grub. Start at grub_phys_end. 2016-02-12 23:16:03 +01:00
aout.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
linux.c Make TPM errors less fatal 2016-10-13 14:01:52 -07:00
lzss.c Add LZSS Mach-O support (needed for new xnu kernelcache). 2012-02-29 13:26:13 +01:00
macho.c Add missing license section in macbless.mod and macho.mod. 2013-12-18 17:11:11 +01:00
macho32.c * grub-core/loader/machoXX.c: Fix compilation on non-i386. 2013-12-17 22:44:46 +01:00
macho64.c * grub-core/loader/machoXX.c: Fix compilation on non-i386. 2013-12-17 22:44:46 +01:00
machoXX.c Simplify few strings. 2013-05-07 11:44:15 +02:00
multiboot.c Fix compilation for x86_64-efi. 2020-09-21 12:02:37 -04:00
multiboot_elfxx.c mbi: Use per segment a separate relocator chunk 2020-09-21 13:19:10 -04:00
multiboot_mbi2.c multiboot: disentangle multiboot and multiboot2. 2020-09-21 12:02:37 -04:00
xnu.c loader/xnu: fix memory leak. 2015-01-27 22:12:06 +03:00
xnu_resume.c * grub-core/loader/xnu_resume.c (grub_xnu_resume): Reject empty images. 2013-10-28 14:25:22 +01:00