Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-05 Thread Rafael J. Wysocki
On Thursday, March 05, 2015 11:04:11 AM Mark Rutland wrote: > On Wed, Mar 04, 2015 at 10:17:29PM +, Alexandre Belloni wrote: > > tiny tiny nitpick: > > > > On 04/03/2015 at 20:00:40 +, Mark Rutland wrote : > > > With certain restrictions it is possible for a wakeup device to share > > >

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-05 Thread Mark Rutland
On Thu, Mar 05, 2015 at 11:33:06AM +, Alexandre Belloni wrote: > On 05/03/2015 at 11:04:11 +, Mark Rutland wrote : > > > > +In rare cases an IRQ can be shared between a wakeup device driver and > > > > an > > > > +IRQF_NO_SUSPEND user. In order for this to be safe, the wakeup device > >

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-05 Thread Alexandre Belloni
On 05/03/2015 at 11:04:11 +, Mark Rutland wrote : > > > +In rare cases an IRQ can be shared between a wakeup device driver and an > > > +IRQF_NO_SUSPEND user. In order for this to be safe, the wakeup device > > > driver > > > +must be able to discern spurious IRQs from genuine wakeup events

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-05 Thread Mark Rutland
On Wed, Mar 04, 2015 at 10:17:29PM +, Alexandre Belloni wrote: > tiny tiny nitpick: > > On 04/03/2015 at 20:00:40 +, Mark Rutland wrote : > > With certain restrictions it is possible for a wakeup device to share > > and IRQ with an IRQF_NO_SUSPEND user, and the warnings introduced by >

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-05 Thread Rafael J. Wysocki
On Thursday, March 05, 2015 11:04:11 AM Mark Rutland wrote: On Wed, Mar 04, 2015 at 10:17:29PM +, Alexandre Belloni wrote: tiny tiny nitpick: On 04/03/2015 at 20:00:40 +, Mark Rutland wrote : With certain restrictions it is possible for a wakeup device to share and IRQ with

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-05 Thread Alexandre Belloni
On 05/03/2015 at 11:04:11 +, Mark Rutland wrote : +In rare cases an IRQ can be shared between a wakeup device driver and an +IRQF_NO_SUSPEND user. In order for this to be safe, the wakeup device driver +must be able to discern spurious IRQs from genuine wakeup events

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-05 Thread Mark Rutland
On Wed, Mar 04, 2015 at 10:17:29PM +, Alexandre Belloni wrote: tiny tiny nitpick: On 04/03/2015 at 20:00:40 +, Mark Rutland wrote : With certain restrictions it is possible for a wakeup device to share and IRQ with an IRQF_NO_SUSPEND user, and the warnings introduced by ^ an

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-05 Thread Mark Rutland
On Thu, Mar 05, 2015 at 11:33:06AM +, Alexandre Belloni wrote: On 05/03/2015 at 11:04:11 +, Mark Rutland wrote : +In rare cases an IRQ can be shared between a wakeup device driver and an +IRQF_NO_SUSPEND user. In order for this to be safe, the wakeup device driver

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-04 Thread Arnd Bergmann
On Wednesday 04 March 2015 23:17:29 Alexandre Belloni wrote: > On 04/03/2015 at 20:00:40 +, Mark Rutland wrote : > > With certain restrictions it is possible for a wakeup device to share > > and IRQ with an IRQF_NO_SUSPEND user, and the warnings introduced by > ^ an > > > > +In rare cases

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-04 Thread Alexandre Belloni
tiny tiny nitpick: On 04/03/2015 at 20:00:40 +, Mark Rutland wrote : > With certain restrictions it is possible for a wakeup device to share > and IRQ with an IRQF_NO_SUSPEND user, and the warnings introduced by ^ an > +In rare cases an IRQ can be shared between a wakeup device driver and

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-04 Thread Rafael J. Wysocki
On Wednesday, March 04, 2015 08:00:40 PM Mark Rutland wrote: > With certain restrictions it is possible for a wakeup device to share > and IRQ with an IRQF_NO_SUSPEND user, and the warnings introduced by > commit cab303be91dc47942bc25de33dc1140123540800 are spurious. The new > IRQF_COND_SUSPEND

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-04 Thread Rafael J. Wysocki
On Wednesday, March 04, 2015 08:00:40 PM Mark Rutland wrote: With certain restrictions it is possible for a wakeup device to share and IRQ with an IRQF_NO_SUSPEND user, and the warnings introduced by commit cab303be91dc47942bc25de33dc1140123540800 are spurious. The new IRQF_COND_SUSPEND flag

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-04 Thread Alexandre Belloni
tiny tiny nitpick: On 04/03/2015 at 20:00:40 +, Mark Rutland wrote : With certain restrictions it is possible for a wakeup device to share and IRQ with an IRQF_NO_SUSPEND user, and the warnings introduced by ^ an +In rare cases an IRQ can be shared between a wakeup device driver and an

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-04 Thread Arnd Bergmann
On Wednesday 04 March 2015 23:17:29 Alexandre Belloni wrote: On 04/03/2015 at 20:00:40 +, Mark Rutland wrote : With certain restrictions it is possible for a wakeup device to share and IRQ with an IRQF_NO_SUSPEND user, and the warnings introduced by ^ an +In rare cases an IRQ can