Re: [PATCH] dra7: sata: Fix SATA with CONFIG_ARM_LPAE enabled

From: Christoph Hellwig
Date: Thu Mar 05 2020 - 10:16:42 EST


On Thu, Mar 05, 2020 at 12:30:56PM +0000, Robin Murphy wrote:
> Right - LPAE configs should be getting dma-direct ops since 5.3, which
> already respect the limit. For non-LPAE configs it means you go from being
> broken from having no limit at all, to having a limit set but not
> respected, which is still equally broken, but no *more* so than before.

Actually, dma-direct doesn't automatically respect the bus limit. For
various architectures including arm it uses the arch_dma_alloc callout,
which for arm just uses the existing arm coherent allocator.

Thay being said I'm still looking for reviewers for the arm dma coherent
allocator bus limit fix..