Re: [RFC] killing the NR_IRQS arrays.




Except for the what appears to be instability of the irq numbers on
simpler configurations I don't have a problem with it.

I agree that's a bit annoying and I beleive it can be fixed. In
additionm I'd like to look into exposing the domain/HW number -> virq
mapping somewhere in sysfs maybe.

Until we find a solution for the user space side of things we seem to
need the unsigned int irq number for user space. Now I don't want
people mapping back and forth which is why I don't intend to provide a
reverse function.

Ok.

But of course there will be a for_each_irq in the genirq layer so if
people really want to they will be able to go from the linux irq to
an irq_desc. But we don't have to export that generically (except
possibly something for the isa irqs).

Ok.

Ben.


-
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/



Relevant Pages

  • Re: [PATCH] sparse_irq aka dyn_irq v13
    ... we have a nice an simple virtual irq layer that also ... We provide a basic construct that defines an HW IRQ domain (we call it ... they are "mapped" to virtual irq numbers by mapping them to a tuple ... unrelated to the "linux" virtual number, so all the problems of making ...
    (Linux-Kernel)
  • Re: Advanced Programmable Interrupt Controller Support on Windows
    ... The OALIntrStaticTranslate function let you create default mapping for irq ... you have to sharing IRQ which some driver can not use default mapping. ... Windows CE allow you to allocate other SysIntr for same IRQ (Which it is ...
    (microsoft.public.windowsce.platbuilder)
  • Re: x86-64: double timer interrupts in recent 2.4.x
    ... > Detected 12.500 MHz APIC timer. ... IRQ redirection table: ... notice double mapping on vector 31 is now gone. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: 2.6.23-rc1-mm1 - seems OK on Dell Latitude D820, except for tpm_tis
    ... all the *possible* TPM configurations. ... I don't think I have a box with a TIS TPM on it, ... pay attention to IRQ info from PNP ... If we discover the TIS TPM device via PNP, ...
    (Linux-Kernel)
  • Re: How can I change IRQ address of USB port? Thanks.
    ... the PCI standard!! ... badly designed cards) or their drivers can have problems sharing IRQs ... Note you can force a particular IRQ number to be used by a particular ... "INT Pin #" using the PNP/PCI Configurations Setup in the BIOS. ...
    (microsoft.public.windowsxp.hardware)