ACPI PCI bus mismatch ?
Hi all
I was debugging ACPI in my laptop and was comparing 2.4.18 against latest 2.4.19pre4-ac1+acpi, when I found this:
There's a method in my DSTD that looks like this:
Method (_L08, 0, Serialized)
{
Store (\_SB.PCI0.PCIB.BRGB, Local0)
ShiftLeft (Local0, 0x18, Local0)
Or (Local0, 0x0020B10B, Local0)
Store (0xAF, \_SB.MEM.IEDI).
.
.
When it runs on 2.4.18, I can see it working almost properly. I debugged exregion and this was the result, with my comments:
Feb 5 16:18:09 supernova kernel: exregion-0353 [25] Ex_pci_config_space_ha: Pci_config 0 (8) Seg(0000) Bus(0000) Dev(001e) Func(0000) Reg(0019) This one is reading \_SB.PCI0.PCIB.BRGB, device 0x1e @ bus #0,
which according to lspci, is my PCI bridge (which is correct):
00:1e.0 PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI
(-M) (rev 42)
But, when I boot 2.4.20pre4-ac1+acpi, the handler instead of using Bus #0, uses Bus #2:
Feb 5 16:25:28 supernova kernel: exregion-0352 [25] ex_pci_config_space_ha: pci_config 0 (8) Seg(0000) Bus(0002) Dev(001e) Func(0000) Reg(0019)
.... and always reads 0xFF.
lspci with 2.4.20pre4-ac1+acpi is:
alvieboy@supernova:~$ uname -a Linux supernova 2.4.21-pre4-ac1 #2 SMP Ter Fev 4 12:18:03 WET 2003 i686 unknown unknown GNU/Linux alvieboy@supernova:~$ lspci 00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 05) 00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 05) 00:1d.0 USB Controller: Intel Corp.: Unknown device 2482 (rev 02) 00:1d.1 USB Controller: Intel Corp.: Unknown device 2484 (rev 02) 00:1e.0 PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI (-M) (rev 42) 00:1f.0 ISA bridge: Intel Corp.: Unknown device 248c (rev 02) 00:1f.1 IDE interface: Intel Corp.: Unknown device 248a (rev 02) 00:1f.5 Multimedia audio controller: Intel Corp. AC'97 Audio Controller (rev 02) 00:1f.6 Modem: Intel Corp.: Unknown device 2486 (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0175 (rev a3) 02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) Chipset Ethernet Controller (rev 42) 02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32) 02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32)
Anyone sees which might me causing this ?
TYA
Signature · 10 lines
Álvaro Lopes --------------------- A .sig is just a .sig ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld =Something 2 See! http://www.vasoftware.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
OK, I tracked the problem down to acpi_os_derive_pci_id(). If I remove the call to acpi_os_derive_pci_id() in acpi_ev_pci_config_region_setup() it works fine.
Will do some tests on 2.5.x now and let you know.
Quoted 58 lines · Alvaro Lopes
Hi all
I was debugging ACPI in my laptop and was comparing 2.4.18 against latest 2.4.19pre4-ac1+acpi, when I found this:
There's a method in my DSTD that looks like this:
Method (_L08, 0, Serialized) { Store (\_SB.PCI0.PCIB.BRGB, Local0) ShiftLeft (Local0, 0x18, Local0) Or (Local0, 0x0020B10B, Local0) Store (0xAF, \_SB.MEM.IEDI).
.
.When it runs on 2.4.18, I can see it working almost properly. I debugged exregion and this was the result, with my comments:
Feb 5 16:18:09 supernova kernel: exregion-0353 [25] Ex_pci_config_space_ha: Pci_config 0 (8) Seg(0000) Bus(0000) Dev(001e) Func(0000) Reg(0019) This one is reading \_SB.PCI0.PCIB.BRGB, device 0x1e @ bus #0,which according to lspci, is my PCI bridge (which is correct):
00:1e.0 PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI
(-M) (rev 42)But, when I boot 2.4.20pre4-ac1+acpi, the handler instead of using Bus #0, uses Bus #2:
Feb 5 16:25:28 supernova kernel: exregion-0352 [25] ex_pci_config_space_ha: pci_config 0 (8) Seg(0000) Bus(0002) Dev(001e) Func(0000) Reg(0019).... and always reads
0xFF.lspci with 2.4.20pre4-ac1+acpi is:
alvieboy@supernova:~$ uname -a Linux supernova 2.4.21-pre4-ac1 #2 SMP Ter Fev 4 12:18:03 WET 2003 i686 unknown unknown GNU/Linux alvieboy@supernova:~$ lspci 00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 05) 00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 05) 00:1d.0 USB Controller: Intel Corp.: Unknown device 2482 (rev 02) 00:1d.1 USB Controller: Intel Corp.: Unknown device 2484 (rev 02) 00:1e.0 PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI (-M) (rev 42) 00:1f.0 ISA bridge: Intel Corp.: Unknown device 248c (rev 02) 00:1f.1 IDE interface: Intel Corp.: Unknown device 248a (rev 02) 00:1f.5 Multimedia audio controller: Intel Corp. AC'97 Audio Controller (rev 02) 00:1f.6 Modem: Intel Corp.: Unknown device 2486 (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0175 (rev a3) 02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) Chipset Ethernet Controller (rev 42) 02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32) 02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32)Anyone sees which might me causing this ?
TYA
Signature · 10 lines
Álvaro Lopes --------------------- A .sig is just a .sig ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld =Something 2 See! http://www.vasoftware.com