mirror of
https://github.com/torvalds/linux.git
synced 2026-10-22 12:52:02 +02:00
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`. -----BEGIN PGP SIGNATURE----- iQJKBAABCgA0FiEEV4rZyNlmdiYqwGqG+lApCKrFvdAFAmrGSTgWHGEuaGluZGJv cmdAa2VybmVsLm9yZwAKCRD6UCkIqsW90D0vEACXEA9m3GSSzZiZg5Fl9p/6d85I cRuoZOJpiYX5AlI/Xj380qYcPC8vvCf+1UeXk6YKQTAw4kFiRvq+rC2+8tDlUqU9 4EeKXe/9ERSIWJmatcsSi3lASfTEGayTvcO6OPYIodxeSZ8uD7hJ6ccNukLX1xzd /ZXwHJ7PnPU8w9iv6mWlIl12NyUG8DuuJTD6mQHNIVC9ay2nm1aSkJqnXDKdsjs0 8I/iUaE1jUKSiMDtegix/DmiciBgonSb/CAUPfLFtQsA0M+xK4yFvGAUfUn2IMwP SUMutztFcjHh5S/AKKp5t9JsTv9Q+VGlsCfbTxvtTZRiI0L8FwfvSxMRckvX+W+p okzKjiZ2wYq8wBUzjI1z5YfoUrHSH5qBR15ezUYdQgm4G8d5D0bPvx6aa68aS1JN 7MqezMzJ/pHCzKe3BGL4e2G7fqLMAQMdhvgfVsgDUrJ2dna3EpdTg0UAVBjldPhM /LwPX0OX+KKpmonqw4QH2T673NZc+rP2nxpYKC9dQzNpcW1U3DHEI+ayWLWdRHwY 8ZpWWI4lLWi19Nbiuwc3CEwS4g9JvpReZ7W86kO3p3y2F3wLscdQQ9VbxyImLrum hJjoFoM1Sk+rSZqAjd7VNWgW74PbeKixGGRnKFFesymtvLRbHXc9POqzofYAF1CN oYVw5shj4qI8y3ypQA== =AXU9 -----END PGP SIGNATURE----- Merge tag 'rust-timekeeping-for-v7.4-rc1' of https://github.com/Rust-for-Linux/linux into rust-next Pull timekeeping updates from Andreas Hindborg: - Warn and assert 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'. * tag 'rust-timekeeping-for-v7.4-rc1' of https://github.com/Rust-for-Linux/linux: rust: hrtimer: document handle based design rationale rust: time: add Delta::to_jiffies_timeout() for timeout conversion rust: bindings: set HZ to CONFIG_HZ rust: time: rename ClockSource trait to ClockId rust: time: warn and assert out-of-range input in fsleep() and udelay()
108 lines
2.9 KiB
Plaintext
108 lines
2.9 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menuconfig RUST_KUNIT_TESTS
|
|
bool "Rust KUnit tests"
|
|
depends on KUNIT && RUST
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This menu collects all options for Rust KUnit tests.
|
|
See Documentation/rust/testing.rst for how to protect
|
|
unit tests with these options.
|
|
|
|
Say Y here to enable Rust KUnit tests.
|
|
|
|
If unsure, say N.
|
|
|
|
if RUST_KUNIT_TESTS
|
|
config RUST_ALLOCATOR_KUNIT_TEST
|
|
bool "KUnit tests for Rust allocator API" if !KUNIT_ALL_TESTS
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This option enables KUnit tests for the Rust allocator API.
|
|
These are only for development and testing, not for regular
|
|
kernel use cases.
|
|
|
|
If unsure, say N.
|
|
|
|
config RUST_KVEC_KUNIT_TEST
|
|
bool "KUnit tests for Rust KVec API" if !KUNIT_ALL_TESTS
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This option enables KUnit tests for the Rust KVec API.
|
|
These are only for development and testing, not for
|
|
regular kernel use cases.
|
|
|
|
If unsure, say N.
|
|
|
|
config RUST_BITMAP_KUNIT_TEST
|
|
bool "KUnit tests for Rust bitmap API" if !KUNIT_ALL_TESTS
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This option enables KUnit tests for the Rust bitmap API.
|
|
These are only for development and testing, not for regular
|
|
kernel use cases.
|
|
|
|
If unsure, say N.
|
|
|
|
config RUST_KUNIT_SELFTEST
|
|
bool "KUnit selftests for Rust" if !KUNIT_ALL_TESTS
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This option enables KUnit selftests. These are only
|
|
for development and testing, not for regular kernel
|
|
use cases.
|
|
|
|
If unsure, say N.
|
|
|
|
config RUST_STR_KUNIT_TEST
|
|
bool "KUnit tests for Rust strings API" if !KUNIT_ALL_TESTS
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This option enables KUnit tests for the Rust strings API.
|
|
These are only for development and testing, not for regular
|
|
kernel use cases.
|
|
|
|
If unsure, say N.
|
|
|
|
config RUST_ATOMICS_KUNIT_TEST
|
|
bool "KUnit tests for Rust atomics API" if !KUNIT_ALL_TESTS
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This option enables KUnit tests for the Rust atomics API.
|
|
These are only for development and testing, not for regular
|
|
kernel use cases.
|
|
|
|
If unsure, say N.
|
|
|
|
config RUST_BITFIELD_KUNIT_TEST
|
|
bool "KUnit tests for the Rust `bitfield!` macro" if !KUNIT_ALL_TESTS
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This option enables KUnit tests for the Rust `bitfield!` macro.
|
|
These are only for development and testing, not for regular
|
|
kernel use cases.
|
|
|
|
If unsure, say N.
|
|
|
|
config RUST_BUG_KUNIT_TEST
|
|
bool "KUnit tests for the Rust BUG/WARN functionality" if !KUNIT_ALL_TESTS
|
|
depends on BUG
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This option enables KUnit tests for the Rust BUG/WARN functionality.
|
|
These are only for development and testing, not for regular
|
|
kernel use cases.
|
|
|
|
If unsure, say N.
|
|
|
|
config RUST_TIME_KUNIT_TEST
|
|
bool "KUnit tests for the Rust time API" if !KUNIT_ALL_TESTS
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This option enables KUnit tests for the Rust time API.
|
|
These are only for development and testing, not for regular
|
|
kernel use cases.
|
|
|
|
If unsure, say N.
|
|
|
|
endif
|