linux/drivers/gpu/nova-core
Miguel Ojeda b06b348e85 Rust timekeeping changes for v7.1
- Expand the example section in the `HrTimer` documentation.
 
  - Mark the `ClockSource` trait as unsafe to ensure valid values for `ktime_get()`.
 
  - Add `Delta::from_nanos()`.
 -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEEsH5R1a/fCoV1sAS4bgaPnkoY3cFAmnKP7YWHGEuaGluZGJv
 cmdAa2VybmVsLm9yZwAKCRDhuBo+eShjdz6WD/wJwqnMIh8Rlm0HOaOkow9zcOhV
 JCKFThJRxcFZBgFF9sugHPDDay36NzylIiT+9R088JhLbgBjFhV8Bquvu1NECLHX
 xYcRo8aUm5hd/xpEysGSX4s1M5S128701xFT3DXQYkCI0qaBDXtf6Eqmm1jecEEQ
 xRvcFg/sip7hq0f8C2+WIIKoU9fgBHAx3epDbUjg9UWu4l2XLEE6GXjlFR1ypVZN
 /28j9kikWVytlst3udqzVxNW9Vjak3mWflv+J/aBEWjBF0IFTZI3MY//RExHOTMZ
 oWS8zJb1AiLeEGz3UIHeZASrpbkJO2icxkXxYxDZfMs3SH+JTBc16Sk+GFIG1iqj
 v7pX4xeUiN4nemvVAuF/UEGCxEGqKz5gJ7Letk96mAZLroFMtHMOBfAH0/uE/+Zl
 73ZNeeeNZgrlQnNGfJigXQqyySwaAHuKhMHy5nKAYq2QyYJoMLji02ZzCfSDfmKY
 dXKeGXB97dSF8zYnblix8t9A5BDfbPgPiKoKBBmMujPk4lYq4F5mVXgisIuoOs6y
 KXKyNNZDo6wCnHQjfVLm6/Dp1NRE7kQoLwH8fgxjO6vQLrYmBPyBDqnVxrHmDfYP
 mVt+X+7MLve8fADA6ZxWhEgmRnfLdRdfU0CTRFfKVYItbWoj05Zfdj3Z5tN8hzSw
 IlbbtWtuyThXyPvpjg==
 =WT7M
 -----END PGP SIGNATURE-----

Merge tag 'rust-timekeeping-for-v7.1' of https://github.com/Rust-for-Linux/linux into rust-next

Pull timekeeping updates from Andreas Hindborg:

 - Expand the example section in the 'HrTimer' documentation.

 - Mark the 'ClockSource' trait as unsafe to ensure valid values for
   'ktime_get()'.

 - Add 'Delta::from_nanos()'.

This is a back merge since the pull request has a newer base -- we will
avoid that in the future.

And, given it is a back merge, it happens to resolve the "subtle" conflict
around '--remap-path-{prefix,scope}' that I discussed in linux-next [1],
plus a few other common conflicts. The result matches what we did for
next-20260407.

The actual diffstat (i.e. using a temporary merge of upstream first) is:

    rust/kernel/time.rs         |  32 ++++-
    rust/kernel/time/hrtimer.rs | 336 ++++++++++++++++++++++++++++++++++++++++++++
    2 files changed, 362 insertions(+), 6 deletions(-)

Link: https://lore.kernel.org/linux-next/CANiq72kdxB=W3_CV1U44oOK3SssztPo2wLDZt6LP94TEO+Kj4g@mail.gmail.com/ [1]

* tag 'rust-timekeeping-for-v7.1' of https://github.com/Rust-for-Linux/linux:
  hrtimer: add usage examples to documentation
  rust: time: make ClockSource unsafe trait
  rust/time: Add Delta::from_nanos()
2026-04-08 10:44:11 +02:00
..
falcon gpu: nova-core: add Falcon HAL method load_method() 2026-01-24 10:48:59 +09:00
fb gpu: nova-core: justify remaining uses of `as` 2025-11-08 08:22:51 +09:00
firmware drm for 7.0-rc1 2026-02-11 12:55:44 -08:00
gsp Rust timekeeping changes for v7.1 2026-04-08 10:44:11 +02:00
regs rust: io: separate generic I/O helpers from MMIO implementation 2026-01-23 21:20:11 +01:00
Kconfig gpu: nova-core: select RUST_FW_LOADER_ABSTRACTIONS 2025-12-16 21:56:44 +09:00
Makefile
bitfield.rs gpu: nova-core: bitfield: remove BitOr implementation 2025-10-25 13:16:31 +09:00
dma.rs gpu: nova-core: Simplify `DmaObject::from_data` in nova-core/dma.rs 2025-11-07 23:10:44 +09:00
driver.rs gpu: nova: replace `kernel::c_str!` with C-Strings 2025-12-22 17:56:04 +01:00
falcon.rs gpu: nova-core: add Falcon HAL method load_method() 2026-01-24 10:48:59 +09:00
fb.rs gpu: nova-core: add missing newlines to several print strings 2026-01-12 14:44:06 +01:00
firmware.rs gpu: nova-core: add FalconUCodeDescV2 support 2026-01-24 10:48:59 +09:00
gfw.rs gpu: nova-core: apply the one "use" item per line policy 2025-11-07 23:10:44 +09:00
gpu.rs gpu: nova-core: add missing newlines to several print strings 2026-01-12 14:44:06 +01:00
gsp.rs gpu: nova-core: fix stack overflow in GSP memory allocation 2026-03-10 18:29:14 +01:00
nova_core.rs gpu: nova-core: use CStr::from_bytes_until_nul() and remove util.rs 2026-01-07 19:36:11 +01:00
num.rs gpu: nova-core: num: add functions to safely convert a const value to a smaller type 2025-11-14 20:25:15 +09:00
regs.rs gpu: nova-core: add NV_PFALCON_FALCON_ENGINE::reset_engine() 2026-01-24 08:45:13 +09:00
sbuffer.rs gpu: nova-core: remove imports available via prelude 2026-01-30 02:42:42 +01:00
vbios.rs Driver core changes for 7.0-rc1 2026-02-11 17:43:59 -08:00