Bug 1391

Summary: ACPI does not distribute PIC PIRQs
Product: ACPI Reporter: Len Brown (lenb)
Component: Config-InterruptsAssignee: Len Brown (lenb)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.0-test8 Subsystem:
Regression: --- Bisected commit-id:
Attachments: lspci -vv
acpidmp output

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.