[PATCH] arm64: Remove arm64_dma32_phys_limit and its uses

Nicolas Saenz Julienne nsaenzjulienne at suse.de
Mon Jan 11 14:04:44 EST 2021


On Thu, 2021-01-07 at 18:40 +0000, Catalin Marinas wrote:
> With the introduction of a dynamic ZONE_DMA range based on DT or IORT
> information, there's no need for CMA allocations from the wider
> ZONE_DMA32 since on most platforms ZONE_DMA will cover the 32-bit
> addressable range. Remove the arm64_dma32_phys_limit and set
> arm64_dma_phys_limit to cover the smallest DMA range required on the
> platform. CMA allocation and crashkernel reservation now goes in
> the dynamically sized ZONE_DMA.
> 
> Signed-off-by: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
> Cc: Chen Zhou <chenzhou10 at huawei.com>
> ---



Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
Tested-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de> # On RPi4B

Regards,
Nicolas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210111/ac6e6740/attachment.sig>


More information about the linux-arm-kernel mailing list