summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-06-26 13:45:43 -0600
committerTom Rini <[email protected]>2025-06-26 13:45:43 -0600
commit778c552f86ab781abd8360592ff261707fdefaa7 (patch)
tree6d483f4fe8d922d6b194b8e19e813fc29cf48054 /scripts
parent7d4eacb0e68a7eb471a8dc43a5585b46ec67a333 (diff)
parent788df0536237321efcd443c74316d37451bde31c (diff)
Merge patch series "sandbox: align LMB memory"
Heinrich Schuchardt <[email protected]> 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/[email protected]
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions