[PATCH 5/9] PCI: host: brcmstb: add dma-ranges for inbound traffic

Christoph Hellwig hch at lst.de
Tue Oct 17 08:14:22 UTC 2017


Just took a quick look over this and I basically agree with the comments
from Robin.

What I don't understand is why you're even trying to do all these
hacky things.

It seems like the controller should simply set dma_pfn_offset for
each device hanging off it, and all the supported architectures
should be updated to obey that if they don't do so yet, and
you're done without needing this giant mess.


More information about the iommu mailing list