Re: [RFC 2/4] arm64: mm: parse dma-ranges in order to better estimate arm64_dma_phys_limit

2019-07-24 Thread Catalin Marinas
On Wed, Jul 17, 2019 at 05:31:33PM +0200, Nicolas Saenz Julienne wrote: > The dma physical limit has so far been calculated based on the memory > size and the assumption that dma would be at least able to address the > first 4 GB. This turned out no to be true with the Raspberry Pi 4 > which, on

[RFC 2/4] arm64: mm: parse dma-ranges in order to better estimate arm64_dma_phys_limit

2019-07-17 Thread Nicolas Saenz Julienne
The dma physical limit has so far been calculated based on the memory size and the assumption that dma would be at least able to address the first 4 GB. This turned out no to be true with the Raspberry Pi 4 which, on it's main interconnect, can only address the first GB of memory, even though it