Bug 83441

Summary: Need pci=assign-busses quirk for Dell Latitude D505
Product: Drivers Reporter: David Henningsson (david.henningsson)
Component: PCIAssignee: drivers_pci (drivers_pci)
Status: RESOLVED CODE_FIX    
Severity: normal CC: bjorn
Priority: P1    
Hardware: i386   
OS: Linux   
Kernel Version: Ubuntu 3.16.0-031600-lowlatency Subsystem:
Regression: Yes Bisected commit-id:
Attachments: Dmesg under working 3.2 kernel
Lspci -vvnn under working 3.2 kernel
lspci -vvnn under non-working 3.16 kernel
dmesg under non-working 3.16 kernel
dmesg (with dyndbg) under non-working 3.16 kernel
patch to revert fc1b253141b3

Description David Henningsson 2014-08-29 14:32:18 UTC
Under a 3.16 based kernel (Ubuntu 3.16.0-031600-lowlatency), CardBus is not working unless pci=assign-buses is added to the kernel boot parameters.

It was working OOTB on a 3.2 based kernel (Ubuntu 3.2.0-67-generic), and I have not thoroughly bisected what made it stop working.
Comment 1 David Henningsson 2014-08-29 14:34:41 UTC
Created attachment 148711 [details]
Dmesg under working 3.2 kernel
Comment 2 David Henningsson 2014-08-29 14:36:22 UTC
Created attachment 148721 [details]
Lspci -vvnn under working 3.2 kernel
Comment 3 David Henningsson 2014-08-29 14:36:50 UTC
Created attachment 148731 [details]
lspci -vvnn under non-working 3.16 kernel
Comment 4 David Henningsson 2014-08-29 14:42:08 UTC
Created attachment 148741 [details]
dmesg under non-working 3.16 kernel
Comment 5 David Henningsson 2014-09-11 08:05:19 UTC
Created attachment 149761 [details]
dmesg (with dyndbg) under non-working 3.16 kernel
Comment 6 Bjorn Helgaas 2014-09-13 21:32:02 UTC
Created attachment 150151 [details]
patch to revert fc1b253141b3

This is a test patch on top of v3.17-rc2 that reverts fc1b253141b3 ("PCI: Don't scan random busses in pci_scan_bridge()").

Please test and see if this fixes the problem.
Comment 7 David Henningsson 2014-09-16 11:49:32 UTC
Hi,
I have now tested the revert patch on top of v3.17-rc5 and I can confirm that the cardbus port is now working.

(Note: I did not test v3.17-rc5 without the patch reverted, so other things, including kernel configuration, could possibly have changed too, between this test and the former v3.16 test that exposed the bug.)
Comment 8 Bjorn Helgaas 2014-10-28 13:23:28 UTC
7a0b33d4a45d ("Revert "PCI: Don't scan random busses in pci_scan_bridge()"") appeared in v3.17-rc7 and should resolve this problem.