drivers/pci/hotplug

PCI and PCIe hotplug controllers

The kernel code that lets PCI and PCIe slots be added or removed while the system is running, covering everything from server NVMe drive bays and blade-style expansion slots to Thunderbolt and USB4 device tunneling on laptops. It also includes platform-specific hotplug glue for vendors like Intel, Ampere, IBM, HP, and Cray storage systems.

keep conf=0.90 last_sold=2025 deploy=medium replacement=none subsystem=pci category=bus-pci
90%

recommendation

It should stay because this is a core, actively maintained subsystem rather than legacy code. Recent 2025-2026 work on the linux-pci mailing list shows ongoing fixes for current Intel server platforms (Catlow Lake), new LED support for Cray ClusterStor E1000 NVMe enclosures, and core slot-management refactoring. Modern Thunderbolt/USB4 PCIe tunneling depends on this hotplug machinery, so it is essential for both contemporary servers and consumer laptops.

repository signals

50 files
28,386 source lines
110 commits, 5y
+1,888 / −1,002 lines added / removed, 5y
49 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 110 total · active in 44/61 months
2021 2022 2023 2024 2025 2026 2021-04: 1 commit · +1 −1 2021-05: 1 commit · +36 −0 2021-06: 1 commit · +27 −23 2021-07: 4 commits · +65 −6 2021-08: 2 commits · +4 −10 2021-09: 1 commit · +1 −8 2021-10: 3 commits · +11 −9 2021-11: 4 commits · +13 −10 2021-12: 2 commits · +22 −83 2022-01: 1 commit · +7 −5 2022-02: 2 commits · +3 −1 2022-03: 2 commits · +8 −23 2022-04: 1 commit · +6 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 1 commit · +3 −1 2022-10: 0 commits · +0 −0 2022-11: 3 commits · +11 −22 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 2 commits · +2 −2 2023-03: 1 commit · +2 −2 2023-04: 3 commits · +20 −8 2023-05: 2 commits · +16 −10 2023-06: 2 commits · +7 −10 2023-07: 2 commits · +10 −10 2023-08: 2 commits · +82 −8 2023-09: 2 commits · +141 −2 2023-10: 2 commits · +25 −21 2023-11: 1 commit · +43 −22 2023-12: 1 commit · +3 −6 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 1 commit · +2 −2 2024-04: 0 commits · +0 −0 2024-05: 3 commits · +60 −9 2024-06: 1 commit · +1 −0 2024-07: 3 commits · +86 −121 2024-08: 1 commit · +2 −2 2024-09: 3 commits · +2 −8 2024-10: 8 commits · +39 −45 2024-11: 1 commit · +438 −0 2024-12: 3 commits · +5 −13 2025-01: 0 commits · +0 −0 2025-02: 9 commits · +47 −140 2025-03: 3 commits · +9 −4 2025-04: 6 commits · +127 −67 2025-05: 3 commits · +4 −4 2025-06: 2 commits · +1 −5 2025-07: 6 commits · +233 −31 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 2 commits · +4 −4 2025-12: 2 commits · +27 −7 2026-01: 0 commits · +0 −0 2026-02: 3 commits · +231 −237 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    linux-pci carried a 2026 pciehp fix for Catlow Lake, showing active maintenance for current Intel PCIe hotplug hardware.

  2. lore.kernel.org

    A 2026 series adds a Cray ClusterStor E1000 NVMe slot LED driver under drivers/pci/hotplug, indicating new server/storage hotplug use cases are still being added.

  3. lore.kernel.org

    A 2026 core PCI slot-management series touches pciehp-related code, showing ongoing subsystem evolution rather than retirement.

  4. git.kernel.org

    Current Kconfig says HOTPLUG_PCI defaults to y if USB4, notes Thunderbolt/USB4 PCIe tunneling depends on native PCIe hotplug, and includes modern platform hooks such as Ampere Altra.

codex reasoning notes (technical)

Keep: this is an active driver subsystem, not a dead leaf. lore_file_timeline on pciehp_core.c showed steady 2021-2026 traffic with newest touch on 2026-04-20 and no removal-oriented subjects in the sampled history. Modern-use evidence comes from lore_file_timeline hits (Catlow Lake fix, ClusterStor E1000 LED support, core slot-management work). The Kconfig URL is canonical recall, with content verified locally via shell `sed` on drivers/pci/hotplug/Kconfig; the three lore URLs were obtained from the lore_file_timeline tool. Legacy subdrivers exist, but the directory as a whole still serves current PCIe/USB4/server hotplug deployments, so removal/deprecation is not justified.