[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.02.1105311231150.3078@ionos>
Date: Tue, 31 May 2011 12:32:58 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Sebastian Andrzej Siewior <sebastian@...akpoint.cc>
cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] irq: catch more wrong return values from interrupt
handlers
On Tue, 31 May 2011, Sebastian Andrzej Siewior wrote:
> We now also accept return value IRQ_WAKE_THREAD from a threaded
> interrupt or IRQ_HANDLED | IRQ_WAKE_THREAD from primary and theaded
> handler which is wrong. We need to accept the later on shared handlers
> where one handler is primary only and the second is a threaded handler.
> This patch attempts to catch them. Unfortunately this patch introduces
> two new types so I'm not sure if it is worth it.
I'd rather avoid that ugliness. If driver writers are that stupid,
there is probably more significant wreckage than this.
Thanks,
tglx
--
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