Rust for Linux List
 help / color / mirror / Atom feed
From: Andreas Hindborg <a.hindborg@kernel.org>
To: Miguel Ojeda <ojeda@kernel.org>
Cc: Boqun Feng <boqun.feng@gmail.com>,
	FUJITA Tomonori <fujita.tomonori@gmail.com>,
	Frederic Weisbecker <frederic@kernel.org>,
	Lyude Paul <lyude@redhat.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Anna-Maria Behnsen <anna-maria@linutronix.de>,
	John Stultz <jstultz@google.com>, Stephen Boyd <sboyd@kernel.org>,
	"rust-for-linux@vger.kernel.org" <rust-for-linux@vger.kernel.org>,
	rust-for-linux@vger.kernel.org
Subject: [GIT PULL] Rust timekeeping for v7.4-rc1
Date: Wed, 07 Oct 2026 15:34:44 +0200	[thread overview]
Message-ID: <87ece1eirv.fsf@kernel.org> (raw)

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


             reply	other threads:[~2026-10-07 13:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-07 13:34 Andreas Hindborg [this message]
2026-10-07 13:55 ` [GIT PULL] Rust timekeeping for v7.4-rc1 FUJITA Tomonori
2026-10-08 13:02   ` Andreas Hindborg
2026-10-08 13:40     ` FUJITA Tomonori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ece1eirv.fsf@kernel.org \
    --to=a.hindborg@kernel.org \
    --cc=anna-maria@linutronix.de \
    --cc=boqun.feng@gmail.com \
    --cc=frederic@kernel.org \
    --cc=fujita.tomonori@gmail.com \
    --cc=jstultz@google.com \
    --cc=lyude@redhat.com \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=sboyd@kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox