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

Eugenio Pérez posted 3 patches 2 years, 8 months ago
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(-)
[RFC 0/3] MLX Adress Space ID + Control VirtQueue fixes
Posted by Eugenio Pérez 2 years, 8 months ago
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