mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC 0/3] MLX Adress Space ID + Control VirtQueue fixes
@ 2023-01-12 14:22 Eugenio Pérez
  2023-01-12 14:22 ` [RFC 1/3] vdpa/mlx5: reset iotlb at dup_iotlb Eugenio Pérez
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Eugenio Pérez @ 2023-01-12 14:22 UTC (permalink / raw)
  To: mst, elic
  Cc: linux-kernel, parav, lulu, jasowang, virtualization, sgarzare,
	si-wei.liu

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-01-17  7:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-12 14:22 [RFC 0/3] MLX Adress Space ID + Control VirtQueue fixes Eugenio Pérez
2023-01-12 14:22 ` [RFC 1/3] vdpa/mlx5: reset iotlb at dup_iotlb Eugenio Pérez
2023-01-16  6:31   ` Eli Cohen
2023-01-16 18:16     ` Eugenio Perez Martin
2023-01-12 14:22 ` [RFC 2/3] vdpa/mlx5: conditionally delete cvq iotlb in destroy_mr Eugenio Pérez
2023-01-16  7:03   ` Eli Cohen
2023-01-16 18:03     ` Eugenio Perez Martin
2023-01-17  7:07       ` Eli Cohen
2023-01-17  7:25         ` Eugenio Perez Martin
2023-01-12 14:22 ` [RFC 3/3] vdpa/mlx5: take iommu_lock at dup_iotlb Eugenio Pérez
2023-01-16  7:13   ` Eli Cohen
2023-01-16 10:39     ` Eugenio Perez Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®