Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-08-12 Thread Heiko Stübner
Am Dienstag, 11. August 2015, 15:34:09 schrieb Stephen Boyd: > On 07/30, Maxime Ripard wrote: > > On Mon, Jul 27, 2015 at 10:57:33AM +0200, Heiko Stübner wrote: > > > did this lead anywhere meanwhile. > > > > > > Last I remember the change to orphan handling made sunxi fail, but > > > I'm still ho

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-08-11 Thread Stephen Boyd
On 07/30, Maxime Ripard wrote: > On Mon, Jul 27, 2015 at 10:57:33AM +0200, Heiko Stübner wrote: > > > > did this lead anywhere meanwhile. > > > > Last I remember the change to orphan handling made sunxi fail, but > > I'm still hoping to get this usable at some point :-) > > To be honest, I don't

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-07-30 Thread Maxime Ripard
Hi Heiko, On Mon, Jul 27, 2015 at 10:57:33AM +0200, Heiko Stübner wrote: > > > Also we can try to see if critical clocks aren't being forced on by > > > applying this patch and looking for clk_get() failures > > > > And that shows that the CPU and DDR clocks are not protected, which > > obviously

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-07-27 Thread Heiko Stübner
Hi Maxime, Stephen, Am Freitag, 8. Mai 2015, 12:02:47 schrieb Maxime Ripard: > On Thu, May 07, 2015 at 02:03:57PM -0700, Stephen Boyd wrote: > > On 05/07/15 08:17, Kevin Hilman wrote: > > > On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd wrote: > > >> On 05/01/15 15:07, Heiko Stübner wrote: > > >>>

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-13 Thread Maxime Ripard
On Wed, May 13, 2015 at 01:44:50PM -0700, Kevin Hilman wrote: > On Wed, May 13, 2015 at 1:14 PM, Maxime Ripard > wrote: > > On Wed, May 13, 2015 at 07:33:54AM -0700, Kevin Hilman wrote: > >> Maxime Ripard writes: > >> > >> > On Tue, May 12, 2015 at 03:35:50PM -0700, Stephen Boyd wrote: > >> >> On

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-13 Thread Kevin Hilman
On Wed, May 13, 2015 at 1:14 PM, Maxime Ripard wrote: > On Wed, May 13, 2015 at 07:33:54AM -0700, Kevin Hilman wrote: >> Maxime Ripard writes: >> >> > On Tue, May 12, 2015 at 03:35:50PM -0700, Stephen Boyd wrote: >> >> On 05/08/15 03:02, Maxime Ripard wrote: >> >> > On Thu, May 07, 2015 at 02:03:

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-13 Thread Maxime Ripard
On Wed, May 13, 2015 at 07:33:54AM -0700, Kevin Hilman wrote: > Maxime Ripard writes: > > > On Tue, May 12, 2015 at 03:35:50PM -0700, Stephen Boyd wrote: > >> On 05/08/15 03:02, Maxime Ripard wrote: > >> > On Thu, May 07, 2015 at 02:03:57PM -0700, Stephen Boyd wrote: > >> >> On 05/07/15 08:17, Ke

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-13 Thread Kevin Hilman
Maxime Ripard writes: > On Tue, May 12, 2015 at 03:35:50PM -0700, Stephen Boyd wrote: >> On 05/08/15 03:02, Maxime Ripard wrote: >> > On Thu, May 07, 2015 at 02:03:57PM -0700, Stephen Boyd wrote: >> >> On 05/07/15 08:17, Kevin Hilman wrote: >> >>> On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd >>

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-13 Thread Maxime Ripard
On Tue, May 12, 2015 at 03:35:50PM -0700, Stephen Boyd wrote: > On 05/08/15 03:02, Maxime Ripard wrote: > > On Thu, May 07, 2015 at 02:03:57PM -0700, Stephen Boyd wrote: > >> On 05/07/15 08:17, Kevin Hilman wrote: > >>> On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd wrote: > On 05/01/15 15:07,

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-12 Thread Stephen Boyd
On 05/08/15 03:02, Maxime Ripard wrote: > On Thu, May 07, 2015 at 02:03:57PM -0700, Stephen Boyd wrote: >> On 05/07/15 08:17, Kevin Hilman wrote: >>> On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd wrote: On 05/01/15 15:07, Heiko Stübner wrote: > Am Freitag, 1. Mai 2015, 13:52:47 schrieb Ste

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-08 Thread Tero Kristo
On 05/07/2015 09:18 PM, Stephen Boyd wrote: On 05/07/15 01:22, Tero Kristo wrote: On 05/02/2015 02:40 AM, Stephen Boyd wrote: On 05/01/15 15:07, Heiko Stübner wrote: Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: Instead I guess we could hook it less deep into clk_get_sys, like in t

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-08 Thread Maxime Ripard
On Thu, May 07, 2015 at 02:03:57PM -0700, Stephen Boyd wrote: > On 05/07/15 08:17, Kevin Hilman wrote: > > On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd wrote: > >> On 05/01/15 15:07, Heiko Stübner wrote: > >>> Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: > >>> > > Instead I guess we

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-08 Thread Sascha Hauer
On Fri, May 08, 2015 at 11:30:19AM +0200, Heiko Stübner wrote: > Am Freitag, 8. Mai 2015, 10:13:55 schrieb Sascha Hauer: > > On Thu, May 07, 2015 at 11:53:18PM -0700, Stephen Boyd wrote: > > > On 05/07, Kevin Hilman wrote: > > > > On Thu, May 7, 2015 at 2:03 PM, Stephen Boyd > wrote: > > > > > On

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-08 Thread Heiko Stübner
Am Freitag, 8. Mai 2015, 10:13:55 schrieb Sascha Hauer: > On Thu, May 07, 2015 at 11:53:18PM -0700, Stephen Boyd wrote: > > On 05/07, Kevin Hilman wrote: > > > On Thu, May 7, 2015 at 2:03 PM, Stephen Boyd wrote: > > > > On 05/07/15 08:17, Kevin Hilman wrote: > > > >> On Fri, May 1, 2015 at 4:40 P

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-08 Thread Sascha Hauer
On Thu, May 07, 2015 at 11:53:18PM -0700, Stephen Boyd wrote: > On 05/07, Kevin Hilman wrote: > > On Thu, May 7, 2015 at 2:03 PM, Stephen Boyd wrote: > > > On 05/07/15 08:17, Kevin Hilman wrote: > > >> On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd > > >> wrote: > > >>> On 05/01/15 15:07, Heiko St

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-07 Thread Stephen Boyd
On 05/07, Kevin Hilman wrote: > On Thu, May 7, 2015 at 2:03 PM, Stephen Boyd wrote: > > On 05/07/15 08:17, Kevin Hilman wrote: > >> On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd wrote: > >>> On 05/01/15 15:07, Heiko Stübner wrote: > Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: > >>

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-07 Thread Kevin Hilman
On Thu, May 7, 2015 at 2:03 PM, Stephen Boyd wrote: > On 05/07/15 08:17, Kevin Hilman wrote: >> On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd wrote: >>> On 05/01/15 15:07, Heiko Stübner wrote: Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: >> Instead I guess we could hook it

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-07 Thread Stephen Boyd
On 05/07/15 08:17, Kevin Hilman wrote: > On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd wrote: >> On 05/01/15 15:07, Heiko Stübner wrote: >>> Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: >>> > Instead I guess we could hook it less deep into clk_get_sys, like in the > following pat

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-07 Thread Stephen Boyd
On 05/07/15 01:22, Tero Kristo wrote: > On 05/02/2015 02:40 AM, Stephen Boyd wrote: >> On 05/01/15 15:07, Heiko Stübner wrote: >>> Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: >>> > Instead I guess we could hook it less deep into clk_get_sys, like > in the > following patch?

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-07 Thread Kevin Hilman
On Fri, May 1, 2015 at 4:40 PM, Stephen Boyd wrote: > On 05/01/15 15:07, Heiko Stübner wrote: >> Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: >> Instead I guess we could hook it less deep into clk_get_sys, like in the following patch? >>> It looks like it will work at least, b

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-07 Thread Tero Kristo
On 05/02/2015 02:40 AM, Stephen Boyd wrote: On 05/01/15 15:07, Heiko Stübner wrote: Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: Instead I guess we could hook it less deep into clk_get_sys, like in the following patch? It looks like it will work at least, but still I'd prefer to ke

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-01 Thread Stephen Boyd
On 05/01/15 15:07, Heiko Stübner wrote: > Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: > >>> Instead I guess we could hook it less deep into clk_get_sys, like in the >>> following patch? >> It looks like it will work at least, but still I'd prefer to keep the >> orphan check contained to

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-01 Thread Heiko Stübner
Am Freitag, 1. Mai 2015, 13:52:47 schrieb Stephen Boyd: > On 05/01/15 12:59, Heiko Stübner wrote: > > Am Donnerstag, 30. April 2015, 17:19:01 schrieb Stephen Boyd: > >> On 04/22, Heiko Stuebner wrote: > >>> Using orphan clocks can introduce strange behaviour as they don't have > >>> rate informatio

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-01 Thread Stephen Boyd
On 05/01/15 12:59, Heiko Stübner wrote: > Am Donnerstag, 30. April 2015, 17:19:01 schrieb Stephen Boyd: >> On 04/22, Heiko Stuebner wrote: >>> Using orphan clocks can introduce strange behaviour as they don't have >>> rate information at all and also of course don't track >>> >>> This v2/v3 takes i

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-05-01 Thread Heiko Stübner
Am Donnerstag, 30. April 2015, 17:19:01 schrieb Stephen Boyd: > On 04/22, Heiko Stuebner wrote: > > Using orphan clocks can introduce strange behaviour as they don't have > > rate information at all and also of course don't track > > > > This v2/v3 takes into account suggestions from Stephen Boyd

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-04-30 Thread Stephen Boyd
On 04/22, Heiko Stuebner wrote: > Using orphan clocks can introduce strange behaviour as they don't have > rate information at all and also of course don't track > > This v2/v3 takes into account suggestions from Stephen Boyd to not try to > walk the clock tree at runtime but instead keep track o

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-04-26 Thread Robert Jarzmik
Heiko Stuebner writes: > Using orphan clocks can introduce strange behaviour as they don't have > rate information at all and also of course don't track Ok, everything works as before on some pxa platforms. As pxa clocks support is not even fully mainline, this test is not the best you could get

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-04-25 Thread Heiko Stübner
Hi Stefan, Am Samstag, 25. April 2015, 14:23:39 schrieb Stefan Wahren: > > Heiko Stuebner hat am 22. April 2015 um 22:53 > > geschrieben: > > > > > > Using orphan clocks can introduce strange behaviour as they don't have > > rate information at all and also of course don't track > > > > [...]

Re: [PATCH v3 0/2] clk: improve handling of orphan clocks

2015-04-25 Thread Stefan Wahren
Hi Heiko, > Heiko Stuebner hat am 22. April 2015 um 22:53 geschrieben: > > > Using orphan clocks can introduce strange behaviour as they don't have > rate information at all and also of course don't track > > [...] > > > As this changes the behaviour for orphan clocks, it would of course > benefi