Re: [PATCH v5 1/3] iommu/rockchip: rk3288 iommu driver

2014-10-27 Thread Daniel Kurtz
On Mon, Oct 27, 2014 at 4:32 AM, Heiko Stübner wrote: > Hi Daniel, > > Am Freitag, 24. Oktober 2014, 15:33:47 schrieb Daniel Kurtz: > > [...] > >> +static int rk_iommu_attach_device(struct iommu_domain *domain, >> + struct device *dev) >> +{ >> + struct rk_iommu *

Re: [PATCH v5 1/3] iommu/rockchip: rk3288 iommu driver

2014-10-26 Thread Heiko Stübner
Hi Daniel, Am Freitag, 24. Oktober 2014, 15:33:47 schrieb Daniel Kurtz: [...] > +static int rk_iommu_attach_device(struct iommu_domain *domain, > + struct device *dev) > +{ > + struct rk_iommu *iommu = dev_get_drvdata(dev->archdata.iommu); Here I get a null-ptr

[PATCH v5 1/3] iommu/rockchip: rk3288 iommu driver

2014-10-24 Thread Daniel Kurtz
The rk3288 has several iommus. Each iommu belongs to a single master device. There is one device (ISP) that has two slave iommus, but that case is not yet supported by this driver. At subsys init, the iommu driver registers itself as the iommu driver for the platform bus. The master devices fin

Re: [PATCH v5 1/3] iommu/rockchip: rk3288 iommu driver

2014-10-22 Thread Joerg Roedel
On Tue, Oct 14, 2014 at 04:02:40PM +0800, Daniel Kurtz wrote: > +static void rk_iommu_detach_device(struct iommu_domain *domain, > +struct device *dev) > +{ > + struct rk_iommu *iommu = dev_get_drvdata(dev->archdata.iommu); > + struct rk_iommu_domain *rk_doma

Re: [PATCH v5 1/3] iommu/rockchip: rk3288 iommu driver

2014-10-17 Thread Joerg Roedel
On Fri, Oct 17, 2014 at 10:22:13AM +0800, Daniel Kurtz wrote: > Gentle ping. > > Any more feedback on the rockchip iommu driver? I'll look at it in more detail when the merge window is over. Joerg ___ iommu mailing list iommu@lists.linux-foun

Re: [PATCH v5 1/3] iommu/rockchip: rk3288 iommu driver

2014-10-16 Thread Daniel Kurtz
On Tue, Oct 14, 2014 at 4:02 PM, Daniel Kurtz wrote: > The rk3288 has several iommus. Each iommu belongs to a single master > device. There is one device (ISP) that has two slave iommus, but that > case is not yet supported by this driver. > > At subsys init, the iommu driver registers itself as

[PATCH v5 1/3] iommu/rockchip: rk3288 iommu driver

2014-10-14 Thread Daniel Kurtz
The rk3288 has several iommus. Each iommu belongs to a single master device. There is one device (ISP) that has two slave iommus, but that case is not yet supported by this driver. At subsys init, the iommu driver registers itself as the iommu driver for the platform bus. The master devices fin