Re: [PATCH] platform: Fix platform device resource linking

2013-02-11 Thread Pantelis Antoniou
Hi Grant, On Feb 9, 2013, at 12:02 AM, Grant Likely wrote: > On Fri, 18 Jan 2013 11:05:14 +0200, Pantelis Antoniou > wrote: >> Hi Greg, >> >> On Jan 18, 2013, at 5:00 AM, Greg Kroah-Hartman wrote: >> >>> On Thu, Jan 17, 2013 at 07:27:21PM +0200, Pantelis Antoniou wrote: >> In a nutshell,

Re: [PATCH] platform: Fix platform device resource linking

2013-02-08 Thread Grant Likely
On Fri, 18 Jan 2013 11:05:14 +0200, Pantelis Antoniou wrote: > Hi Greg, > > On Jan 18, 2013, at 5:00 AM, Greg Kroah-Hartman wrote: > > > On Thu, Jan 17, 2013 at 07:27:21PM +0200, Pantelis Antoniou wrote: > In a nutshell, we have to exercise the platform device subsystem, in ways > tha

Re: [PATCH] platform: Fix platform device resource linking

2013-01-18 Thread Pantelis Antoniou
Hi Greg, On Jan 18, 2013, at 9:47 PM, Greg Kroah-Hartman wrote: > On Fri, Jan 18, 2013 at 11:05:14AM +0200, Pantelis Antoniou wrote: >> It might make sense for the of_device_* functions that are duplicating >> platform_device_* functions to be removed, and their functionality to >> be subsumed

Re: [PATCH] platform: Fix platform device resource linking

2013-01-18 Thread Greg Kroah-Hartman
On Fri, Jan 18, 2013 at 11:05:14AM +0200, Pantelis Antoniou wrote: > It might make sense for the of_device_* functions that are duplicating > platform_device_* functions to be removed, and their functionality to > be subsumed by platform_device_*, possibly by calling some helper functions > in dr

Re: [PATCH] platform: Fix platform device resource linking

2013-01-18 Thread Pantelis Antoniou
Hi Greg, On Jan 18, 2013, at 5:00 AM, Greg Kroah-Hartman wrote: > On Thu, Jan 17, 2013 at 07:27:21PM +0200, Pantelis Antoniou wrote: In a nutshell, we have to exercise the platform device subsystem, in ways that never happened before, so all sorts of weird bugs that no-one has seen

Re: [PATCH] platform: Fix platform device resource linking

2013-01-17 Thread Greg Kroah-Hartman
On Thu, Jan 17, 2013 at 07:27:21PM +0200, Pantelis Antoniou wrote: > >> In a nutshell, we have to exercise the platform device subsystem, in ways > >> that never happened before, so all sorts of weird bugs that no-one has seen > >> before. > > > > Why do you have to do this? What are you doing th

Re: [PATCH] platform: Fix platform device resource linking

2013-01-17 Thread Pantelis Antoniou
Hi Greg, On Jan 17, 2013, at 7:07 PM, Greg Kroah-Hartman wrote: > On Thu, Jan 17, 2013 at 06:50:19PM +0200, Pantelis Antoniou wrote: >> >> On Jan 17, 2013, at 6:31 PM, Greg Kroah-Hartman wrote: >> >>> On Fri, Jan 04, 2013 at 12:43:46AM +0200, Pantelis Antoniou wrote: Hi Greg, On

Re: [PATCH] platform: Fix platform device resource linking

2013-01-17 Thread Greg Kroah-Hartman
On Thu, Jan 17, 2013 at 06:50:19PM +0200, Pantelis Antoniou wrote: > > On Jan 17, 2013, at 6:31 PM, Greg Kroah-Hartman wrote: > > > On Fri, Jan 04, 2013 at 12:43:46AM +0200, Pantelis Antoniou wrote: > >> Hi Greg, > >> > >> On Jan 4, 2013, at 12:40 AM, Greg Kroah-Hartman wrote: > >> > >>> On Fri

Re: [PATCH] platform: Fix platform device resource linking

2013-01-17 Thread Pantelis Antoniou
On Jan 17, 2013, at 6:31 PM, Greg Kroah-Hartman wrote: > On Fri, Jan 04, 2013 at 12:43:46AM +0200, Pantelis Antoniou wrote: >> Hi Greg, >> >> On Jan 4, 2013, at 12:40 AM, Greg Kroah-Hartman wrote: >> >>> On Fri, Jan 04, 2013 at 12:31:10AM +0200, Pantelis Antoniou wrote: Platform device rem

Re: [PATCH] platform: Fix platform device resource linking

2013-01-17 Thread Greg Kroah-Hartman
On Fri, Jan 04, 2013 at 12:43:46AM +0200, Pantelis Antoniou wrote: > Hi Greg, > > On Jan 4, 2013, at 12:40 AM, Greg Kroah-Hartman wrote: > > > On Fri, Jan 04, 2013 at 12:31:10AM +0200, Pantelis Antoniou wrote: > >> Platform device removal uncovered a number of problems with > >> the way resources

Re: [PATCH] platform: Fix platform device resource linking

2013-01-03 Thread Pantelis Antoniou
Hi Greg, On Jan 4, 2013, at 12:40 AM, Greg Kroah-Hartman wrote: > On Fri, Jan 04, 2013 at 12:31:10AM +0200, Pantelis Antoniou wrote: >> Platform device removal uncovered a number of problems with >> the way resources are handled in the core platform code. >> >> Resources now form child/parent li

Re: [PATCH] platform: Fix platform device resource linking

2013-01-03 Thread Greg Kroah-Hartman
On Fri, Jan 04, 2013 at 12:31:10AM +0200, Pantelis Antoniou wrote: > Platform device removal uncovered a number of problems with > the way resources are handled in the core platform code. > > Resources now form child/parent linkages and this requires > proper linking of the resources. On top of th

[PATCH] platform: Fix platform device resource linking

2013-01-03 Thread Pantelis Antoniou
Platform device removal uncovered a number of problems with the way resources are handled in the core platform code. Resources now form child/parent linkages and this requires proper linking of the resources. On top of that the OF core directly creates it's own platform devices. Simplify things by