[PATCH] [PATCH] ARM64: Setup DMA32 zone size by bootargs
Phil Chang
phil.chang at mediatek.com
Thu Sep 24 10:15:14 EDT 2020
Actually, In a embedded system with 3GB memory, the memory bus width is not the same among the 3GB.
(The first 2GB is 48-bit wide, and the latter 1GB is 16-bit wide.)
For memory throughput reason of hardware IPs, we need allocate memory from the first 2GB for
the hardware IPs. And that is why we setup the first 2GB as DMA_ZONE, and use GFP_DMA to allocate
memory from the range.
More information about the linux-arm-kernel
mailing list