Re: [PATCH] iommu/arm-smmu: Only return IRQ_NONE if FSR is not set

2015-10-06 Thread Mitchel Humpherys
On Mon, Oct 05 2015 at 03:24:03 PM, Will Deacon wrote: > Hi Mitch, > > On Sat, Sep 26, 2015 at 01:12:05AM +0100, Mitchel Humpherys wrote: >> Currently we return IRQ_NONE from the context fault handler if the FSR >> doesn't actually have the fault bit set (some sort of miswired >> interrupt?) or if

Re: [dm-devel] AMD-Vi IO_PAGE_FAULTs and ata3.00: failed command: READ FPDMA QUEUED errors since Linux 4.0

2015-10-06 Thread Andreas Hartmann
On 10/06/2015 at 12:13 PM, Joerg Roedel wrote: > On Wed, Sep 30, 2015 at 04:52:47PM +0200, Andreas Hartmann wrote: >>> Alternativly someone who can reproduce it should trace the calls to >>> __map_single and __unmap_single in the AMD IOMMU driver to find out >>> whether the addresses which the faul

[PATCH v2] iommu/arm-smmu: Add support for MSI on SMMUv3

2015-10-06 Thread Marc Zyngier
Despite being a platform device, the SMMUv3 is capable of signaling interrupts using MSIs. Hook it into the platform MSI framework and enjoy faults being reported in a new and exciting way. Signed-off-by: Marc Zyngier --- Now rebased on top of Will's iommu/devel branch, which leads to a slightly

[PATCH] iommu/arm-smmu: Add support for MSI on SMMUv3

2015-10-06 Thread Marc Zyngier
Despite being a platform device, the SMMUv3 is capable of signaling interrupts using MSIs. Hook it into the platform MSI framework and enjoy faults being reported in a new and exciting way. Signed-off-by: Marc Zyngier --- drivers/iommu/arm-smmu-v3.c | 78 +

Re: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT

2015-10-06 Thread Sudeep Dutt
On Tue, 2015-10-06 at 09:33 +0100, gre...@linuxfoundation.org wrote: > On Tue, Oct 06, 2015 at 01:05:27AM -0700, Sudeep Dutt wrote: > > On Tue, 2015-10-06 at 08:56 +0100, gre...@linuxfoundation.org wrote: > > > On Mon, Oct 05, 2015 at 10:23:38PM -0700, Sudeep Dutt wrote: > > > > On Tue, 2015-10-06

Re: [PATCH v6 2/3] arm64: Add IOMMU dma_ops

2015-10-06 Thread Yong Wu
On Thu, 2015-10-01 at 20:13 +0100, Robin Murphy wrote: > Taking some inspiration from the arch/arm code, implement the > arch-specific side of the DMA mapping ops using the new IOMMU-DMA layer. > > Since there is still work to do elsewhere to make DMA configuration happen > in a more appropriate o

Re: [PATCH] iommu/s390: add iommu api for s390 pci devices

2015-10-06 Thread Joerg Roedel
On Thu, Aug 27, 2015 at 03:33:03PM +0200, Gerald Schaefer wrote: > This adds an IOMMU API implementation for s390 PCI devices. > > Reviewed-by: Sebastian Ott > Signed-off-by: Gerald Schaefer > --- > MAINTAINERS | 7 + > arch/s390/Kconfig | 1 + > arch/s390/

Re: [PATCH] iommu/s390: add iommu api for s390 pci devices

2015-10-06 Thread Joerg Roedel
On Thu, Oct 01, 2015 at 07:30:28PM +0200, Gerald Schaefer wrote: > Yes, the DMA API is already implemented in arch/s390/pci/pci_dma.c. > I thought about moving it over to the new location in drivers/iommu/, > but I don't see any benefit from it. Okay, this is true for now. At some point we hopeful

Re: [dm-devel] AMD-Vi IO_PAGE_FAULTs and ata3.00: failed command: READ FPDMA QUEUED errors since Linux 4.0

2015-10-06 Thread Joerg Roedel
On Wed, Sep 30, 2015 at 04:52:47PM +0200, Andreas Hartmann wrote: > > Alternativly someone who can reproduce it should trace the calls to > > __map_single and __unmap_single in the AMD IOMMU driver to find out > > whether the addresses which the faults happen on are really mapped, or > > at least r

Re: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT

2015-10-06 Thread gre...@linuxfoundation.org
On Tue, Oct 06, 2015 at 01:05:27AM -0700, Sudeep Dutt wrote: > On Tue, 2015-10-06 at 08:56 +0100, gre...@linuxfoundation.org wrote: > > On Mon, Oct 05, 2015 at 10:23:38PM -0700, Sudeep Dutt wrote: > > > On Tue, 2015-10-06 at 06:20 +0100, gre...@linuxfoundation.org wrote: > > > > On Tue, Oct 06, 201

Re: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT

2015-10-06 Thread Sudeep Dutt
On Tue, 2015-10-06 at 08:56 +0100, gre...@linuxfoundation.org wrote: > On Mon, Oct 05, 2015 at 10:23:38PM -0700, Sudeep Dutt wrote: > > On Tue, 2015-10-06 at 06:20 +0100, gre...@linuxfoundation.org wrote: > > > On Tue, Oct 06, 2015 at 06:12:40AM +0100, gre...@linuxfoundation.org > > > wrote: > > >

Re: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT

2015-10-06 Thread gre...@linuxfoundation.org
On Mon, Oct 05, 2015 at 10:23:38PM -0700, Sudeep Dutt wrote: > On Tue, 2015-10-06 at 06:20 +0100, gre...@linuxfoundation.org wrote: > > On Tue, Oct 06, 2015 at 06:12:40AM +0100, gre...@linuxfoundation.org wrote: > > > On Mon, Oct 05, 2015 at 10:38:43AM -0700, Sudeep Dutt wrote: > > > > On Mon, 2015