linux_dsm_epyc7002/drivers/vhost
Jason Wang a127c5bbb6 vhost-vdpa: fix backend feature ioctls
Commit 653055b9ac ("vhost-vdpa: support get/set backend features")
introduces two malfunction backend features ioctls:

1) the ioctls was blindly added to vring ioctl instead of vdpa device
   ioctl
2) vhost_set_backend_features() was called when dev mutex has already
   been held which will lead a deadlock

This patch fixes the above issues.

Cc: Eli Cohen <elic@nvidia.com>
Reported-by: Zhu Lingshan <lingshan.zhu@intel.com>
Fixes: 653055b9ac ("vhost-vdpa: support get/set backend features")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200907104343.31141-1-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-09-24 05:54:36 -04:00
..
iotlb.c vhost: Fix documentation 2020-09-24 05:54:36 -04:00
Kconfig vhost_vdpa: implement IRQ offloading in vhost_vdpa 2020-08-05 11:08:42 -04:00
Makefile
net.c virtio: fixes, features 2020-08-11 14:34:17 -07:00
scsi.c
test.c
test.h
vdpa.c vhost-vdpa: fix backend feature ioctls 2020-09-24 05:54:36 -04:00
vhost.c vhost: fix typo in error message 2020-09-01 15:34:49 -07:00
vhost.h vhost: generialize backend features setting/getting 2020-08-05 18:39:18 -04:00
vringh.c
vsock.c