aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorSteve Sistare <[email protected]>2023-11-03 05:26:27 -0700
committerMichael S. Tsirkin <[email protected]>2023-12-01 09:52:03 -0500
commit480b3e73720f6b5d76bef2387b1f9d19ed67573b (patch)
treecf8d9ab1958162159e509298346aa4301be010a4 /scripts/gdb/linux/vmalloc.py
parent2cc14f52aeb78ce3f29677c2de1f06c0e91471ab (diff)
vdpa/mlx5: preserve CVQ vringh index
mlx5_vdpa does not preserve userland's view of vring base for the control queue in the following sequence: ioctl VHOST_SET_VRING_BASE ioctl VHOST_VDPA_SET_STATUS VIRTIO_CONFIG_S_DRIVER_OK mlx5_vdpa_set_status() setup_cvq_vring() vringh_init_iotlb() vringh_init_kern() vrh->last_avail_idx = 0; ioctl VHOST_GET_VRING_BASE To fix, restore the value of cvq->vring.last_avail_idx after calling vringh_init_iotlb. Fixes: 5262912ef3cf ("vdpa/mlx5: Add support for control VQ and MAC setting") Signed-off-by: Steve Sistare <[email protected]> Acked-by: Eugenio PĂ©rez <[email protected]> Acked-by: Jason Wang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions