Re: SOC-specific action for irq_set_wake

2016-07-20 Thread Sören Brinkmann
On Wed, 2016-07-20 at 14:36:12 +0100, Marc Zyngier wrote: > Hi Sören, > > On 20/07/16 14:16, Sören Brinkmann wrote: > > Hi Marc, > > > Does anybody have similar problems and probably already solved it? > > Any other suggestions for approaching the problem? Any preferred > > solution?

Re: SOC-specific action for irq_set_wake

2016-07-20 Thread Marc Zyngier
Hi Sören, On 20/07/16 14:16, Sören Brinkmann wrote: > Hi Marc, > Does anybody have similar problems and probably already solved it? > Any other suggestions for approaching the problem? Any preferred > solution? I think we have the same problem. Can you provide more detail o

Re: SOC-specific action for irq_set_wake

2016-07-20 Thread Andy Gross
On Wed, Jul 20, 2016 at 06:16:06AM -0700, Sören Brinkmann wrote: > Hi Marc, > > On Wed, 2016-07-20 at 09:17:16 +0100, Marc Zyngier wrote: > > On 20/07/16 00:34, Sören Brinkmann wrote: > > > Hi Andy, > > > > > > On Tue, 2016-07-19 at 17:47:13 -0500, Andy Gross wrote: > > >> On Tue, Jul 19, 2016 at

Re: SOC-specific action for irq_set_wake

2016-07-20 Thread Sören Brinkmann
Hi Thomas, On Wed, 2016-07-20 at 08:28:35 +0200, Thomas Gleixner wrote: > On Tue, 19 Jul 2016, Sören Brinkmann wrote: > > we are working on the PM solution for Zynq MPSOC and ran into some > > problem when setting the wake source. > > > > The situation is that when the A53 is in suspend, the GIC(

Re: SOC-specific action for irq_set_wake

2016-07-20 Thread Sören Brinkmann
Hi Marc, On Wed, 2016-07-20 at 09:17:16 +0100, Marc Zyngier wrote: > On 20/07/16 00:34, Sören Brinkmann wrote: > > Hi Andy, > > > > On Tue, 2016-07-19 at 17:47:13 -0500, Andy Gross wrote: > >> On Tue, Jul 19, 2016 at 11:18:04AM -0700, Sören Brinkmann wrote: > >>> Hi, > >>> > >>> we are working on

Re: SOC-specific action for irq_set_wake

2016-07-20 Thread Marc Zyngier
On 20/07/16 00:34, Sören Brinkmann wrote: > Hi Andy, > > On Tue, 2016-07-19 at 17:47:13 -0500, Andy Gross wrote: >> On Tue, Jul 19, 2016 at 11:18:04AM -0700, Sören Brinkmann wrote: >>> Hi, >>> >>> we are working on the PM solution for Zynq MPSOC and ran into some >>> problem when setting the wake

Re: SOC-specific action for irq_set_wake

2016-07-19 Thread Thomas Gleixner
On Tue, 19 Jul 2016, Andy Gross wrote: > So not too long ago there were irq extensions that you could add in to an > irq controller that would allow for intercepting the set wake calls. This > went away and was replaced by the hierarchical irq design. For a very good reason. The 'extensions' wer

Re: SOC-specific action for irq_set_wake

2016-07-19 Thread Thomas Gleixner
On Tue, 19 Jul 2016, Sören Brinkmann wrote: > we are working on the PM solution for Zynq MPSOC and ran into some > problem when setting the wake source. > > The situation is that when the A53 is in suspend, the GIC(v2) may be > powered down. In that state a companion core is handling wake > events

Re: SOC-specific action for irq_set_wake

2016-07-19 Thread Sören Brinkmann
Hi Andy, On Tue, 2016-07-19 at 17:47:13 -0500, Andy Gross wrote: > On Tue, Jul 19, 2016 at 11:18:04AM -0700, Sören Brinkmann wrote: > > Hi, > > > > we are working on the PM solution for Zynq MPSOC and ran into some > > problem when setting the wake source. > > > > The situation is that when the

Re: SOC-specific action for irq_set_wake

2016-07-19 Thread Andy Gross
On Tue, Jul 19, 2016 at 11:18:04AM -0700, Sören Brinkmann wrote: > Hi, > > we are working on the PM solution for Zynq MPSOC and ran into some > problem when setting the wake source. > > The situation is that when the A53 is in suspend, the GIC(v2) may be > powered down. In that state a companion

SOC-specific action for irq_set_wake

2016-07-19 Thread Sören Brinkmann
Hi, we are working on the PM solution for Zynq MPSOC and ran into some problem when setting the wake source. The situation is that when the A53 is in suspend, the GIC(v2) may be powered down. In that state a companion core is handling wake events/IRQs, but we expect the OS/Linux to notify the com