Re: [PATCH v3 0/8] Fix breakage caused by the NTB multi-port patchset

2019-02-11 Thread Jon Mason
On Wed, Jan 09, 2019 at 12:22:25PM -0700, Logan Gunthorpe wrote: > Hey, > > I'm resending this because I've recently found out that the change we > made to use the NTB struct device in DMA allocations is wrong and > needs to be reverted. Turns out that, when running with an IOMMU, >

Re: [PATCH v3 0/8] Fix breakage caused by the NTB multi-port patchset

2019-01-09 Thread Logan Gunthorpe
On 2019-01-09 12:32 p.m., Dave Jiang wrote: >> I'm resending this because I've recently found out that the change we >> made to use the NTB struct device in DMA allocations is wrong and >> needs to be reverted. Turns out that, when running with an IOMMU, >> dma_alloc_coherent() will always fail

Re: [PATCH v3 0/8] Fix breakage caused by the NTB multi-port patchset

2019-01-09 Thread Dave Jiang
On 1/9/19 12:22 PM, Logan Gunthorpe wrote: > Hey, > > I'm resending this because I've recently found out that the change we > made to use the NTB struct device in DMA allocations is wrong and > needs to be reverted. Turns out that, when running with an IOMMU, > dma_alloc_coherent() will always

[PATCH v3 0/8] Fix breakage caused by the NTB multi-port patchset

2019-01-09 Thread Logan Gunthorpe
Hey, I'm resending this because I've recently found out that the change we made to use the NTB struct device in DMA allocations is wrong and needs to be reverted. Turns out that, when running with an IOMMU, dma_alloc_coherent() will always fail if you pass it the NTB struct device. This is