Benjamin Herrenschmidt wrote:
I have neither b) nor c) nowadays on powerpc.... "linux" irq numbers are purely a virtual thing, that is an index in irq_desc array and something we give to drivers to do request_irq() from. They can map onto hw interrupts, MSI-like messages, environment interrupts, could be hypervisor messgaes, in fact, it could be anything that remotely looks like an interrupt and the concept of "hw vector" is very blurry here... every interrupt controller defines it's own hardware vector space. On pSeries, hardware vectors are fairly big numbers that can encode the geographical location of the slot where the device is connected to, on some other hypervisor, they are 64 bits "tokens" representing an hypervisor object that can send events, etc etc....
Indeed... The return value from return_irq() is purely a cookie, and has been for quite some time.
Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 0/25] Decouple IRQ issues (MSI, i386, x86_64, ia64)
- From: [email protected] (Eric W. Biederman)
- [PATCH 1/25] irq: Convert the move_irq flag from a 32bit word to a single bit
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 2/25] irq: Add moved_masked_irq
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 3/25] x86_64 irq: Reenable migrating irqs to other cpus.
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 4/25] msi: Simplify msi enable and disable.
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 5/25] msi: Make the msi boolean tests return either 0 or 1.
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 6/25] msi: Implement helper functions read_msi_msg and write_msi_msg.
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 7/25] msi: Refactor the msi_ops.
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 8/25] msi: Simplify the msi irq limit policy.
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 9/25] irq: Add a dynamic irq creation API
- From: "Eric W. Biederman" <[email protected]>
- Re: [PATCH 9/25] irq: Add a dynamic irq creation API
- From: Benjamin Herrenschmidt <[email protected]>
- Re: [PATCH 9/25] irq: Add a dynamic irq creation API
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH 9/25] irq: Add a dynamic irq creation API
- From: Benjamin Herrenschmidt <[email protected]>
- [PATCH 0/25] Decouple IRQ issues (MSI, i386, x86_64, ia64)
- Prev by Date: Re: [PATCH 8/25] msi: Simplify the msi irq limit policy.
- Next by Date: Re: [PATCH 6/25] msi: Implement helper functions read_msi_msg and write_msi_msg.
- Previous by thread: Re: [PATCH 9/25] irq: Add a dynamic irq creation API
- Next by thread: Re: [PATCH 9/25] irq: Add a dynamic irq creation API
- Index(es):