Bug 199473
Summary: | pcieport does not scan devices behind PEX switch, while resources are allocated | ||
---|---|---|---|
Product: | Drivers | Reporter: | Janpieter Sollie (janpieter.sollie) |
Component: | PCI | Assignee: | drivers_pci (drivers_pci) |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 4.17-rc1, 4.14.27 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg stable kernel
dmesg mainline kernel lspci stable kernel lspci mainline kernel adapted driver from Broadcom for the 8619 driver lspci -vv output on the working kernel |
Created attachment 275513 [details]
dmesg mainline kernel
Created attachment 275515 [details]
lspci stable kernel
Created attachment 275517 [details]
lspci mainline kernel
Created attachment 275531 [details]
adapted driver from Broadcom for the 8619 driver
As the driver from broadcom is licensed under the GPL, I adopted it to 4.17 (the old driver is severely outdated). This driver may be the solution for this problem, but currently, ONLY the 8000_DMA driver has been adapted. I will perform further testing. Other parts of the driver will follow if you people would like to include it under eg Drivers->PCI->switches.
Created attachment 275585 [details]
lspci -vv output on the working kernel
|
Created attachment 275511 [details] dmesg stable kernel pcieport assigns the PEX 8619 pcie expander switch ports, but does not scan them for additional objects behind the ports. only 1 device is added @ pci region 4f. Workaround for getting all devices online: while pc is on, remove the card, reinsert it at a slot before the working device, and make a cold start. It would be nice if the pcie switches are scanned properly.