drivers/hwtracing/ptt

HiSilicon Kunpeng PCIe Tune and Trace (PTT)

A PCIe performance tracing and tuning block built into the root complex of HiSilicon's Kunpeng 920 and 930 ARM server SoCs, used in Huawei TaiShan servers. It lets administrators capture PCIe transaction traces and tune link behaviour for performance analysis on those machines, which are still being sold in 2025.

keep conf=0.83 deploy=low replacement=none subsystem=hwtracing category=infrastructure
83%

recommendation

It should stay in the kernel because the hardware is current — Huawei still sells Kunpeng 920-based TaiShan servers in 2025 — and the driver continues to receive substantive upstream maintenance, with the most recent meaningful change landing in May 2024. No other driver provides the same PCIe tracing and tuning function for this silicon, so removing it would leave Kunpeng server operators without a way to use the feature. Real-world deployment is modest since this is a niche performance-analysis block on Huawei ARM servers.

repository signals

4 files
1,699 source lines
19 commits, 5y
+1,778 / −65 lines added / removed, 5y
8 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 19 total · active in 9/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: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 2 commits · +1,261 −0 2022-09: 1 commit · +0 −1 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 1 commit · +10 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 5 commits · +470 −40 2023-07: 0 commits · +0 −0 2023-08: 1 commit · +4 −4 2023-09: 0 commits · +0 −0 2023-10: 5 commits · +23 −11 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 1 commit · +3 −3 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 1 commit · +1 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 2 commits · +6 −6 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. kernel.org

    Upstream documentation identifies this as the HiSilicon PCIe Tune and Trace device and states it exists on Kunpeng 930 SoC PCIe root complexes.

  2. git.kernel.org

    The driver received a substantive upstream maintenance change on 2024-05-02, showing recent non-removal activity.

  3. git.kernel.org

    The driver was added upstream in 2022 as support for HiSilicon PCIe Tune and Trace trace functionality, confirming it is a relatively new driver rather than legacy carry-over.

  4. hisilicon.com

    HiSilicon's product page shows Kunpeng 920 as a server CPU family with PCIe 4.0 I/O, placing this driver in current server hardware rather than only historical devices.

  5. support.huawei.com

    Huawei's TaiShan 200 server specifications list Kunpeng 920 processor configurations in current product documentation, supporting that systems using this platform were still being marketed in 2025.

codex reasoning notes (technical)

Not an early-exit case: this directory contains a PCI driver (hisi_ptt.c plus Kconfig/Makefile and module entry points). Local shell inspection of Kconfig, source, and Documentation/trace/hisi-ptt.rst identified the hardware as HiSilicon PCIe Tune and Trace on Kunpeng SoCs; the kernel.org doc URL is canonical recall from that local doc path. Local `git log` (using `git -c safe.directory=...`) showed active substantive maintenance through 2024-05-02 and no sign of a removal trajectory; the cited git.kernel.org commit URLs were constructed from those locally observed commit IDs using canonical recall. Web search found official HiSilicon/Huawei product pages showing Kunpeng 920/TaiShan server availability, so hardware appears still sold in 2025, but deployment is likely low because this is a niche Huawei ARM server PMU/tracing block. No natural replacement driver exists for the same hardware-specific tracing/tuning function.