Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1307857

Re: [RFC PATCH V2 3/8] genirq: Add runtime power management support for IRQ chips

From Sören Brinkmann <soren.brinkmann@xilinx.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH V2 3/8] genirq: Add runtime power management support for IRQ chips
Date 2016-01-12 22:50 +0100
Message-ID <qQeZd-6Mv-37@gated-at.bofh.it> (permalink)
References <qGErU-6H4-11@gated-at.bofh.it> <qGErV-6H4-27@gated-at.bofh.it> <qQcb0-4UQ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 2016-01-12 at 08:40PM +0200, Grygorii Strashko wrote:
> Hi Jon,
> 
> On 12/17/2015 12:48 PM, Jon Hunter wrote:
> > Some IRQ chips may be located in a power domain outside of the CPU
> > subsystem and hence will require device specific runtime power management.
> > In order to support such IRQ chips, add a pointer for a device structure
> > to the irq_chip structure, and if this pointer is populated by the IRQ
> > chip driver and the flag CHIP_HAS_RPM is set, then the pm_runtime_get/put
> > APIs for this chip will be called when an IRQ is requested/freed,
> > respectively.
> > 
> > Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> 
> I've tried to test these patches with OMAP GPIO and I see it works, in general.
> "In general" - because OMAP GPIO has some code which is expected to be used
> very late during suspend or when entering deep CPUIdle states, so I can't use
> this approach "out-of-the-box" until i find the way to sort it out.
> 
> Hope some one else can try to test it with GPIO. Soren?

I try to find the person who had the failing test that triggered my
involvement. That would basically just cover the case that the GPIO
controller is used as IRQ controller and needs to be enabled even if no
GPIO has been requested.
Suspend/resume may be more difficult. We have some out-of-tree code for
that. But unfortunately not 100% stable. I'll check what happens and
report back.

	Thanks,
	Sören

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH V2 3/8] genirq: Add runtime power management support  for IRQ chips Grygorii Strashko <grygorii.strashko@ti.com> - 2016-01-12 19:50 +0100
  Re: [RFC PATCH V2 3/8] genirq: Add runtime power management support  for IRQ chips Sören Brinkmann <soren.brinkmann@xilinx.com> - 2016-01-12 22:50 +0100

csiph-web