Bug 1391 - ACPI does not distribute PIC PIRQs
Summary: ACPI does not distribute PIC PIRQs
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Interrupts (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Len Brown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-20 13:30 UTC by Len Brown
Modified: 2004-03-04 12:25 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.0-test8
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
lspci -vv (11.11 KB, text/plain)
2003-10-20 13:41 UTC, Len Brown
Details
acpidmp output (127.79 KB, text/plain)
2003-10-20 13:41 UTC, Len Brown
Details

Description Len Brown 2003-10-20 13:30:54 UTC
Distribution:
Hardware Environment:
Software Environment:
Problem Description:

Steps to reproduce:
Comment 1 Len Brown 2003-10-20 13:40:28 UTC
2.6.0-test8 on a Toshiba Satellite Pro M15 leaves all the PCI devices on IRQ11 
although the AML says that IRQs 3, 4, 5, 7 and 7 are also available: 
 
  0:      97680          XT-PIC  timer 
  1:         10          XT-PIC  i8042 
  2:          0          XT-PIC  cascade 
  4:        406          XT-PIC  serial 
  9:         15          XT-PIC  acpi 
 11:        612          XT-PIC  ohci1394, yenta, yenta, ehci_hcd, uhci_hcd, uhci_hcd, uhci_hcd, eth0 
 12:         50          XT-PIC  i8042 
 14:       4117          XT-PIC  ide0 
 15:         17          XT-PIC  ide1 
NMI:          0 
LOC:      97525 
ERR:          1 
MIS:          0 
 
ACPI: Interpreter enabled 
ACPI: Using PIC for interrupt routing 
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *11) 
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *11) 
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *11) 
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *11) 
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 *11) 
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *11) 
ACPI: PCI Interrupt Link [LNKG] (IRQs *10) 
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *11) 
ACPI: PCI Root Bridge [PCI0] (00:00) 
... 
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] 
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] 
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT] 
... 
Linux Kernel Card Services 
  options:  [pci] [cardbus] [pm] 
drivers/usb/core/usb.c: registered new driver usbfs 
drivers/usb/core/usb.c: registered new driver hub 
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11 
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11 
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11 
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10 
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 11 
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11 
 
 
 
Comment 2 Len Brown 2003-10-20 13:41:18 UTC
Created attachment 1117 [details]
lspci -vv
Comment 3 Len Brown 2003-10-20 13:41:49 UTC
Created attachment 1118 [details]
acpidmp output
Comment 4 Shaohua 2003-10-20 17:17:37 UTC
As I know, a patch from Andrew de Quincey didn't change link device's irq if 
it has an active irq. so I think the output you attached is correct.
Comment 5 Len Brown 2003-11-30 21:22:28 UTC
fixed and shipped in 2.4.23: 
        acpi_irq_balance        ACPI will balance active IRQs 
        acpi_irq_nobalance      ACPI will not move active IRQs 
        acpi_irq_pci=   If irq_balance, Clear listed IRQs for use by PCI 
        acpi_irq_isa=   If irq_balance, Mark listed IRQs used by ISA 
 
balance is default for IOAPIC mode, nobalance is default for PIC mode. 
 

Note You need to log in before you can comment on or make changes to this bug.