Re: [PATCH] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-09-19 Thread Robin Murphy
Hi Laurent, On 19/09/17 08:07, Laurent Pinchart wrote: > Hi Liviu, > > Thank you for the patch. > > On Monday, 18 September 2017 13:04:44 EEST Liviu Dudau wrote: >> If the IPMMU driver is compiled in the kernel it will replace the >> platform bus IOMMU ops on running the ipmmu_init() function,

Re: [PATCH] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-09-19 Thread Liviu Dudau
On Tue, Sep 19, 2017 at 10:07:58AM +0300, Laurent Pinchart wrote: > Hi Liviu, > > Thank you for the patch. > > On Monday, 18 September 2017 13:04:44 EEST Liviu Dudau wrote: > > If the IPMMU driver is compiled in the kernel it will replace the > > platform bus IOMMU ops on running the

Re: [PATCH] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-09-19 Thread Laurent Pinchart
Hi Liviu, Thank you for the patch. On Monday, 18 September 2017 13:04:44 EEST Liviu Dudau wrote: > If the IPMMU driver is compiled in the kernel it will replace the > platform bus IOMMU ops on running the ipmmu_init() function, regardless > if there is any IPMMU hardware present or not. This

[PATCH] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-09-18 Thread Liviu Dudau
If the IPMMU driver is compiled in the kernel it will replace the platform bus IOMMU ops on running the ipmmu_init() function, regardless if there is any IPMMU hardware present or not. This screws up systems that just want to build a generic kernel that runs on multiple platforms and use a