summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2026-09-15 17:09:21 +0300
committerLeon Romanovsky <leon@kernel.org>2026-09-28 08:13:00 -0400
commit89abac4b60b708037595255ea2614b6967c86ee5 (patch)
treefb130ea5218a53f6f1a591e3f3c895676460fcc7 /tools/lib/python
parentce29f6e741844a78ad1977f2a550ede27ecf95f8 (diff)
RDMA/vmw_pvrdma: Pin QP and SRQ rings writable to match device DMA write access
pvrdma embeds a pvrdma_ring_state header directly inside the QP and SRQ ring buffers, and the hypervisor writes cons_head into that header. Pinning with access=0 does not force a private page copy (no FOLL_WRITE), so the hypervisor may write into a shared page. Pass IB_ACCESS_LOCAL_WRITE for all three rings. The SRQ ring_state is not currently used by the driver but is pinned writable for consistency. Fixes: 29c8d9eba550 ("IB: Add vmw_pvrdma driver") Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://patch.msgid.link/20260915140933.40580-4-yishaih@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions