drivers/dma/sf-pdma

SiFive FU540 Platform DMA Engine

The on-chip platform DMA engine inside SiFive's Freedom U540 (FU540-C000) RISC-V SoC, best known as the processor in the 2018 HiFive Unleashed development board. It moves data between memory and peripherals on early RISC-V Linux-capable hardware used for kernel and toolchain bring-up.

keep-annotate conf=0.83 deploy=low replacement=none subsystem=dma category=bus-other
83%

recommendation

Worth keeping but documenting its niche because the FU540 SoC powers the long-discontinued HiFive Unleashed board and a handful of derivative designs rather than any currently shipping hardware. Even so, the driver continues to receive real bug-fix patches into 2024 and beyond, suggesting a small but active community of RISC-V developers still relies on it for bring-up and legacy boards.

repository signals

4 files
784 source lines
14 commits, 5y
+110 / −54 lines added / removed, 5y
11 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 14 total · active in 13/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 1 commit · +1 −0 2021-06: 1 commit · +3 −2 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: 1 commit · +18 −14 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 1 commit · +30 −14 2022-08: 1 commit · +2 −6 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 1 commit · +1 −3 2022-12: 0 commits · +0 −0 2023-01: 1 commit · +1 −3 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: 1 commit · +1 −1 2023-09: 1 commit · +2 −4 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 2 commits · +48 −4 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −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: 1 commit · +1 −1 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: 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: 1 commit · +1 −1 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. static.dev.sifive.com

    Vendor manual named in the driver source documents the FU540-C000 Platform DMA Engine targeted by this driver.

  2. lore.kernel.org

    As of 2026-02-20 the driver was still receiving nontrivial bug-fix patches upstream, indicating active maintenance rather than abandonment.

  3. lore.kernel.org

    The driver also saw targeted correctness fixes in late 2024, reinforcing that real users still exercise it.

  4. sifive.com

    SiFive's current board page marks HiFive Unleashed as Discontinued and identifies it as using the Freedom U540 (FU540) SoC; the page places it under Legacy Boards rather than Available Now.

codex reasoning notes (technical)

Driver source inspection via functions.exec_command shows this is the SiFive FU540 Platform DMA driver. lore_file_timeline on drivers/dma/sf-pdma/sf-pdma.c showed recent 2024-2026 fix traffic and no visible removal/deprecation series in the returned recent subjects, so removal is not indicated. Web search + open on sifive.com showed the main FU540 board (HiFive Unleashed) is discontinued/legacy, so new-hardware sales in 2025 look unlikely. Conclusion: niche legacy/bring-up deployments likely remain, but hardware is not current; keep the driver, annotate it as legacy-oriented rather than deprecating or removing it.