linux/samples/rust
Danilo Krummrich b75a99e107 samples: rust: pci: take advantage of Devres::access()
For the I/O operations executed from the probe() method, take advantage
of Devres::access(), avoiding the atomic check and RCU read lock required
otherwise entirely.

Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Link: https://lore.kernel.org/r/20250428140137.468709-4-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2025-05-04 17:54:08 +02:00
..
hostprogs
Kconfig samples: rust: add Rust auxiliary driver sample 2025-04-19 14:24:05 +02:00
Makefile samples: rust: add Rust auxiliary driver sample 2025-04-19 14:24:05 +02:00
rust_dma.rs Driver core updates for 6.15-rc1 2025-04-01 11:02:03 -07:00
rust_driver_auxiliary.rs samples: rust: add Rust auxiliary driver sample 2025-04-19 14:24:05 +02:00
rust_driver_faux.rs Driver core updates for 6.15-rc1 2025-04-01 11:02:03 -07:00
rust_driver_pci.rs samples: rust: pci: take advantage of Devres::access() 2025-05-04 17:54:08 +02:00
rust_driver_platform.rs Driver core updates for 6.15-rc1 2025-04-01 11:02:03 -07:00
rust_minimal.rs rust: module: introduce authors key 2025-03-10 15:12:17 +01:00
rust_misc_device.rs Char/Misc/IIO driver updates for 6.15-rc1 2025-04-01 11:26:08 -07:00
rust_print_events.c rust: samples: add tracepoint to Rust sample 2024-11-04 16:21:44 -05:00
rust_print_main.rs rust: module: introduce authors key 2025-03-10 15:12:17 +01:00