Question about Power8/9, PHB3/4 and setting of DMA mask
Christoph Hellwig
hch at lst.de
Thu Apr 4 05:08:28 AEDT 2019
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.
More information about the Linuxppc-dev
mailing list