On Sun, Mar 31, 2019 at 12:50:21PM +0300, Oded Gabbay wrote: > Due to some limitation in Goya, the driver first need to allocate a > 2MB chunk in a DMA-able address under 39 bits and then we would like > to move to using up to 48 bits. Therefore, the driver first tries to > set the DMA mask to 39 bits, allocate the 2MB area and later on, > change the DMA mask to 48 bits. On x86 this works fine.
You can't just change the DMA mask while you have active allocations, this will fail for many implementations.