Skip to contentSkip to conversation

PCI IRQ routing table

DISCUSSION art stallone 2 participants 2 messages Mar 31, 2005 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi all,

Do ACPI caches PCI IRQ routing table (PIR). Is there any ioctl so user space can get that table?

regards,
ART.

#2 lore raw
In reply to a message not in the archive
Quoted 2 lines · art stallone

Do ACPI caches PCI IRQ routing table (PIR). Is there any ioctl so user space can get that table?

I don't know much about the PIR. ACPI uses a PCI Routing Table (_PRT). ACPI supplies a _PRT for every PCI root bridge. The ACPI PCI root bridge driver (drivers/acpi/pci_root.c) parses the _PRT when it claims a new bridge (see the acpi_pci_root_add() -> acpi_pci_irq_add_prt() path).

There is no convenient user-space mechanism to get the _PRT. The _PRT is stored in the DSDT, which you *can* get, via /proc/acpi/dsdt. But then you have to disassemble the DSDT and parse the _PRT yourself. I.e., you would do something like "cp /proc/acpi/dsdt dsdt; iasl -d dsdt; cat dsdt.dsl".

You can get iasl here:
http://www.intel.com/technology/IAPC/acpi/downloads.htm

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30