Re: [PATCH] arm64: mm: Fix ARCH_LOW_ADDRESS_LIMIT when !CONFIG_ZONE_DMA

2021-01-04 Thread Catalin Marinas
On Fri, 18 Dec 2020 17:33:07 +0100, Nicolas Saenz Julienne wrote: > Systems configured with CONFIG_ZONE_DMA32, CONFIG_ZONE_NORMAL and > !CONFIG_ZONE_DMA will fail to properly setup ARCH_LOW_ADDRESS_LIMIT. The > limit will default to ~0ULL, effectively spanning the whole memory, > which is too high

[PATCH] arm64: mm: Fix ARCH_LOW_ADDRESS_LIMIT when !CONFIG_ZONE_DMA

2020-12-18 Thread Nicolas Saenz Julienne
Systems configured with CONFIG_ZONE_DMA32, CONFIG_ZONE_NORMAL and !CONFIG_ZONE_DMA will fail to properly setup ARCH_LOW_ADDRESS_LIMIT. The limit will default to ~0ULL, effectively spanning the whole memory, which is too high for a configuration that expects low memory to be capped at 4GB. Fix