public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Implement Send and Sync for clk
@ 2026-01-13 15:12 Alice Ryhl
  2026-01-13 15:12 ` [PATCH v4 1/3] rust: clk: implement Send and Sync Alice Ryhl
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Alice Ryhl @ 2026-01-13 15:12 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Michael Turquette, Maarten Lankhorst, Maxime Ripard, Drew Fustini,
	Guo Ren, Fu Wei, Uwe Kleine-König, Michal Wilczynski,
	Viresh Kumar, Miguel Ojeda, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg,
	Trevor Gross, Danilo Krummrich, Daniel Almeida, linux-clk,
	rust-for-linux, linux-kernel, dri-devel, linux-pwm, Alice Ryhl,
	linux-riscv

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.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
Changes in v4:
- Pick up Reviewed-by tags.
- Link to v3: https://lore.kernel.org/r/20251218-clk-send-sync-v3-0-e48b2e2f1eac@google.com

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/20251020-clk-send-sync-v2-0-44ab533ae084@google.com

Changes in v2:
- Rebase on v6.18-rc1.
- Add patch to tyr driver.
- Link to v1: https://lore.kernel.org/r/20250904-clk-send-sync-v1-1-48d023320eb8@google.com

---
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: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20250904-clk-send-sync-3cfa7f4e1ce2

Best regards,
-- 
Alice Ryhl <aliceryhl@google.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-05  8:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13 15:12 [PATCH v4 0/3] Implement Send and Sync for clk Alice Ryhl
2026-01-13 15:12 ` [PATCH v4 1/3] rust: clk: implement Send and Sync Alice Ryhl
2026-01-13 15:12 ` [PATCH v4 2/3] tyr: remove impl Send/Sync for TyrData Alice Ryhl
2026-01-13 15:12 ` [PATCH v4 3/3] pwm: th1520: remove impl Send/Sync for Th1520PwmDriverData Alice Ryhl
2026-01-19 21:45   ` Michal Wilczynski
2026-01-20  8:48     ` Uwe Kleine-König
2026-03-05  8:24       ` Uwe Kleine-König
2026-03-05  8:43         ` Alice Ryhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox