Re: [PATCH/RFC 00/03] irqchip: renesas-irqc: Fine grained Runtime PM support

2015-05-08 Thread Kevin Hilman
Geert Uytterhoeven writes: > On Thu, Apr 23, 2015 at 4:44 PM, Alan Stern wrote: >> On Thu, 23 Apr 2015, Geert Uytterhoeven wrote: >>> >> I'm afraid you can't call pm_runtime_get_sync() from these methods, as >>> >> they may be called from interrupt context. >>> > >>> > Ouch. I know the clock fra

Re: [PATCH/RFC 00/03] irqchip: renesas-irqc: Fine grained Runtime PM support

2015-04-23 Thread Geert Uytterhoeven
On Thu, Apr 23, 2015 at 4:44 PM, Alan Stern wrote: > On Thu, 23 Apr 2015, Geert Uytterhoeven wrote: >> >> I'm afraid you can't call pm_runtime_get_sync() from these methods, as >> >> they may be called from interrupt context. >> > >> > Ouch. I know the clock framework has prepare/enable separated

Re: [PATCH/RFC 00/03] irqchip: renesas-irqc: Fine grained Runtime PM support

2015-04-23 Thread Alan Stern
On Thu, 23 Apr 2015, Geert Uytterhoeven wrote: > >> I'm afraid you can't call pm_runtime_get_sync() from these methods, as > >> they may be called from interrupt context. > > > > Ouch. I know the clock framework has prepare/enable separated with > > context, but with the irqchip callbacks I suppos

Re: [PATCH/RFC 00/03] irqchip: renesas-irqc: Fine grained Runtime PM support

2015-04-23 Thread Geert Uytterhoeven
Hi Magnus, On Thu, Apr 23, 2015 at 10:10 AM, Magnus Damm wrote: > On Wed, Apr 22, 2015 at 2:56 AM, Geert Uytterhoeven > wrote: >> On Tue, Apr 21, 2015 at 5:01 PM, Magnus Damm wrote: >>> These patches attempt to convert the IRQC driver from using a mix of clock >>> framework and Runtime PM into

Re: [PATCH/RFC 00/03] irqchip: renesas-irqc: Fine grained Runtime PM support

2015-04-23 Thread Magnus Damm
Hi Geert, On Wed, Apr 22, 2015 at 2:56 AM, Geert Uytterhoeven wrote: > Hi Magnus, > > On Tue, Apr 21, 2015 at 5:01 PM, Magnus Damm wrote: >> irqchip: renesas-irqc: Fine grained Runtime PM support >> >> [PATCH/RFC 01/03] irqchip: renesas-irqc: Add irq_enable() and irq_disable() >> [PATCH/RFC 02/0

Re: [PATCH/RFC 00/03] irqchip: renesas-irqc: Fine grained Runtime PM support

2015-04-21 Thread Geert Uytterhoeven
Hi Magnus, On Tue, Apr 21, 2015 at 5:01 PM, Magnus Damm wrote: > irqchip: renesas-irqc: Fine grained Runtime PM support > > [PATCH/RFC 01/03] irqchip: renesas-irqc: Add irq_enable() and irq_disable() > [PATCH/RFC 02/03] irqchip: renesas-irqc: Add fine grained Runtime PM code > [PATCH/RFC 03/03] i