linux/rust/kernel
Boqun Feng f74cf399e0 rust: debugfs: Replace the usage of Rust native atomics
Rust native atomics are not allowed to use in kernel due to the mismatch
of memory model with Linux kernel memory model, hence remove the usage
of Rust native atomics in debufs.

Reviewed-by: Matthew Maurer <mmaurer@google.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Tested-by: David Gow <davidgow@google.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://patch.msgid.link/20251022035324.70785-4-boqun.feng@gmail.com
2025-11-12 08:56:42 -08:00
..
alloc rust: alloc: employ a trailing comment to keep vertical layout 2025-10-17 00:56:20 +02:00
block for-6.18/block-20250929 2025-10-02 10:16:56 -07:00
debugfs rust: debugfs: Replace the usage of Rust native atomics 2025-11-12 08:56:42 -08:00
device rust: device: use `kernel::{fmt,prelude::fmt!}` 2025-09-16 09:26:59 +02:00
drm drm next for 6.18-rc1 2025-10-02 12:47:25 -07:00
fs rust: file: add intra-doc link for 'EBADF' 2025-10-07 12:48:33 +02:00
io
irq
list
mm rust: mm: update ARef and AlwaysRefCounted imports from sync::aref 2025-09-13 16:55:15 -07:00
net Networking changes for 6.18. 2025-10-02 15:17:01 -07:00
pci rust: pci: display symbolic PCI vendor names 2025-09-25 15:52:00 +02:00
sync rust: sync: atomic: Implement Debug for Atomic<Debug> 2025-11-12 08:56:41 -08:00
time
.gitignore
acpi.rs rust: acpi: use `core::ffi::CStr` method names 2025-09-16 09:26:59 +02:00
alloc.rs Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
auxiliary.rs Driver core changes for 6.18-rc1 2025-10-01 08:39:23 -07:00
bitmap.rs rust: bitmap: fix formatting 2025-10-17 13:02:22 +02:00
bits.rs
block.rs
bug.rs
build_assert.rs
clk.rs
configfs.rs for-6.18/block-20250929 2025-10-02 10:16:56 -07:00
cpu.rs rust: kernel: cpu: mark `CpuId::current()` inline 2025-09-14 23:58:45 +02:00
cpufreq.rs rust: cpufreq: fix formatting 2025-10-17 00:56:20 +02:00
cpumask.rs
cred.rs Char/Misc/IIO/Binder changes for 6.18-rc1 2025-10-04 16:26:32 -07:00
debugfs.rs
device.rs Driver core changes for 6.18-rc1 2025-10-01 08:39:23 -07:00
device_id.rs modpost: Add modname to mod_device_table alias 2025-09-24 09:10:45 -07:00
devres.rs drm next for 6.18-rc1 2025-10-02 12:47:25 -07:00
dma.rs dma-mapping updates for Linux 6.18: 2025-10-03 17:41:12 -07:00
driver.rs
error.rs
faux.rs
firmware.rs rust: firmware: use `core::ffi::CStr` method names 2025-09-16 09:26:59 +02:00
fmt.rs
fs.rs
generated_arch_reachable_asm.rs.S
generated_arch_static_branch_asm.rs.S
generated_arch_warn_asm.rs.S
id_pool.rs rust: add dynamic ID pool abstraction for bitmap 2025-09-22 15:52:44 -04:00
init.rs
io.rs
ioctl.rs
iov.rs
irq.rs
jump_label.rs
kunit.rs linux_kselftest-kunit-6.18-rc1 2025-10-01 19:15:11 -07:00
lib.rs Char/Misc/IIO/Binder changes for 6.18-rc1 2025-10-04 16:26:32 -07:00
list.rs rust: list: Add an example for `ListLinksSelfPtr` usage 2025-09-15 01:10:23 +02:00
maple_tree.rs rust: maple_tree: add MapleTreeAlloc 2025-09-21 14:22:19 -07:00
miscdevice.rs Char/Misc/IIO/Binder changes for 6.18-rc1 2025-10-04 16:26:32 -07:00
mm.rs rust: mm: update ARef and AlwaysRefCounted imports from sync::aref 2025-09-13 16:55:15 -07:00
net.rs
of.rs rust: of: use `core::ffi::CStr` method names 2025-09-16 09:26:59 +02:00
opp.rs Merge branches 'pm-em', 'pm-opp' and 'pm-devfreq' 2025-09-29 12:30:44 +02:00
page.rs Char/Misc/IIO/Binder changes for 6.18-rc1 2025-10-04 16:26:32 -07:00
pci.rs rust: pci: fix incorrect platform reference in PCI driver probe doc comment 2025-09-17 12:51:13 +02:00
pid_namespace.rs
platform.rs
prelude.rs
print.rs
processor.rs
ptr.rs rust: add `Alignment` type 2025-09-22 23:55:41 +02:00
rbtree.rs
regulator.rs
revocable.rs
scatterlist.rs
security.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
seq_file.rs rust: seq_file: use `kernel::{fmt,prelude::fmt!}` 2025-09-16 09:26:59 +02:00
sizes.rs
static_assert.rs
std_vendor.rs
str.rs
sync.rs rust: implement `kernel::sync::Refcount` 2025-09-15 09:38:35 +02:00
task.rs
time.rs
tracepoint.rs
transmute.rs
types.rs
uaccess.rs
usb.rs rust: usb: keep usb::Device private for now 2025-09-26 08:09:08 +02:00
workqueue.rs rust: pin-init: add pin projections to `#[pin_data]` 2025-09-11 23:26:20 +02:00
xarray.rs