Displaying 5 results from an estimated 5 matches for "mgmt_dev".
2023 Aug 21
0
[PATCH] vdpa_sim_blk: Fix the potential leak of mgmt_dev
On Mon, Aug 21, 2023 at 10:18?AM Shawn.Shao <shawn.shao at jaguarmicro.com> wrote:
>
> If the shared_buffer allocation fails, need to unregister mgmt_dev first.
>
Please add a Fixes tag.
Other than this
Acked-by: Jason Wang <jasowang at redhat.com>
Thanks
> Signed-off-by: Shawn.Shao <shawn.shao at jaguarmicro.com>
> ---
> drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-...
2023 Feb 21
2
[GIT PULL] virtio,vhost,vdpa: features, fixes
...k: support completion batching for the IRQ path
Zheng Wang (1):
scsi: virtio_scsi: fix handling of kmalloc failure
Zhu Lingshan (12):
vDPA/ifcvf: decouple hw features manipulators from the adapter
vDPA/ifcvf: decouple config space ops from the adapter
vDPA/ifcvf: alloc the mgmt_dev before the adapter
vDPA/ifcvf: decouple vq IRQ releasers from the adapter
vDPA/ifcvf: decouple config IRQ releaser from the adapter
vDPA/ifcvf: decouple vq irq requester from the adapter
vDPA/ifcvf: decouple config/dev IRQ requester and vectors allocator from the adapter...
2023 Feb 23
1
[GIT PULL] virtio,vhost,vdpa: features, fixes
...RQ path
>
> Zheng Wang (1):
> scsi: virtio_scsi: fix handling of kmalloc failure
>
> Zhu Lingshan (12):
> vDPA/ifcvf: decouple hw features manipulators from the adapter
> vDPA/ifcvf: decouple config space ops from the adapter
> vDPA/ifcvf: alloc the mgmt_dev before the adapter
> vDPA/ifcvf: decouple vq IRQ releasers from the adapter
> vDPA/ifcvf: decouple config IRQ releaser from the adapter
> vDPA/ifcvf: decouple vq irq requester from the adapter
> vDPA/ifcvf: decouple config/dev IRQ requester and vectors allocator...
2023 Jan 29
1
[PATCH v3 2/2] vdpasim: support doorbell mapping
...ev_attr *dev_attr,
> const struct vdpa_dev_set_config *config)
> {
> @@ -287,6 +311,13 @@ struct vdpasim *vdpasim_create(struct vdpasim_dev_attr *dev_attr,
> set_dma_ops(dev, &vdpasim_dma_ops);
> vdpasim->vdpa.mdev = dev_attr->mgmt_dev;
>
> + INIT_DELAYED_WORK(&vdpasim->notify_work, vdpasim_notify_work);
> +
> + vdpasim->notify = __get_free_page(GFP_KERNEL | __GFP_ZERO);
> + if (!vdpasim->notify)
> + goto err_iommu;
We can simply avoid the advertising notification ar...
2023 Apr 07
2
[PATCH 0/2] vdpa_sim_blk: support shared backend
This series is mainly for testing live migration between 2 vdpa_sim_blk
devices.
The first patch is preparation and moves the buffer allocation into devices,
the second patch adds the `shared_buffer_mutex` parameter to vdpa_sim_blk to
use the same ramdisk for all devices.
Tested with QEMU v8.0.0-rc2 in this way:
modprobe vhost_vdpa
modprobe vdpa_sim_blk shared_backend=true
vdpa dev add mgmtdev