2023-01-12 15:59:04

by Eugenio Perez Martin

[permalink] [raw]
Subject: [RFC 0/3] MLX Adress Space ID + Control VirtQueue fixes

Proposal for fixes detected when using CVQ in a different ASID.



Only tested with qemu and vhost_vdpa.



Eugenio PĂ©rez (3):

vdpa/mlx5: reset iotlb at dup_iotlb

vdpa/mlx5: conditionally delete cvq iotlb in destroy_mr

vdpa/mlx5: take iommu_lock at dup_iotlb



drivers/vdpa/mlx5/core/mlx5_vdpa.h | 2 +-

drivers/vdpa/mlx5/core/mr.c | 20 ++++++++++++++------

drivers/vdpa/mlx5/net/mlx5_vnet.c | 12 ++++++------

3 files changed, 21 insertions(+), 13 deletions(-)



--

2.31.1