Rust for Linux List
 help / color / mirror / Atom feed
* [GIT PULL] Rust timekeeping for v7.4-rc1
@ 2026-10-07 13:34 Andreas Hindborg
  2026-10-07 13:55 ` FUJITA Tomonori
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Hindborg @ 2026-10-07 13:34 UTC (permalink / raw)
  To: Miguel Ojeda
  Cc: Boqun Feng, FUJITA Tomonori, Frederic Weisbecker, Lyude Paul,
	Thomas Gleixner, Anna-Maria Behnsen, John Stultz, Stephen Boyd,
	rust-for-linux@vger.kernel.org, rust-for-linux

Hi Miguel,

Please pull these changes for rust timekeeping for v7.4-rc1.

The following changes since commit df2908090cda368b01ff43709f51890076c56157:

  Linux 7.3-rc2 (2026-09-06 15:07:20 -0700)

are available in the Git repository at:

  https://github.com/rust-for-linux/linux.git tags/rust-timekeeping-for-v7.4-rc1

for you to fetch changes up to 2ea0119f72dba597aa8a98cbdb72c564bfc5cb38:

  rust: hrtimer: document handle based design rationale (2026-09-29 09:22:30 +0200)

----------------------------------------------------------------
Rust timekeeping changes for v7.4-rc1

This time we have a few assorted changes:

 - Warnings when passing out-of-range inputs to `fsleep` and `udelay`.
 - Rename `ClockSource` to `ClockId` to better align with naming conventions in C kernel.
 - Make `CONFIG_HZ` value available as `bindings::HZ`.
 - Add a conversion method to convert `Delta` to `jiffies` for use in timeout arguments.
 - Add implementation detail documentation for `HrTimer`.

----------------------------------------------------------------
Andreas Hindborg (1):
      rust: hrtimer: document handle based design rationale

FUJITA Tomonori (3):
      rust: time: rename ClockSource trait to ClockId
      rust: bindings: set HZ to CONFIG_HZ
      rust: time: add Delta::to_jiffies_timeout() for timeout conversion

Sang-Heon Jeon (1):
      rust: time: warn and assert out-of-range input in fsleep() and udelay()

 rust/bindings/lib.rs        |   5 ++
 rust/helpers/helpers.c      |   1 +
 rust/helpers/math.c         |   8 +++
 rust/kernel/Kconfig.test    |  10 ++++
 rust/kernel/time.rs         | 139 ++++++++++++++++++++++++++++++++++++++------
 rust/kernel/time/delay.rs   |  17 ++++--
 rust/kernel/time/hrtimer.rs |  95 +++++++++++++++++-------------
 7 files changed, 211 insertions(+), 64 deletions(-)
 create mode 100644 rust/helpers/math.c


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

end of thread, other threads:[~2026-10-08 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-07 13:34 [GIT PULL] Rust timekeeping for v7.4-rc1 Andreas Hindborg
2026-10-07 13:55 ` FUJITA Tomonori
2026-10-08 13:02   ` Andreas Hindborg
2026-10-08 13:40     ` FUJITA Tomonori

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