search for: iotlb_persist

Displaying 5 results from an estimated 5 matches for "iotlb_persist".

2023 Aug 16
1
[PATCH RFC 4/4] vhost-vdpa: introduce IOTLB_PERSIST backend feature bit
On Wed, Aug 16, 2023 at 6:31?AM Si-Wei Liu <si-wei.liu at oracle.com> wrote: > > > > On 8/14/2023 7:25 PM, Jason Wang wrote: > > On Tue, Aug 15, 2023 at 9:45?AM Si-Wei Liu <si-wei.liu at oracle.com> wrote: > >> Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com> > >> --- > >> drivers/vhost/vdpa.c | 16 +++++++++++++++-
2023 Aug 16
1
[PATCH RFC 4/4] vhost-vdpa: introduce IOTLB_PERSIST backend feature bit
...emory_listener_unregister() call out of the reset path unconditionally, as we don't want to break the already-functioning older kernel even though it's suboptimal in performance. Instead, to keep new QEMU continuing to work on top of the existing or older kernels, QEMU has to check this IOTLB_PERSIST feature flag to decide whether it is safe not to bother flushing and setting up iotlb across reset. For the platform IOMMU case, vdpa parent driver won't implement either the .set_map or .dma_map op, so it should be covered in the vhost_vdpa_has_persistent_map() check I suppose. Thanks, -...
2023 Aug 22
1
[PATCH RFC 4/4] vhost-vdpa: introduce IOTLB_PERSIST backend feature bit
...unctioning older kernel even though it's suboptimal in > performance. I'm not sure how things can be broken in this case? Or why it is specific to parent with set_map. > Instead, to keep new QEMU continuing to work on top of the > existing or older kernels, QEMU has to check this IOTLB_PERSIST feature > flag to decide whether it is safe not to bother flushing and setting up > iotlb across reset. For the platform IOMMU case, vdpa parent driver > won't implement either the .set_map or .dma_map op, so it should be > covered in the vhost_vdpa_has_persistent_map() check I supp...
2023 Sep 09
4
[PATCH RFC v2 0/4] vdpa: decouple reset of iotlb mapping from device reset
...//lore.kernel.org/virtualization/1694248959-13369-1-git-send-email-si-wei.liu at oracle.com/ --- Si-Wei Liu (4): vdpa: introduce .reset_map operation callback vdpa/mlx5: implement .reset_map driver op vhost-vdpa: should restore 1:1 dma mapping before detaching driver vhost-vdpa: introduce IOTLB_PERSIST backend feature bit drivers/vdpa/mlx5/core/mlx5_vdpa.h | 1 + drivers/vdpa/mlx5/core/mr.c | 70 +++++++++++++++++++++++--------------- drivers/vdpa/mlx5/net/mlx5_vnet.c | 18 +++++++--- drivers/vhost/vdpa.c | 32 ++++++++++++++++- include/linux/vdpa.h | 7 +++...
2023 Sep 09
4
[PATCH RFC v3 0/4] vdpa: decouple reset of iotlb mapping from device reset
...//lore.kernel.org/virtualization/1694248959-13369-1-git-send-email-si-wei.liu at oracle.com/ --- Si-Wei Liu (4): vdpa: introduce .reset_map operation callback vdpa/mlx5: implement .reset_map driver op vhost-vdpa: should restore 1:1 dma mapping before detaching driver vhost-vdpa: introduce IOTLB_PERSIST backend feature bit drivers/vdpa/mlx5/core/mlx5_vdpa.h | 1 + drivers/vdpa/mlx5/core/mr.c | 70 +++++++++++++++++++++++--------------- drivers/vdpa/mlx5/net/mlx5_vnet.c | 18 +++++++--- drivers/vhost/vdpa.c | 32 ++++++++++++++++- include/linux/vdpa.h | 7 +++...