Re: DMA-API mapping errors in vmw_pvscsi

2014-03-17 Thread Arvind Kumar
rtnership.com> To: "Josh Boyer" Cc: "Arvind Kumar" , "VMware PV-Drivers" , linux-scsi@vger.kernel.org, "Linux-Kernel@Vger. Kernel. Org" vger.kernel.org> Sent: Monday, March 17, 2014 10:08:10 AM Subject: Re: DMA-API mapping errors in vmw_pvscsi On Mon, 2

Re: DMA-API mapping errors in vmw_pvscsi

2014-03-17 Thread James Bottomley
On Mon, 2014-03-17 at 12:52 -0400, Josh Boyer wrote: > Hi All, > > We've had a few reports[1][2] now on the vmw_pvscsi driver throwing > DMA-API mapping errors when the DMA_API_DEBUG option is enabled. I've > included one from a recent 3.14-rc6 kernel below. Looking at > vmw_pvscsi.c, I can see

DMA-API mapping errors in vmw_pvscsi

2014-03-17 Thread Josh Boyer
Hi All, We've had a few reports[1][2] now on the vmw_pvscsi driver throwing DMA-API mapping errors when the DMA_API_DEBUG option is enabled. I've included one from a recent 3.14-rc6 kernel below. Looking at vmw_pvscsi.c, I can see pvscsi_map_buffers is missing the calls to pci_dma_mapping_error,