public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* PCI IRQ routing table
@ 2005-03-31  9:58 art stallone
       [not found] ` <20050331095849.25312.qmail-dvNlIvcwX/N1RbMNNJCVHYkgB36zAFJh@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: art stallone @ 2005-03-31  9:58 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 132 bytes --]

  
Hi all,

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

regards,
ART.

[-- Attachment #2: Type: text/html, Size: 396 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PCI IRQ routing table
       [not found] ` <20050331095849.25312.qmail-dvNlIvcwX/N1RbMNNJCVHYkgB36zAFJh@public.gmane.org>
@ 2005-03-31 18:08   ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2005-03-31 18:08 UTC (permalink / raw)
  To: art stallone; +Cc: ACPI List

On Thu, 2005-03-31 at 09:58 +0000, art stallone wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-31 18:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-31  9:58 PCI IRQ routing table art stallone
     [not found] ` <20050331095849.25312.qmail-dvNlIvcwX/N1RbMNNJCVHYkgB36zAFJh@public.gmane.org>
2005-03-31 18:08   ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox