Opened 8 years ago
Last modified 6 years ago
#13046 assigned bug
Hide downstream PCI devices when not present — at Version 2
Reported by: | kallisti5 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | PCI hotplug | Cc: | |
Blocked By: | Blocking: | #12885 | |
Platform: | All |
Description (last modified by )
It seems newer skylake systems can have "hidden" PCI devices. Haiku currently iterates through all PCI devices resulting in drivers (such as XHCI) attempting to access invalid PCI devices (memory spaces return all 0xffffffff)
Attached is the lspci on linux from a small dell dongle plugged and unplugged.
Haiku sees the PCI bus like the plugged output.
Overview:
Linux, no USB C dongles:
$ lspci -tvnn -[0000:00]-+-00.0 Intel Corporation Skylake Host Bridge/DRAM Registers [8086:1904] +-02.0 Intel Corporation HD Graphics 520 [8086:1916] +-04.0 Intel Corporation Skylake Processor Thermal Subsystem [8086:1903] +-14.0 Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] +-14.2 Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] +-15.0 Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] +-15.1 Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] +-16.0 Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] +-17.0 Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] +-1c.0-[01-39]-- +-1c.4-[3a]----00.0 Intel Corporation Wireless 7265 [8086:095a] +-1c.5-[3b]----00.0 Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] +-1f.0 Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] +-1f.2 Intel Corporation Sunrise Point-LP PMC [8086:9d21] +-1f.3 Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] \-1f.4 Intel Corporation Sunrise Point-LP SMBus [8086:9d23]
Linux, USB C dongle plugged in:
-[0000:00]-+-00.0 Intel Corporation Skylake Host Bridge/DRAM Registers [8086:1904] +-02.0 Intel Corporation HD Graphics 520 [8086:1916] +-04.0 Intel Corporation Skylake Processor Thermal Subsystem [8086:1903] +-14.0 Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] +-14.2 Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] +-15.0 Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] +-15.1 Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] +-16.0 Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] +-17.0 Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] +-1c.0-[01-39]----00.0-[02-39]--+-00.0-[03]-- | +-01.0-[04-38]-- | \-02.0-[39]----00.0 Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge] [8086:15b5] +-1c.4-[3a]----00.0 Intel Corporation Wireless 7265 [8086:095a] +-1c.5-[3b]----00.0 Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] +-1f.0 Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] +-1f.2 Intel Corporation Sunrise Point-LP PMC [8086:9d21] +-1f.3 Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] \-1f.4 Intel Corporation Sunrise Point-LP SMBus [8086:9d23]
Change History (4)
by , 8 years ago
Attachment: | lspci-unplugged.txt added |
---|
comment:1 by , 8 years ago
Blocking: | 12885 added |
---|
comment:2 by , 8 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
USB C Dongle unattached - Linux