Re: controlling ACPI IRQ routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-12-27 at 21:29 -0800, Lee Howard wrote:
> Shaohua Li wrote:
> > In IOAPIC mode, interrupt priority isn't related with the pin (in your
> > case, irq 16 or 19), but the vector of the pin. How vector of a pin is
> > allocated is quite random. Usually driver who calls pci_enable_device
> > earier will get a lower priority vector.
> 
> You used the words "random" and "usually".  Could you elaborate on
> the 
> randomness and when usually doesn't apply?
> 
> So the means to prioritize a driver is to see that it gets installed 
> earlier?  There is no other mechanism to "reserve" pin vector 
> allocations for a specific device or driver?
Currently vector is allocated when pci_enable_device is called. So which
vector is allocated depends on how many drivers already called the
routine. The first vector is 0x31, later higher priority (higher) vector
will be allocated. In latest kernel, a vector of a irq could be variable
when irq affinity is set, so it's much complex. There is no existing
method to reserve a vector for a device.

Thanks,
Shaohua

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

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux