lkml.org 
[lkml]   [2023]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC 0/3] MLX Adress Space ID + Control VirtQueue fixes
Date
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


\
 
 \ /
  Last update: 2023-03-26 23:37    [W:0.150 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site