Re: [PATCH] IRQ: don't suspend nested_thread irqs over system suspend.

2015-02-02 Thread Rafael J. Wysocki
On Saturday, January 31, 2015 02:37:47 PM NeilBrown wrote: > On Sat, 31 Jan 2015 00:51:17 +0100 "Rafael J. Wysocki" > wrote: > > > On Saturday, January 31, 2015 12:06:37 AM Rafael J. Wysocki wrote: > > > On Saturday, January 31, 2015 09:25:45 AM NeilBrown wrote: > > > > > > > > Nested IRQs can o

Re: [PATCH] IRQ: don't suspend nested_thread irqs over system suspend.

2015-01-30 Thread NeilBrown
On Sat, 31 Jan 2015 00:51:17 +0100 "Rafael J. Wysocki" wrote: > On Saturday, January 31, 2015 12:06:37 AM Rafael J. Wysocki wrote: > > On Saturday, January 31, 2015 09:25:45 AM NeilBrown wrote: > > > > > > Nested IRQs can only fire when the parent irq fires. > > > So when the parent is suspended

Re: [PATCH] IRQ: don't suspend nested_thread irqs over system suspend.

2015-01-30 Thread Rafael J. Wysocki
On Saturday, January 31, 2015 12:06:37 AM Rafael J. Wysocki wrote: > On Saturday, January 31, 2015 09:25:45 AM NeilBrown wrote: > > > > Nested IRQs can only fire when the parent irq fires. > > So when the parent is suspended, there is no need to suspend > > the child irq. > > > > Suspending neste

Re: [PATCH] IRQ: don't suspend nested_thread irqs over system suspend.

2015-01-30 Thread Rafael J. Wysocki
On Saturday, January 31, 2015 09:25:45 AM NeilBrown wrote: > > Nested IRQs can only fire when the parent irq fires. > So when the parent is suspended, there is no need to suspend > the child irq. > > Suspending nested irqs can cause a problem is they are suspended or > resumed in the wrong order.

[PATCH] IRQ: don't suspend nested_thread irqs over system suspend.

2015-01-30 Thread NeilBrown
Nested IRQs can only fire when the parent irq fires. So when the parent is suspended, there is no need to suspend the child irq. Suspending nested irqs can cause a problem is they are suspended or resumed in the wrong order. If an interrupt fires while the parent is active but the child is suspe