Re: [PATCH v1 2/2] dma-mapping-common: add DMA attribute - DMA_ATTR_IOMMU_BYPASS

2015-11-01 Thread Shamir Rabinovitch
On Thu, Oct 29, 2015 at 10:35:25PM +, David Woodhouse wrote: > > > > Could this be mitigated using pools? I don't know if the net code > > would play along easily. > > For the receive side, it shouldn't be beyond the wit of man to > introduce an API which allocates *and* DMA-maps a skb. Pass

Re: [PATCH v1 2/2] dma-mapping-common: add DMA attribute - DMA_ATTR_IOMMU_BYPASS

2015-11-01 Thread Benjamin Herrenschmidt
On Sun, 2015-11-01 at 09:45 +0200, Shamir Rabinovitch wrote: > Not sure this use case is possible for Infiniband where application hold > the data buffers and there is no way to force application to re use the > buffer as suggested. > > This is why I think there will be no easy way to bypass the

Re: [kbuild-all] [PATCH 5/6] KVM: PPC: Book3S HV: Send IPI to host core to wake VCPU

2015-11-01 Thread Fengguang Wu
Hi Suresh, Sorry for the noise! Do you have a git tree that the robot can monitor and test? In this case of one patchset depending on another, there is no chance for the robot to do valid testing based on emailed patches. Thanks, Fengguang On Fri, Oct 30, 2015 at 10:16:06AM -0500, Suresh E. Wa

Re: [RFC PATCH 6/6] arm-smmu: Allow to set iommu mapping for MSI

2015-11-01 Thread Pranavkumar Sawargaonkar
Hi Bharat, On 6 October 2015 at 15:56, Bhushan Bharat wrote: > > >> -Original Message- >> From: Alex Williamson [mailto:alex.william...@redhat.com] >> Sent: Tuesday, October 06, 2015 4:25 AM >> To: Bhushan Bharat-R65777 >> Cc: kvm...@lists.cs.columbia.edu; kvm@vger.kernel.org; >> christo

Re: [PATCH v1 2/2] dma-mapping-common: add DMA attribute - DMA_ATTR_IOMMU_BYPASS

2015-11-01 Thread Shamir Rabinovitch
On Mon, Nov 02, 2015 at 08:10:49AM +1100, Benjamin Herrenschmidt wrote: > But but but ... > > What I don't understand is how that brings you any safety. Limited safety maybe? If some device DMA mappings are via IOMMU and this fall to some address range that is far from the bypass / pass through