[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250402214109.653341-1-lyude@redhat.com>
Date: Wed, 2 Apr 2025 17:40:28 -0400
From: Lyude Paul <lyude@...hat.com>
To: rust-for-linux@...r.kernel.org,
Andreas Hindborg <a.hindborg@...nel.org>,
linux-kernel@...r.kernel.org
Cc: Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>
Subject: [PATCH 0/6] rust/hrtimer: Various hrtimer + time additions
This is a collection of various bindings that I added to hrtimer when I
was originally getting it ready to be used in rvkms. I've mostly been
waiting for Andreas's hrtimer series to go upstream before submitting
these.
All of these are currently being used within rvkms for vblank emulation.
Lyude Paul (6):
rust: time: Add Ktime::from_ns()
rust: hrtimer: Add HrTimerCallbackContext and ::forward()
rust: hrtimer: Add HrTimerClockBase
rust: hrtimer: Add HrTimerClockBase::time()
rust: hrtimer: Add HrTimerCallbackContext::forward_now()
rust: hrtimer: Add HrTimerCallback::expires()
rust/kernel/time.rs | 10 ++-
rust/kernel/time/hrtimer.rs | 127 +++++++++++++++++++++++++++-
rust/kernel/time/hrtimer/arc.rs | 7 +-
rust/kernel/time/hrtimer/pin.rs | 7 +-
rust/kernel/time/hrtimer/pin_mut.rs | 9 +-
rust/kernel/time/hrtimer/tbox.rs | 7 +-
6 files changed, 157 insertions(+), 10 deletions(-)
base-commit: 142d93914b8575753f56f0c3571bd81f214b7418
--
2.48.1
Powered by blists - more mailing lists