From: Tom Rini Date: Thu, 26 Jun 2025 19:45:43 +0000 (-0600) Subject: Merge patch series "sandbox: align LMB memory" X-Git-Tag: v2025.10-rc1~91^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=778c552f86ab781abd8360592ff261707fdefaa7;p=thirdparty%2Fu-boot.git Merge patch series "sandbox: align LMB memory" Heinrich Schuchardt says: To implement the EFI_SYSTEM_TABLE_POINTER we need 4 MiB aligned memory. On the sandbox LMB uses addresses relative to the start of a page aligned RAM buffer allocated with mmap(). This leads to a mismatch of alignment between EFI which uses pointers and LMB which uses phys_addr_t. Ensure that the RAM buffer used for LMB is 4 MiB aligned. Provide a unit test for efi_alloc_aligned_pages() verifying this alignment. Do not overwrite RAM size in dram_init(). Link: https://lore.kernel.org/r/20250608075428.32631-1-heinrich.schuchardt@canonical.com --- 778c552f86ab781abd8360592ff261707fdefaa7