On Mon, Aug 6, 2018 at 5:35 AM, Christoph Hellwig <hch@xxxxxx> wrote: > Note that we already have the mechanism for firmware directed dma limits > in place, it is called the dma-ranges DT property. If we can get the > SiFive firmware to set it up properly the RISC-V swiotlb code will > just do the right thing. Does this mean we only need to set the dma-ranges property inside the pci DTS node? No changes to the driver needed?