kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH vfio-next 0/3] mlx5 VFIO PCI DMA conversion
@ 2025-05-20 13:46 Leon Romanovsky
  2025-05-20 13:46 ` [PATCH vfio-next 1/3] vfio/mlx5: Explicitly use number of pages instead of allocated length Leon Romanovsky
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Leon Romanovsky @ 2025-05-20 13:46 UTC (permalink / raw)
  To: Alex Williamson
  Cc: Marek Szyprowski, kvm, Yishai Hadas, Jason Gunthorpe,
	Shameer Kolothum, Kevin Tian, Christoph Hellwig

Hi Alex,

This series presents subset of new DMA-API patchset [1] specific
for VFIO subsystem, with some small changes:
1. Change commit message in first patch.
2. Removed WARN_ON_ONCE DMA_NONE checks from third patch.

------------------------------------------------------------------
It is based on Marek's dma-mapping-for-6.16-two-step-api branch, so merging
now will allow us to reduce possible rebase errors in mlx5 vfio code and give
enough time to start to work on second driver conversion. Such conversion will
allow us to generalize the API for VFIO kernel drivers, in similar way that
was done for RDMA, HMM and block layers.

Thanks

[1] [PATCH v10 00/24] Provide a new two step DMA mapping API
https://lore.kernel.org/all/cover.1745831017.git.leon@kernel.org/

Leon Romanovsky (3):
  vfio/mlx5: Explicitly use number of pages instead of allocated length
  vfio/mlx5: Rewrite create mkey flow to allow better code reuse
  vfio/mlx5: Enable the DMA link API

 drivers/vfio/pci/mlx5/cmd.c  | 371 +++++++++++++++++------------------
 drivers/vfio/pci/mlx5/cmd.h  |  35 ++--
 drivers/vfio/pci/mlx5/main.c |  87 ++++----
 3 files changed, 235 insertions(+), 258 deletions(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-05-20 15:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-20 13:46 [PATCH vfio-next 0/3] mlx5 VFIO PCI DMA conversion Leon Romanovsky
2025-05-20 13:46 ` [PATCH vfio-next 1/3] vfio/mlx5: Explicitly use number of pages instead of allocated length Leon Romanovsky
2025-05-20 13:46 ` [PATCH vfio-next 2/3] vfio/mlx5: Rewrite create mkey flow to allow better code reuse Leon Romanovsky
2025-05-20 13:46 ` [PATCH vfio-next 3/3] vfio/mlx5: Enable the DMA link API Leon Romanovsky
2025-05-20 14:13 ` [PATCH vfio-next 0/3] mlx5 VFIO PCI DMA conversion Yishai Hadas
2025-05-20 15:39 ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).