Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-08-11 Thread Lorenzo Pieralisi
On Mon, Jul 25, 2016 at 04:51:00PM +0100, Robin Murphy wrote: > On 25/07/16 16:41, Lorenzo Pieralisi wrote: > [...] > >>> diff --git a/include/linux/of_iommu.h b/include/linux/of_iommu.h > >>> index 308791f..2362232 100644 > >>> --- a/include/linux/of_iommu.h > >>> +++ b/include/linux/of_iommu.h >

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-08-11 Thread Lorenzo Pieralisi
On Mon, Jul 25, 2016 at 04:51:00PM +0100, Robin Murphy wrote: > On 25/07/16 16:41, Lorenzo Pieralisi wrote: > [...] > >>> diff --git a/include/linux/of_iommu.h b/include/linux/of_iommu.h > >>> index 308791f..2362232 100644 > >>> --- a/include/linux/of_iommu.h > >>> +++ b/include/linux/of_iommu.h >

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Lorenzo Pieralisi
On Mon, Jul 25, 2016 at 04:51:00PM +0100, Robin Murphy wrote: > On 25/07/16 16:41, Lorenzo Pieralisi wrote: > [...] > >>> diff --git a/include/linux/of_iommu.h b/include/linux/of_iommu.h > >>> index 308791f..2362232 100644 > >>> --- a/include/linux/of_iommu.h > >>> +++ b/include/linux/of_iommu.h >

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Lorenzo Pieralisi
On Mon, Jul 25, 2016 at 04:51:00PM +0100, Robin Murphy wrote: > On 25/07/16 16:41, Lorenzo Pieralisi wrote: > [...] > >>> diff --git a/include/linux/of_iommu.h b/include/linux/of_iommu.h > >>> index 308791f..2362232 100644 > >>> --- a/include/linux/of_iommu.h > >>> +++ b/include/linux/of_iommu.h >

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Lorenzo Pieralisi
On Mon, Jul 25, 2016 at 10:21:10AM -0500, Rob Herring wrote: > On Mon, Jul 25, 2016 at 10:09 AM, Robin Murphy wrote: > > Hi Lorenzo, > > > > On 20/07/16 12:23, Lorenzo Pieralisi wrote: > >> The iommu_fwspec structure, used to hold per device iommu configuration > >> data is

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Lorenzo Pieralisi
On Mon, Jul 25, 2016 at 10:21:10AM -0500, Rob Herring wrote: > On Mon, Jul 25, 2016 at 10:09 AM, Robin Murphy wrote: > > Hi Lorenzo, > > > > On 20/07/16 12:23, Lorenzo Pieralisi wrote: > >> The iommu_fwspec structure, used to hold per device iommu configuration > >> data is not OF specific and

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Robin Murphy
On 25/07/16 16:41, Lorenzo Pieralisi wrote: [...] >>> diff --git a/include/linux/of_iommu.h b/include/linux/of_iommu.h >>> index 308791f..2362232 100644 >>> --- a/include/linux/of_iommu.h >>> +++ b/include/linux/of_iommu.h >>> @@ -15,13 +15,8 @@ extern void of_iommu_init(void); >>> extern const

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Robin Murphy
On 25/07/16 16:41, Lorenzo Pieralisi wrote: [...] >>> diff --git a/include/linux/of_iommu.h b/include/linux/of_iommu.h >>> index 308791f..2362232 100644 >>> --- a/include/linux/of_iommu.h >>> +++ b/include/linux/of_iommu.h >>> @@ -15,13 +15,8 @@ extern void of_iommu_init(void); >>> extern const

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Lorenzo Pieralisi
On Mon, Jul 25, 2016 at 04:09:55PM +0100, Robin Murphy wrote: > Hi Lorenzo, > > On 20/07/16 12:23, Lorenzo Pieralisi wrote: > > The iommu_fwspec structure, used to hold per device iommu configuration > > data is not OF specific and therefore can be moved to a generic > > and OF independent

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Lorenzo Pieralisi
On Mon, Jul 25, 2016 at 04:09:55PM +0100, Robin Murphy wrote: > Hi Lorenzo, > > On 20/07/16 12:23, Lorenzo Pieralisi wrote: > > The iommu_fwspec structure, used to hold per device iommu configuration > > data is not OF specific and therefore can be moved to a generic > > and OF independent

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Rob Herring
On Mon, Jul 25, 2016 at 10:09 AM, Robin Murphy wrote: > Hi Lorenzo, > > On 20/07/16 12:23, Lorenzo Pieralisi wrote: >> The iommu_fwspec structure, used to hold per device iommu configuration >> data is not OF specific and therefore can be moved to a generic >> and OF

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Rob Herring
On Mon, Jul 25, 2016 at 10:09 AM, Robin Murphy wrote: > Hi Lorenzo, > > On 20/07/16 12:23, Lorenzo Pieralisi wrote: >> The iommu_fwspec structure, used to hold per device iommu configuration >> data is not OF specific and therefore can be moved to a generic >> and OF independent compilation unit.

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Robin Murphy
Hi Lorenzo, On 20/07/16 12:23, Lorenzo Pieralisi wrote: > The iommu_fwspec structure, used to hold per device iommu configuration > data is not OF specific and therefore can be moved to a generic > and OF independent compilation unit. > > In particular, the iommu_fwspec handling hinges on the

Re: [RFC PATCH v3 05/13] drivers: iommu: make iommu_fwspec OF agnostic

2016-07-25 Thread Robin Murphy
Hi Lorenzo, On 20/07/16 12:23, Lorenzo Pieralisi wrote: > The iommu_fwspec structure, used to hold per device iommu configuration > data is not OF specific and therefore can be moved to a generic > and OF independent compilation unit. > > In particular, the iommu_fwspec handling hinges on the