Re: [PATCH] irq_domain: Standardise legacy/linear domain selection

From: Mark Brown
Date: Thu Jul 05 2012 - 08:02:12 EST


On Thu, Jul 05, 2012 at 02:43:42PM +0300, Andy Shevchenko wrote:

> The issue is in plain array of the numbers that are assigned to the devices.
> Somehow looks better to have real namespaces, or even hide irq number in the API
> struct device, request_irq(), but keep reference between driver and PIC via some
> object.

> So, given solution just hides an issue, but doesn't resolve it fully
> from my p.o.v.

This is unrelated to what you're talking about. The devices concerned
are mostly MFDs which use their own interrupts. Where other things need
to use the interrupt numbers then legacy mappings should still be used
and IRQ domains have no effect at all on the situation.

Attachment: signature.asc
Description: Digital signature