[PATCH 0/2] vdpa/mlx5: Fixes for ASID handling

From: Dragos Tatulea
Date: Wed Aug 02 2023 - 13:13:04 EST


This patch series is based on Eugenio's fix for handling CVQs in
a different ASID [0].

The first patch is the actual fix.

The next 2 patches are fixing a possible issue that I found while
implementing patch 1. The patches are ordered like this for clarity.

[0] https://lore.kernel.org/lkml/20230112142218.725622-1-eperezma@xxxxxxxxxx/

Dragos Tatulea (1):
vdpa/mlx5: Fix mr->initialized semantics

Eugenio Pérez (1):
vdpa/mlx5: Delete control vq iotlb in destroy_mr only when necessary

drivers/vdpa/mlx5/core/mlx5_vdpa.h | 2 +
drivers/vdpa/mlx5/core/mr.c | 97 +++++++++++++++++++++---------
drivers/vdpa/mlx5/net/mlx5_vnet.c | 4 +-
3 files changed, 74 insertions(+), 29 deletions(-)

--
2.41.0