RE: [PATCH v3] PM-runtime: fix deadlock with ktime

2019-02-04 Thread Biju Das
Hi Vincent, Thanks for the feedback. > Subject: Re: [PATCH v3] PM-runtime: fix deadlock with ktime > > On Fri, 1 Feb 2019 at 16:48, Vincent Guittot > wrote: > > > > On Fri, 1 Feb 2019 at 16:44, Biju Das wrote: > > > > > > Hi Vincent, > > >

Re: [PATCH v3] PM-runtime: fix deadlock with ktime

2019-02-01 Thread Vincent Guittot
rg> On Behalf Of Vincent Guittot > > > Sent: 01 February 2019 15:29 > > > To: Biju Das > > > Cc: Rafael J. Wysocki ; Linux PM > > p...@vger.kernel.org>; Linux Kernel Mailing List > > ker...@vger.kernel.org>; Linux ARM > > ker...@lists.infradead.o

Re: [PATCH v3] PM-runtime: fix deadlock with ktime

2019-02-01 Thread Vincent Guittot
l.org>; Linux ARM > ker...@lists.infradead.org>; Linux OMAP Mailing List > o...@vger.kernel.org>; Rafael J. Wysocki ; Ulf > > Hansson ; Geert Uytterhoeven > m68k.org>; Linux-Renesas > > Subject: Re: [PATCH v3] PM-runtime: fix deadlock with ktime > > > &g

Re: [PATCH v3] PM-runtime: fix deadlock with ktime

2019-02-01 Thread Vincent Guittot
/0x118 > > [ 194.057208] multi_cpu_stop+0x8c/0x140 > > [ 194.060970] cpu_stopper_thread+0xac/0x120 > > [ 194.065087] smpboot_thread_fn+0x1ac/0x2c8 > > [ 194.069198] kthread+0x128/0x130 > > [ 194.072439] ret_from_fork+0x10/0x18 > > > > > > R

RE: [PATCH v3] PM-runtime: fix deadlock with ktime

2019-02-01 Thread Biju Das
fradead.org>; Linux OMAP Mailing List o...@vger.kernel.org>; Rafael J. Wysocki ; Ulf > Hansson ; Geert Uytterhoeven m68k.org>; Linux-Renesas > Subject: Re: [PATCH v3] PM-runtime: fix deadlock with ktime > > On Fri, 1 Feb 2019 at 16:02, Biju Das wrote: > > > > Hi Vi

Re: [PATCH v3] PM-runtime: fix deadlock with ktime

2019-02-01 Thread Vincent Guittot
> > From: Rafael J. Wysocki > > Sent: 30 January 2019 21:53 > > To: Vincent Guittot > > Cc: Linux PM ; Linux Kernel Mailing List > ker...@vger.kernel.org>; Linux ARM > ker...@lists.infradead.org>; Linux OMAP Mailing List > o...@vger.kernel.org>; Ra

RE: [PATCH v3] PM-runtime: fix deadlock with ktime

2019-02-01 Thread Biju Das
ux PM ; Linux Kernel Mailing List ker...@vger.kernel.org>; Linux ARM ker...@lists.infradead.org>; Linux OMAP Mailing List o...@vger.kernel.org>; Rafael J. Wysocki ; Ulf > Hansson ; Biju Das ; > Geert Uytterhoeven ; Linux-Renesas renesas-...@vger.kernel.org> > Subject: Re: [PA

Re: [PATCH v3] PM-runtime: fix deadlock with ktime

2019-01-30 Thread Rafael J. Wysocki
On Wed, Jan 30, 2019 at 6:26 PM Vincent Guittot wrote: > > A deadlock has been seen when swicthing clocksources which use PM runtime. > The call path is: > change_clocksource > ... > write_seqcount_begin > ... > timekeeping_update > ... > sh_cmt_clocksource_enable

[PATCH v3] PM-runtime: fix deadlock with ktime

2019-01-30 Thread Vincent Guittot
A deadlock has been seen when swicthing clocksources which use PM runtime. The call path is: change_clocksource ... write_seqcount_begin ... timekeeping_update ... sh_cmt_clocksource_enable ... rpm_resume