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

From: Rafael J. Wysocki
Date: Thu Jul 24 2014 - 10:21:00 EST


On Thursday, July 24, 2014 04:15:25 PM Peter Zijlstra wrote:
> 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.

And it will only break things that are already broken.

ACK for the patch.

Rafael

--
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/