Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
RDMA/umem: Derive DMA direction from IB access flags
Map non-writable user memory DMA_TO_DEVICE: when no write access is granted, the NIC only reads the pages and DMA_BIDIRECTIONAL is unnecessarily broad. Where the IOMMU enforces direction this prevents the device writing to read-only buffers; where it does not the mapping is still semantically correct. Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://patch.msgid.link/20260915140933.40580-8-yishaih@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Author Yishai Hadas Committer Leon Romanovsky Date (Sep 28, 2026, 12:13 PM UTC) Commit
Copy SHA
Parent 50b96c3e 50b96c3e3feb6161df4a1ac4975e885602c79bfd