From 6e58c0148bc1778798b30e55798fce1b8b3bed51 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Fri, 13 Jun 2025 23:10:22 +0000 Subject: [PATCH] Reland "libpayload: arm64: Reduce DMA allocator space to 1MB" This reverts commit 4199351c1b29fad6c8b1d4ed916de3aa44c03924 which originally reverted aedc177f000a3fd62c75f555c116ad956443ab1e. Reason for revert: CB:88063 fixed the bug that this patch exposed. Change-Id: Ic7a798b4b9236b8c0c7ad8568562d11071ae96a9 Signed-off-by: Julius Werner Reviewed-on: https://review.coreboot.org/c/coreboot/+/88097 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- payloads/libpayload/include/arm64/arch/mmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/libpayload/include/arm64/arch/mmu.h b/payloads/libpayload/include/arm64/arch/mmu.h index 2b1e9e120c..9ed951d336 100644 --- a/payloads/libpayload/include/arm64/arch/mmu.h +++ b/payloads/libpayload/include/arm64/arch/mmu.h @@ -161,7 +161,7 @@ extern char _start[], _end[]; #define TCR_TBI_USED (0x0 << TCR_TBI_SHIFT) #define TCR_TBI_IGNORED (0x1 << TCR_TBI_SHIFT) -#define DMA_DEFAULT_SIZE (32 * MiB) +#define DMA_DEFAULT_SIZE (1 * MiB) #define TTB_DEFAULT_SIZE 0x100000 #define MB_SIZE (1UL << 20)