Re: [PATCH] NTB: ntb_transport: Ensure the destination buffer is mapped for TX DMA

2019-02-11 Thread Jon Mason
On Fri, Jan 18, 2019 at 05:25:20PM -0700, Dave Jiang wrote: > > > On 1/18/19 5:10 PM, Logan Gunthorpe wrote: > > Presently, when ntb_transport is used with DMA and the IOMMU turned on, > > it fails with errors from the IOMMU such as: > > > > DMAR: DRHD: handling fault status reg 202 > >

Re: [PATCH] NTB: ntb_transport: Ensure the destination buffer is mapped for TX DMA

2019-01-18 Thread Dave Jiang
On 1/18/19 5:10 PM, Logan Gunthorpe wrote: > Presently, when ntb_transport is used with DMA and the IOMMU turned on, > it fails with errors from the IOMMU such as: > > DMAR: DRHD: handling fault status reg 202 > DMAR: [DMA Write] Request device [00:04.0] fault addr > 381fc034

[PATCH] NTB: ntb_transport: Ensure the destination buffer is mapped for TX DMA

2019-01-18 Thread Logan Gunthorpe
Presently, when ntb_transport is used with DMA and the IOMMU turned on, it fails with errors from the IOMMU such as: DMAR: DRHD: handling fault status reg 202 DMAR: [DMA Write] Request device [00:04.0] fault addr 381fc034 [fault reason 05] PTE Write access is not set This is