Shaohua Li wrote:
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.
The systems I've been using are all single-processor AMD x86 or x86_64 systems. So I doubt that IRQ affinity applies in these cases.
I've made the driver get "preloaded" through mkinitrd/initrd on boot-time, but that doesn't seem to make a difference in device performance.
Is it possible to see in 'dmesg' output which vector was allocated to which IRQ/device?
Thanks, Lee. - 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