[RFC,0/3] MLX Adress Space ID + Control VirtQueue fixes

Message ID 20230112142218.725622-1-eperezma@redhat.com
Headers
Series MLX Adress Space ID + Control VirtQueue fixes |

Message

Eugenio Perez Martin Jan. 12, 2023, 2:22 p.m. UTC
  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