Bug 26812 - [devel-6.6] PCI: Fix PCIe unplug Enumeration Long Blocking Issue
Summary: [devel-6.6] PCI: Fix PCIe unplug Enumeration Long Blocking Issue
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-29 15:31 UTC by LeoLiu-oc
Modified: 2025-10-29 15:33 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LeoLiu-oc zhaoxin_group 2025-10-29 15:31:02 UTC
When a USB4 device is inserted, a PCIe tunnel will be established.
Then, the PCIe hierarchy within the USB4 device will be enumerated.
If the device is suddenly unplugged during the enumeration process,
it is possible that the function pci_find_next_ext_capability called when
the PCI driver scans the PCIe extended capability may take a very long
time, perhaps more than 20 seconds.
Comment 1 小龙 admin 2025-10-29 15:33:13 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5931