Re: [PING] [PATCH FOR v3.19 - v2] iommu/ipmmu-vmsa: change IOMMU_EXEC to IOMMU_NOEXEC

2014-12-20 Thread Laurent Pinchart
Hi Joerg, Ping ? On Monday 15 December 2014 20:41:13 Laurent Pinchart wrote: > From: Laurent Pinchart > > Commit a720b41c41f5a7e4 ("iommu/arm-smmu: change IOMMU_EXEC to > IOMMU_NOEXEC") has inverted and replaced the IOMMU_EXEC flag with > IOMMU_NOEXEC. Update the driver accordingly. > > Signed

[PATCH] iommu/amd: Track when amd_iommu_v2 init is complete

2014-12-20 Thread Oded Gabbay
This patch adds a new exported function to amd_iommu_v2, which returns 1 if the amd_iommu_v2 initialization function has completed, and 0 otherwise. This is necessary for the case when amd_iommu_v2 is compiled inside the kernel image (not as module) and another module (e.g. amdkfd), which is also

Re: [PATCH] iommu/amd: Track when amd_iommu_v2 init is complete

2014-12-20 Thread Oded Gabbay
On 12/20/2014 10:12 PM, Oded Gabbay wrote: > This patch adds a new exported function to amd_iommu_v2, which returns 1 if > the > amd_iommu_v2 initialization function has completed, and 0 otherwise. > > This is necessary for the case when amd_iommu_v2 is compiled inside the kernel > image (not a

Re: [RFC PATCH 2/2] iommu: rockchip: Handle system-wide and runtime PM

2014-12-20 Thread Laurent Pinchart
Hi Kevin, On Friday 19 December 2014 03:27:35 Rafael J. Wysocki wrote: > On Thursday, December 18, 2014 11:28:58 PM Laurent Pinchart wrote: > > Hi Kevin, > > [cut] > > It would be better to be able to reference count the DMA engine from > the bus master IMO and arguably you can use the r

Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2014-12-20 Thread Paolo Bonzini
On 20/12/2014 00:48, Wu, Feng wrote: > In my understanding, lowest priority interrupts are always delivered to a > Single CPU, we need to find the right destination CPU from the cpumask. Yes, but which CPU however differs every time the interrupt is delivered. So the emulation here is a bit poo