[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1abfwi1ht.fsf@frodo.ebiederm.org>
Date: Fri, 01 Aug 2008 19:39:42 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Yinghai Lu <yhlu.kernel@...il.com>, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Dhaval Giani <dhaval@...ux.vnet.ibm.com>,
Mike Travis <travis@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/16] dyn_array and nr_irqs support v2
"H. Peter Anvin" <hpa@...or.com> writes:
> I also see little value in stably encoding IRQ numbers using geographical
> identifiers. It seems that the only case where you care that an interrupt
> number is stable is when it is *not* tied to a geographically addressed entity,
> so why does it matter?
In the case of msi it is a minor. In the case of GSIs from ACPI it dramatically
simplified the code, and improved it's reliability. Because then everyone including
ACPI was always using the same.
So in general principle I think we should have stable irq numbers if we can. Which
allows someone to say I have a problem with irq X. And it will always be irq X on
their box. An extra level of indirection makes debugging more difficult.
Having a human readable name like: eth0irq22 or hbairq5 is likely just
as good in the case of msi. Still all of the users interfaces today take numbers.
So we are stuck with dealing with numbers for a long time to come.
Eric
--
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