[PATCH v2] arm64: Ignore any DMA offsets in the max_zone_phys() calculation

Catalin Marinas catalin.marinas at arm.com
Fri Nov 20 06:39:15 EST 2020


On Wed, 18 Nov 2020 18:58:09 +0000, Catalin Marinas wrote:
> Currently, the kernel assumes that if RAM starts above 32-bit (or
> zone_bits), there is still a ZONE_DMA/DMA32 at the bottom of the RAM and
> such constrained devices have a hardwired DMA offset. In practice, we
> haven't noticed any such hardware so let's assume that we can expand
> ZONE_DMA32 to the available memory if no RAM below 4GB. Similarly,
> ZONE_DMA is expanded to the 4GB limit if no RAM addressable by
> zone_bits.

Applied to arm64 (for-next/zone-dma-default-32-bit), thanks for the
review/test!

[1/1] arm64: Ignore any DMA offsets in the max_zone_phys() calculation
      https://git.kernel.org/arm64/c/791ab8b2e3db

-- 
Catalin




More information about the linux-arm-kernel mailing list