linux-stable/drivers/vdpa
Jason Wang 1225c216d9 vp_vdpa: allow set vq state to initial state after reset
We used to fail the set_vq_state() since it was not supported yet by
the virtio spec. But if the bus tries to set the state which is equal
to the device initial state after reset, we can let it go.

This is a must for virtio_vdpa() to set vq state during probe which is
required for some vDPA parents.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210602021536.39525-4-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eli Cohen <elic@nvidia.com>
2021-07-08 07:49:02 -04:00
..
ifcvf vdpa: support packed virtqueue for set/get_vq_state() 2021-07-08 07:49:01 -04:00
mlx5 vdpa: support packed virtqueue for set/get_vq_state() 2021-07-08 07:49:01 -04:00
vdpa_sim vdpa: support packed virtqueue for set/get_vq_state() 2021-07-08 07:49:01 -04:00
virtio_pci vp_vdpa: allow set vq state to initial state after reset 2021-07-08 07:49:02 -04:00
Kconfig vdpa: add vdpa simulator for block device 2021-05-03 04:55:53 -04:00
Makefile vdpa: introduce virtio pci driver 2021-05-03 04:55:51 -04:00
vdpa.c vdpa: Follow kdoc comment style 2021-05-03 04:55:51 -04:00