[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1408011030200.1185-100000@iolanthe.rowland.org>
Date: Fri, 1 Aug 2014 10:41:06 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Thomas Gleixner <tglx@...utronix.de>
cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Peter Zijlstra <peterz@...radead.org>,
<linux-kernel@...r.kernel.org>,
Linux PM list <linux-pm@...r.kernel.org>,
Dmitry Torokhov <dtor@...gle.com>
Subject: Re: [PATCH 1/3] irq / PM: New driver interface for wakeup interrupts
On Fri, 1 Aug 2014, Thomas Gleixner wrote:
> Anyone who thinks that this can and should be solved at the driver
> level is simply taking the wrong drugs or ran out of supply of the
> proper ones. Either call your shrink or your drug dealer to get out of
> that.
That's absolutely true, but there is a counterpoint: Some of the
problems in this area _must_ be fixed at the driver level.
In particular, any driver that:
doesn't prevent its device from generating interrupt requests
while the system is suspended
and allows its device to share an IRQ line with a wakeup source
has to be fixed. The situation is even worse if the driver's interrupt
handler blows up when called at an inopportune time (such as when
clocks or power supplies are off).
Unfortunately, the only reasonable way to find such drivers is to wait
and see when the bad combination of events happens.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists