drivers/perf/amlogic

Amlogic Meson G12 and SM1 DDR bandwidth performance monitor

A performance monitoring unit built into Amlogic's Meson G12A, G12B, and SM1 system-on-chips that lets software measure DDR memory bandwidth usage. These SoCs power popular ARM single-board computers like the Khadas VIM3 (A311D) and Hardkernel ODROID-N2+ (S922X), which are still being sold new in 2025.

keep conf=0.87 deploy=low replacement=none subsystem=perf category=infrastructure
87%

recommendation

It should stay because it supports current, actively sold Amlogic-based boards and is still receiving real maintenance, including a 2025 fix for unsafe CPU-ID access. The driver was cleanly upstreamed in 2022 with MAINTAINERS coverage and shows no signs of being orphaned, even though the audience for DDR bandwidth telemetry on these boards is relatively niche.

repository signals

4 files
957 source lines
11 commits, 5y
+1,001 / −29 lines added / removed, 5y
9 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 11 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: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 3 commits · +972 −2 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 1 commit · +6 −2 2023-03: 1 commit · +17 −17 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 1 commit · +0 −2 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 1 commit · +1 −0 2023-11: 0 commits · +0 −0 2023-12: 1 commit · +2 −4 2024-01: 0 commits · +0 −0 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: 1 commit · +1 −1 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: 1 commit · +1 −1 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: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. spinics.net

    The driver was upstreamed in 2022 as a supported Amlogic Meson G12 DDR bandwidth PMU driver, with MAINTAINERS coverage for drivers/perf/amlogic/.

  2. spinics.net

    The driver was still receiving real bug-fix traffic in 2025, including a functional fix for unsafe CPU-ID access in meson_ddr_pmu_create().

  3. khadas.com

    Khadas still markets the VIM3 board with an Amlogic A311D SoC, showing new-sale availability for a supported G12-family deployment.

  4. ameridroid.com

    ODROID-N2+ remains on sale with an Amlogic S922X SoC, another supported G12-family deployment.

codex reasoning notes (technical)

Local shell inspection of drivers/perf/amlogic showed a real platform perf driver with DT compatibles amlogic,g12a-ddr-pmu, amlogic,g12b-ddr-pmu, and amlogic,sm1-ddr-pmu. `git log` (shell) showed substantive touches through 2025-05-09. Web search found an upstream 2025 fix thread on spinics and the 2022 upstreaming thread with MAINTAINERS coverage; no removal series surfaced in the same lore/spinics-targeted searches, so this looks maintained rather than orphaned. Web search also found current retail pages for Khadas VIM3 (A311D) and ODROID-N2+ (S922X), supporting that G12-family hardware is still sold new; deployments for this specific perf PMU are nevertheless niche, so deployment is low rather than medium.