Skip to content

Implement Send and Sync for clk

Alice Ryhl dri-devel linux-clk linux-pwm lkml rust-for-linux 5 versions – Applied

Status from this message: Applied to `rust-next` -- thanks everyone!

Get series with b4
b4 am [email protected] change-id 20250904-clk-send-sync-3cfa7f4e1ce2

Versions newest first

  1. v5 Latest3 patches 16 repliesApplied
  2. v43 patches 4 repliesSuperseded
  3. v33 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches8 repliesSuperseded
v11 patch6 repliesSuperseded

Changes in v5 from the cover letter

- Rebase on v7.0-rc1.
- Pick up Reviewed-by tags.
- Link to v4: https://lore.kernel.org/r/[email protected]

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3rust: clk: implement Send and Syncrust/kernel/clk.rs+7 -00 replies
2/3tyr: remove impl Send/Sync for TyrDatadrivers/gpu/drm/tyr/driver.rs+0 -120 replies
3/3pwm: th1520: remove impl Send/Sync for Th1520PwmDriverDatadrivers/pwm/pwm_th1520.rs+0 -150 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel AlmeidaDanilo KrummrichViresh KumarBoqun FengGary GuoUwe Kleine-KönigMichal WilczynskiBrian Masney
SeriesA-b
1/3R-b R-b A-b R-b R-b
2/3R-b R-b R-b R-b
3/3R-b R-b A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/3] Implement Send and Sync for clk

The Clk type is thread-safe, so let's mark it as thread-safe in the type system. This lets us get rid of hacks in drivers.

For Stephen's clk tree.

---
Changes in v5:
- Rebase on v7.0-rc1.
- Pick up Reviewed-by tags.
- Link to v4: https://lore.kernel.org/r/[email protected]

Changes in v4:
- Pick up Reviewed-by tags.
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- Rebase on v6.19-rc1.
- Pick up tags.
- Add fix for pwm driver as well.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Rebase on v6.18-rc1.
- Add patch to tyr driver.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Alice Ryhl (3):
rust: clk: implement Send and Sync
tyr: remove impl Send/Sync for TyrData
pwm: th1520: remove impl Send/Sync for Th1520PwmDriverData

 drivers/gpu/drm/tyr/driver.rs | 12 ------------
 drivers/pwm/pwm_th1520.rs     | 15 ---------------
 rust/kernel/clk.rs            |  7 +++++++
 3 files changed, 7 insertions(+), 27 deletions(-)

---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20250904-clk-send-sync-3cfa7f4e1ce2

Best regards,

Signature · 1 line
Alice Ryhl <[email protected]>