Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753372AbZK0WSy (ORCPT ); Fri, 27 Nov 2009 17:18:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752309AbZK0WSx (ORCPT ); Fri, 27 Nov 2009 17:18:53 -0500 Received: from www.tglx.de ([62.245.132.106]:50453 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753058AbZK0WSw (ORCPT ); Fri, 27 Nov 2009 17:18:52 -0500 Date: Fri, 27 Nov 2009 23:18:00 +0100 (CET) From: Thomas Gleixner To: =?ISO-8859-15?Q?Uwe_Kleine-K=F6nig?= cc: LKML , David Brownell , Andrew Morton , Peter Zijlstra , Ingo Molnar , Nicolas Pitre , Eric Miao , John Stultz , Rusty Russell , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] warn about shared irqs requesting IRQF_DISABLED registered with setup_irq In-Reply-To: <1259356206-14843-1-git-send-email-u.kleine-koenig@pengutronix.de> Message-ID: References: <20091127195857.GB28193@n2100.arm.linux.org.uk> <1259356206-14843-1-git-send-email-u.kleine-koenig@pengutronix.de> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-881699030-1259357776=:24119" Content-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1800 Lines: 47 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-881699030-1259357776=:24119 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15 Content-Transfer-Encoding: 8BIT Content-ID: On Fri, 27 Nov 2009, Uwe Kleine-K?nig wrote: > IRQF_DISABLED is not guaranteed on shared irqs. There is already a > warning in place for irqs registered with request_irq (introduced in > 470c66239ef03). Move it to __setup_irq, this way it triggers for both > request_irq and setup_irq. > > One irq that is now warned about is the timer tick on at91 (ARCH=arm). And how does that help ? The interrupt is shared between the timer and the debug port. There is nothing you can do about that. The interupt handlers are called in order of setup. The AT91 timer irq is set up first and if that's not the case then it needs to be fixed and the only way to catch it is in the affected interrupt handler. Applying your patch does not change the hardware and will just result in useless, annoying and confusing dmesg warnings. > Cc: Rusty Russell > Cc: Remy Bohmer , > Cc: Hugh Dickins , > Cc: Andrea Gallo , Nice that you added me (and others) to that long list, but ... > Cc: Thomas Gleixner , ------------------------------------------^ Thanks, tglx --8323328-881699030-1259357776=:24119-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/