Re: [PATCH v2] iommu/ipmmu-vmsa: Use the ARM LPAE page table allocator

2015-01-21 Thread Laurent Pinchart
On Wednesday 21 January 2015 16:27:24 j...@8bytes.org wrote: On Wed, Jan 21, 2015 at 05:07:03PM +0200, Laurent Pinchart wrote: As you wish. I just thought you would prefer merging the series with at least one user. Yes, and with your patch there would be two users: ARM-SMMU and the VMSA

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

2015-01-21 Thread Radim Kr?má?
2015-01-20 23:04+0200, Nadav Amit: Radim Kr?má? rkrc...@redhat.com wrote: 2015-01-14 01:27+, Wu, Feng: the new hardware even doesn't consider the TPR for lowest priority interrupts delivery. A bold move ... what hardware was the first to do so? I think it was starting with

[PATCH] iommu/fsl: Fix section mismatch

2015-01-21 Thread Emil Medve
Section mismatch in reference from the variable fsl_of_pamu_driver to the function .init.text:fsl_pamu_probe() The variable fsl_of_pamu_driver references the function __init fsl_pamu_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name

Re: [PATCH v11 00/20] VFIO support for platform and ARM AMBA devices

2015-01-21 Thread Antonios Motakis
Hello Alex, On Mon, Jan 19, 2015 at 7:39 PM, Alex Williamson alex.william...@redhat.com wrote: On Tue, 2015-01-06 at 11:48 +0100, Antonios Motakis wrote: This patch series aims to implement VFIO support for platform devices that reside behind an IOMMU. Examples of such devices are devices

Re: [PATCH v2] iommu/ipmmu-vmsa: Use the ARM LPAE page table allocator

2015-01-21 Thread Laurent Pinchart
Hi Will, On Wednesday 21 January 2015 14:44:20 Will Deacon wrote: On Tue, Jan 20, 2015 at 04:30:04PM +, Laurent Pinchart wrote: Replace the custom page table allocation implementation with the standard allocator. The driver loses the ability to map 64kB chunkgs using the PTE

Re: [RFC PATCH v4 0/8] Introduce automatic DMA configuration for IOMMU masters

2015-01-21 Thread Laurent Pinchart
Hi Will, On Wednesday 21 January 2015 14:48:35 Will Deacon wrote: On Tue, Jan 20, 2015 at 04:56:03PM +, Laurent Pinchart wrote: On Monday 19 January 2015 16:06:20 Will Deacon wrote: On Fri, Nov 14, 2014 at 08:01:56PM +, Arnd Bergmann wrote: On Friday 14 November 2014 19:27:54

Re: [PATCH v2] iommu/ipmmu-vmsa: Use the ARM LPAE page table allocator

2015-01-21 Thread j...@8bytes.org
On Wed, Jan 21, 2015 at 04:58:12PM +0200, Laurent Pinchart wrote: All my other ipmmu patches have been queued by Joerg in his next branch, on which this patch is based. If you base your series on the same branch you can just queue this patch on top of it. Do you plan to submit the result to

Re: [PATCH v2] iommu/ipmmu-vmsa: Use the ARM LPAE page table allocator

2015-01-21 Thread Laurent Pinchart
Hi Joerg, On Wednesday 21 January 2015 16:05:29 j...@8bytes.org wrote: On Wed, Jan 21, 2015 at 04:58:12PM +0200, Laurent Pinchart wrote: All my other ipmmu patches have been queued by Joerg in his next branch, on which this patch is based. If you base your series on the same branch you can

Re: [PATCH v2] iommu/ipmmu-vmsa: Use the ARM LPAE page table allocator

2015-01-21 Thread Will Deacon
On Tue, Jan 20, 2015 at 04:30:04PM +, Laurent Pinchart wrote: Replace the custom page table allocation implementation with the standard allocator. The driver loses the ability to map 64kB chunkgs using the PTE contiguous hint, hence the removal of the SZ_64K page size from the IOMMU

Re: [RFC PATCH v4 0/8] Introduce automatic DMA configuration for IOMMU masters

2015-01-21 Thread Will Deacon
On Tue, Jan 20, 2015 at 04:56:03PM +, Laurent Pinchart wrote: Hi Will, Hi Laurent, Thank you for the patch. On Monday 19 January 2015 16:06:20 Will Deacon wrote: (resurrecting an old thread) On Fri, Nov 14, 2014 at 08:01:56PM +, Arnd Bergmann wrote: On Friday 14 November

Re: [PATCH v2] iommu/ipmmu-vmsa: Use the ARM LPAE page table allocator

2015-01-21 Thread j...@8bytes.org
On Wed, Jan 21, 2015 at 05:07:03PM +0200, Laurent Pinchart wrote: As you wish. I just thought you would prefer merging the series with at least one user. Yes, and with your patch there would be two users: ARM-SMMU and the VMSA IPMMU. So ideally I would apply/pull Will's patches on v3.19-rc5