public inbox for linux-pwm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Implement Send and Sync for clk
@ 2025-12-18 13:27 Alice Ryhl
  2025-12-18 13:27 ` [PATCH v3 1/3] rust: clk: implement Send and Sync Alice Ryhl
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alice Ryhl @ 2025-12-18 13:27 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Maarten Lankhorst, Maxime Ripard,
	Drew Fustini, Guo Ren, Fu Wei, Uwe Kleine-König,
	Michal Wilczynski
  Cc: 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-riscv, linux-pwm,
	Alice Ryhl

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 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] 6+ messages in thread

end of thread, other threads:[~2026-01-07 17:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-18 13:27 [PATCH v3 0/3] Implement Send and Sync for clk Alice Ryhl
2025-12-18 13:27 ` [PATCH v3 1/3] rust: clk: implement Send and Sync Alice Ryhl
2025-12-18 13:27 ` [PATCH v3 2/3] tyr: remove impl Send/Sync for TyrData Alice Ryhl
2025-12-18 13:27 ` [PATCH v3 3/3] pwm: th1520: remove impl Send/Sync for Th1520PwmDriverData Alice Ryhl
2025-12-18 14:13 ` [PATCH v3 0/3] Implement Send and Sync for clk Daniel Almeida
2026-01-07 17:35 ` Gary Guo

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