drivers/pci/endpoint/functions

PCI Endpoint Function Drivers (test, NTB, vNTB, Qualcomm MHI)

A small set of helpers that let a Linux system act as a PCI Express endpoint (the device side of a PCIe link) rather than the usual host side. They cover loopback test gadgets, non-transparent bridging between two hosts, virtual NTB, and Qualcomm's MHI endpoint mode used on SoCs like SA8775P, SDX55, and SM8450 in automotive and modem deployments.

keep conf=0.93 deploy=medium replacement=none subsystem=pci category=bus-pci
93%

recommendation

It should stay because the PCI endpoint framework is current, documented kernel infrastructure with no replacement, and the Qualcomm MHI endpoint piece in particular is actively maintained — a stable backport adding SA8775P device IDs landed in 2025, and hardware like NXP S32G3 automotive processors and Lantronix SA8775P-based platforms are still being sold for new designs. Volume is modest, but the subsystem is clearly alive and serving shipping silicon.

repository signals

6 files
6,314 source lines
117 commits, 5y
+4,229 / −971 lines added / removed, 5y
36 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 117 total · active in 37/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 1 commit · +96 −67 2021-09: 2 commits · +8 −14 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 1 commit · +11 −1 2022-01: 2 commits · +2 −2 2022-02: 1 commit · +1,436 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 1 commit · +106 −10 2022-06: 4 commits · +17 −7 2022-07: 1 commit · +3 −3 2022-08: 4 commits · +21 −13 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 8 commits · +90 −67 2022-12: 1 commit · +5 −5 2023-01: 3 commits · +17 −30 2023-02: 1 commit · +1 −1 2023-03: 0 commits · +0 −0 2023-04: 12 commits · +137 −165 2023-05: 0 commits · +0 −0 2023-06: 2 commits · +477 −3 2023-07: 8 commits · +275 −21 2023-08: 2 commits · +51 −47 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 6 commits · +254 −25 2023-12: 5 commits · +22 −9 2024-01: 0 commits · +0 −0 2024-02: 4 commits · +11 −33 2024-03: 6 commits · +21 −60 2024-04: 7 commits · +76 −58 2024-05: 0 commits · +0 −0 2024-06: 3 commits · +48 −7 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 2 commits · +195 −181 2024-11: 2 commits · +6 −2 2024-12: 3 commits · +21 −2 2025-01: 3 commits · +77 −55 2025-02: 0 commits · +0 −0 2025-03: 2 commits · +13 −1 2025-04: 1 commit · +3 −23 2025-05: 0 commits · +0 −0 2025-06: 3 commits · +131 −13 2025-07: 2 commits · +131 −1 2025-08: 0 commits · +0 −0 2025-09: 3 commits · +30 −8 2025-10: 2 commits · +139 −19 2025-11: 3 commits · +18 −9 2025-12: 0 commits · +0 −0 2026-01: 2 commits · +268 −3 2026-02: 3 commits · +7 −6 2026-03: 1 commit · +5 −0 2026-04: 0 commits · +0 −0

sources

  1. docs.kernel.org

    Kernel documentation treats PCI endpoint functions as a current supported framework area, with dedicated sections for test, NTB, and vNTB endpoint functions.

  2. docs.kernel.org

    vNTB is documented as an active endpoint-function use case, not a legacy-only leftover.

  3. docs.kernel.org

    The NTB endpoint function has current configfs binding documentation, indicating ongoing supported deployment.

  4. cateee.net

    LKDDb shows CONFIG_PCI_EPF_MHI present in current kernel series and lists active Qualcomm endpoint IDs including SA8775P, SDX55, and SM8450.

  5. spinics.net

    A 2025 stable backport updated SA8775P device ID support in pci-epf-mhi, showing recent upstream maintenance rather than retirement.

  6. nxp.com

    NXP still markets S32G3 automotive processors as active products with PCIe-capable automotive deployments relevant to EP/NTB-style endpoint use cases.

  7. lantronix.com

    SA8775P-based development hardware is marketed as new/current, supporting the case that Qualcomm endpoint-function hardware is still entering new deployments.

codex reasoning notes (technical)

Local shell inspection showed four loadable EPF drivers in this directory (`pci-epf-test`, `pci-epf-ntb`, `pci-epf-vntb`, `pci-epf-mhi`) and Kconfig describes active PCI endpoint test/NTB/MHI roles. URLs were obtained via `web.search_query`; no removal/deprecation discussions surfaced in lore-targeted searches. docs.kernel URLs show this directory maps to currently documented endpoint-function features; LKDDb and the 2025 stable patch URL show active kernel support for modern Qualcomm MHI endpoint parts; NXP/Lantronix product pages indicate relevant endpoint-capable automotive hardware is still sold for new designs. This is a niche subsystem, so deployments are not high-volume, but it is clearly maintained and still relevant; no natural replacement driver covers the whole directory.