Re: [PATCH] irq: Warn when shared interrupts do not match on NO_SUSPEND

From: Peter Zijlstra
Date: Thu Jul 24 2014 - 10:15:32 EST


On Thu, Jul 24, 2014 at 03:46:38PM +0200, Thomas Gleixner wrote:
> On Thu, 24 Jul 2014, Peter Zijlstra wrote:
>
> > Subject: irq: Warn when shared interrupts do not match on NO_SUSPEND
> >
> > When suspend_device_irqs() iterates all descriptors, its pointless if
> > one has NO_SUSPEND set while another has not.
> >
> > Validate on request_irq() that NO_SUSPEND state maches for SHARED
> > interrupts.
>
> I'm happy to take that patch, but you are aware that it is going to
> break a few things?
>
> 25: .... PCI-MSI-edge aerdrv, PCIe PME

Better an obvious splat than non obvious misbehaviour in my book.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/