Re: [PATCH] x86/PCI: sta2x11: use default DMA address translation ops

2019-10-18 Thread Nicolas Saenz Julienne
Hi Bjorn, thanks for having a look at it. On Thu, 2019-10-17 at 17:41 -0500, Bjorn Helgaas wrote: > Hi Nicolas, > > I'm hoping Christoph will chime in and one of the x86 guys will merge > this, since I'm not a DMA expert. Trivial comments/questions below. > > On Wed, Oct 16, 2019 at 06:51:37PM

Re: [PATCH] x86/PCI: sta2x11: use default DMA address translation ops

2019-10-17 Thread Bjorn Helgaas
Hi Nicolas, I'm hoping Christoph will chime in and one of the x86 guys will merge this, since I'm not a DMA expert. Trivial comments/questions below. On Wed, Oct 16, 2019 at 06:51:37PM +0200, Nicolas Saenz Julienne wrote: > The devices found behind this PCIe chip have unusual DMA mapping >

[PATCH] x86/PCI: sta2x11: use default DMA address translation ops

2019-10-16 Thread Nicolas Saenz Julienne
The devices found behind this PCIe chip have unusual DMA mapping constraints as there is an AMBA interconnect placed in between them and the different PCI endpoints. The offset between physical memory addresses and AMBA's view is provided by reading a PCI config register, which is saved and used