mirror of
https://github.com/torvalds/linux.git
synced 2025-08-15 14:11:42 +02:00
![]() Add a generic iomem abstraction to safely read and write ioremapped regions. This abstraction requires a previously acquired IoRequest instance. This makes it so that both the resource and the device match, or, in other words, that the resource is indeed a valid resource for a given bound device. A subsequent patch will add the ability to retrieve IoRequest instances from platform devices. The reads and writes are done through IoRaw, and are thus checked either at compile-time, if the size of the region is known at that point, or at runtime otherwise. Non-exclusive access to the underlying memory region is made possible to cater to cases where overlapped regions are unavoidable. Acked-by: Miguel Ojeda <ojeda@kernel.org> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com> Link: https://lore.kernel.org/r/20250717-topics-tyr-platform_iomem-v15-2-beca780b77e3@collabora.com [ Add #[expect(dead_code)] to avoid a temporary warning, remove unnecessary OF_ID_TABLE constants in doc-tests and ignore doc-tests for now to avoid a temporary build failure. - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org> |
||
---|---|---|
.. | ||
auxiliary.c | ||
blk.c | ||
bug.c | ||
build_assert.c | ||
build_bug.c | ||
clk.c | ||
completion.c | ||
cpu.c | ||
cpufreq.c | ||
cpumask.c | ||
cred.c | ||
device.c | ||
dma.c | ||
drm.c | ||
err.c | ||
fs.c | ||
helpers.c | ||
io.c | ||
jump_label.c | ||
kunit.c | ||
mm.c | ||
mutex.c | ||
of.c | ||
page.c | ||
pci.c | ||
pid_namespace.c | ||
platform.c | ||
property.c | ||
rbtree.c | ||
rcu.c | ||
refcount.c | ||
security.c | ||
signal.c | ||
slab.c | ||
spinlock.c | ||
sync.c | ||
task.c | ||
uaccess.c | ||
vmalloc.c | ||
wait.c | ||
workqueue.c | ||
xarray.c |