Re: [PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-21 Thread Nicolas Pitre
On Thu, 21 Jan 2021, Rafael J. Wysocki wrote: > On Thu, Jan 21, 2021 at 1:11 PM Naresh Kamboju > wrote: > > > > ref: > > https://builds.tuxbuild.com/1nN0vkpNP4qhvIuIJN12j7tTpQs/ > > So I'm going to drop this patch from linux-next until the issue is > resolved, thanks! No problem - I'm on it. T

Re: [PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-21 Thread Rafael J. Wysocki
On Thu, Jan 21, 2021 at 1:11 PM Naresh Kamboju wrote: > > On Thu, 21 Jan 2021 at 16:28, Geert Uytterhoeven wrote: > > > > On Thu, Jan 21, 2021 at 10:13 AM Naresh Kamboju > > wrote: > > > On Tue, 5 Jan 2021 at 08:48, Nicolas Pitre wrote: > > > > > > > > The clock API splits its interface into sl

Re: [PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-21 Thread Geert Uytterhoeven
On Thu, Jan 21, 2021 at 10:13 AM Naresh Kamboju wrote: > On Tue, 5 Jan 2021 at 08:48, Nicolas Pitre wrote: > > > > The clock API splits its interface into sleepable ant atomic contexts: > > > > - clk_prepare/clk_unprepare for stuff that might sleep > > > > - clk_enable_clk_disable for anything th

Re: [PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-21 Thread Naresh Kamboju
On Thu, 21 Jan 2021 at 16:28, Geert Uytterhoeven wrote: > > On Thu, Jan 21, 2021 at 10:13 AM Naresh Kamboju > wrote: > > On Tue, 5 Jan 2021 at 08:48, Nicolas Pitre wrote: > > > > > > The clock API splits its interface into sleepable ant atomic contexts: > > > > > > - clk_prepare/clk_unprepare fo

Re: [PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-21 Thread Naresh Kamboju
Hi Nicolas, On Tue, 5 Jan 2021 at 08:48, Nicolas Pitre wrote: > > The clock API splits its interface into sleepable ant atomic contexts: > > - clk_prepare/clk_unprepare for stuff that might sleep > > - clk_enable_clk_disable for anything that may be done in atomic context > > > Signed-off-by:

Re: [PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-19 Thread Nicolas Pitre
On Tue, 19 Jan 2021, Geert Uytterhoeven wrote: > Hi Kevin, Nicolas, > > On Tue, Jan 19, 2021 at 7:45 PM Kevin Hilman wrote: > > [ + Geert.. renesas SoCs are the primary user of PM clk ] > > Thanks! > > > Nicolas Pitre writes: > > > The clock API splits its interface into sleepable ant atomic

Re: [PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-19 Thread Kevin Hilman
[ + Geert.. renesas SoCs are the primary user of PM clk ] Nicolas Pitre writes: > The clock API splits its interface into sleepable ant atomic contexts: > > - clk_prepare/clk_unprepare for stuff that might sleep > > - clk_enable_clk_disable for anything that may be done in atomic context > > The

Re: [PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-19 Thread Geert Uytterhoeven
Hi Kevin, Nicolas, On Tue, Jan 19, 2021 at 7:45 PM Kevin Hilman wrote: > [ + Geert.. renesas SoCs are the primary user of PM clk ] Thanks! > Nicolas Pitre writes: > > The clock API splits its interface into sleepable ant atomic contexts: > > > > - clk_prepare/clk_unprepare for stuff that might

Re: [PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-19 Thread Rafael J. Wysocki
On Mon, Jan 18, 2021 at 12:50 AM Nicolas Pitre wrote: > > Ping. Applied as 5.12 material, sorry for the delay. Thanks! > On Mon, 4 Jan 2021, Nicolas Pitre wrote: > > > The clock API splits its interface into sleepable ant atomic contexts: > > > > - clk_prepare/clk_unprepare for stuff that migh

Re: [PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-17 Thread Nicolas Pitre
Ping. On Mon, 4 Jan 2021, Nicolas Pitre wrote: > The clock API splits its interface into sleepable ant atomic contexts: > > - clk_prepare/clk_unprepare for stuff that might sleep > > - clk_enable_clk_disable for anything that may be done in atomic context > > The code handling runtime PM for c

[PATCH] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-04 Thread Nicolas Pitre
The clock API splits its interface into sleepable ant atomic contexts: - clk_prepare/clk_unprepare for stuff that might sleep - clk_enable_clk_disable for anything that may be done in atomic context The code handling runtime PM for clocks only calls clk_disable() on suspend requests, and clk_ena