[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EDE7350.4010104@gmail.com>
Date: Tue, 06 Dec 2011 13:56:00 -0600
From: Rob Herring <robherring2@...il.com>
To: Russell King - ARM Linux <linux@....linux.org.uk>
CC: Dave Martin <dave.martin@...aro.org>,
Nicolas Pitre <nicolas.pitre@...aro.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Pawel Moll <pawel.moll@....com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
devicetree-discuss@...ts.ozlabs.org, Ingo Molnar <mingo@...e.hu>,
LKML <linux-kernel@...r.kernel.org>, linux-ide@...r.kernel.org,
Randy Dunlap <rdunlap@...otime.net>,
linux-next@...r.kernel.org, Alan Cox <alan@...rguk.ukuu.org.uk>,
Anton Vorontsov <cbouatmailru@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Jeff Garzik <jgarzik@...hat.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] ata: Don't use NO_IRQ in pata_of_platform driver
On 12/06/2011 05:49 AM, Russell King - ARM Linux wrote:
> On Tue, Dec 06, 2011 at 11:37:35AM +0000, Dave Martin wrote:
>> 1) All OF code and drivers should be migrating to use 0 instead of NO_IRQ
>> for the no-interrupt case. Code which receives irq numbers directly
>> from the OF framework and refers to NO_IRQ, or expects 0 to be a valid
>> needs to be fixed.
>>
>> 2) Where we hit a problem, board code needs to be adapted to remap HW IRQs
>> 0-15 to different software values. (This could be done using irq
>> domains, or not)
>
> No AMBA driver I'm aware of ever uses an IRQ number 0 or is passed such
> an IRQ number.
The watchdog on VersatileAB is on Linux IRQ0. This is easily fixed with
VIC irqdomain patches which are queued up.
Rob
--
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