Re: [PATCH] irq_domain/mips: Allow irq_domain on MIPS

From: David Daney
Date: Tue Mar 06 2012 - 18:08:29 EST


On 03/06/2012 11:57 AM, Ralf Baechle wrote:
On Fri, Feb 24, 2012 at 09:29:55AM -0700, Grant Likely wrote:

This patch makes IRQ_DOMAIN usable on MIPS. It uses an ugly workaround
to preserve current behaviour so that MIPS has time to add irq_domain
registration to the irq controller drivers. The workaround will be
removed in Linux v3.6

Looking good, Ack.

Is there any good example for the changes that need to be done to
irq controller drivers?


Well it only affects things that have USE_OF, so most mips things will not need to do anything as they don't USE_OF.

But for those that do USE_OF, you have to call one or more of the irq_domain_add_*() functions.

Slightly off topic: My OCTEON patch set tries to do this, but hasn't met with quite as much enthusiasm as I would have liked...

David Daney

Thanks,

Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/