Re: Re: [PATCH] [PATCH] ARM64: Setup DMA32 zone size by bootargs

From: Phil Chang
Date: Thu Sep 24 2020 - 10:15:22 EST


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.