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

2021-02-10 Thread Geert Uytterhoeven
Hi Stephen, On Thu, Feb 11, 2021 at 4:35 AM Stephen Boyd wrote: > Quoting Nicolas Pitre (2021-01-25 11:29:18) > > 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 tha

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

2021-01-27 Thread Rafael J. Wysocki
On Mon, Jan 25, 2021 at 8:29 PM 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 f

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

2021-01-26 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