Re: [PATCH/RFC] iommu/ipmmu-vmsa: Update ->add_device() return value

2016-09-22 Thread Robin Murphy
On 20/09/16 16:03, Magnus Damm wrote: > Hi Robin, > > Thanks for your feedback!! > > On Tue, Sep 20, 2016 at 10:18 PM, Robin Murphy wrote: >> Hi Magnus, >> >> On 20/09/16 13:41, Magnus Damm wrote: >>> From: Magnus Damm >>> >>> Update the IPMMU

Re: [GIT PULL] iommu/arm-smmu: Updates for 4.9

2016-09-22 Thread Joerg Roedel
On Tue, Sep 20, 2016 at 11:25:34AM +0100, Will Deacon wrote: > Hi Joerg, > > Please pull these significant arm-smmu updates for 4.9. The vast majority > of the code here is Robin's series to move the drivers over to the > generic DT bindings, which finally hooks up the DMA API and MSI mapping >

Re: [PATCH v5 00/07] iommu/ipmmu-vmsa: IPMMU multi-arch update V5

2016-09-22 Thread Joerg Roedel
On Tue, Sep 20, 2016 at 10:43:55PM +0900, Magnus Damm wrote: > iommu/ipmmu-vmsa: IPMMU multi-arch update V5 > > [PATCH v5 01/07] iommu/ipmmu-vmsa: Remove platform data handling > [PATCH v5 02/07] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for > context > [PATCH v5 03/07]

Re: [PATCH v5 05/07] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-09-22 Thread Joerg Roedel
On Tue, Sep 20, 2016 at 10:44:46PM +0900, Magnus Damm wrote: > +#ifdef CONFIG_IOMMU_DMA > + > +static struct iommu_domain *ipmmu_domain_alloc_dma(unsigned type) > +{ > + struct iommu_domain *io_domain; > + > + if (type != IOMMU_DOMAIN_DMA) > + return NULL; > + > + io_domain