drivers/hwtracing/stm

MIPI System Trace Module (STM) framework

A generic kernel framework for hardware that emits MIPI System Trace Protocol debug traces, used by silicon debug blocks like Intel's Trace Hub and ARM CoreSight STM. It lets developers and firmware engineers capture low-overhead trace streams from SoCs, primarily for embedded and platform bring-up work rather than end-user features.

keep-annotate conf=0.68 deploy=low replacement=none subsystem=hwtracing category=infrastructure
68%

recommendation

Worth keeping but documenting its niche, because the framework is still receiving routine upstream maintenance into 2026 and underpins active silicon debug hardware that Intel and ARM continue to ship in current platforms. Real-world deployments are limited to developers and embedded engineers doing platform tracing, so it isn't widely exercised but remains the only upstream home for this class of MIPI STPv2 trace hardware.

repository signals

11 files
2,964 source lines
11 commits, 5y
+118 / −40 lines added / removed, 5y
9 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 11 total · active in 7/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: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 1 commit · +0 −1 2022-12: 0 commits · +0 −0 2023-01: 1 commit · +1 −1 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: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 4 commits · +101 −19 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: 1 commit · +0 −1 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: 1 commit · +2 −4 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: 1 commit · +2 −2 2026-01: 0 commits · +0 −0 2026-02: 2 commits · +12 −12 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    As of 2026-04-02 the STM core was still receiving non-removal maintenance patches upstream, indicating the code is not abandoned.

  2. lore.kernel.org

    As of 2026-03-20 the STM code was being adapted for current MM API changes, another sign of active upkeep rather than retirement.

  3. docs.kernel.org

    Kernel documentation describes STM as the generic System Trace Module framework and names Intel Trace Hub and CoreSight STM as example devices.

  4. docs.kernel.org

    Kernel documentation describes Intel Trace Hub as hardware blocks that expose a Software Trace Hub (STH) subdevice implemented as an STM device.

  5. edc.intel.com

    Intel product documentation describes Intel Trace Hub as a silicon debug feature using MIPI STPv2, showing this STM-style hardware exists in shipping platform documentation.

codex reasoning notes (technical)

Local shell inspection of drivers/hwtracing/stm/Kconfig shows this directory is a generic STM class/framework for MIPI STP with Intel Trace Hub and CoreSight STM examples, plus protocol and source modules. lore_file_timeline on drivers/hwtracing/stm/core.c showed fresh 2026 maintenance traffic and no removal-oriented subjects in the sampled recent activity. Web search located current kernel docs for STM and Intel TH, plus Intel platform docs for Trace Hub. Hardware_still_sold_new_in_2025=true is an inference from continued upstream maintenance plus current kernel/vendor documentation for still-relevant SoC debug blocks; deployments are likely niche debug/embedded rather than mass-market, so low deployment and keep-annotate fit better than deprecate/remove.