|| ||Alan Cox <alan-AT-lxorguk.ukuu.org.uk> |
|| ||Dave Martin <dave.martin-AT-linaro.org> |
|| ||Re: [PATCH] ata: Don't use NO_IRQ in pata_of_platform driver |
|| ||Fri, 2 Dec 2011 23:22:43 +0000|
|| ||Anton Vorontsov <cbouatmailru-AT-gmail.com>,
Stephen Rothwell <sfr-AT-canb.auug.org.au>,
Andrew Morton <akpm-AT-linux-foundation.org>,
LKML <linux-kernel-AT-vger.kernel.org>, linux-ide-AT-vger.kernel.org,
Randy Dunlap <rdunlap-AT-xenotime.net>,
linux-next-AT-vger.kernel.org, Ingo Molnar <mingo-AT-elte.hu>,
Linus Torvalds <torvalds-AT-linux-foundation.org>,
Jeff Garzik <jgarzik-AT-redhat.com>|
|| ||Article, Thread
> This is now broken on ARM where, for good or bad, NO_IRQ currently is
> used and is -1.
ARM developers have been told to change this for several years. The nice
approach hasn't worked, the patient approach hasn't worked so now finally
ARM is going to be dragged kicking and screaming into doing the work
everyone else did several years ago.
I have so little sympathy over this that you'll need a quantum physicist
to measure it.
> Half-removing NO_IRQ is going to be problematic, though...
> I really don't care whether the "no irq" value is 0 or -1, but it is
> abundantly clear that choosing different values to mean the same thing
> on opposite sides of an interface does not work.
You've had years to fix it. If I were you I'd delete NO_IRQ from your
tree, type make and get it done. It's not even a big job to clean it out.
At that point various other drivers will also start working properly on
ARM because they use 0 for polled mode.
to post comments)