aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorSi-Wei Liu <[email protected]>2020-10-01 20:18:31 +0000
committerMichael S. Tsirkin <[email protected]>2020-10-08 20:02:00 +0000
commit3176e974a750d6b700a10ffba0ec18d5a884fade (patch)
tree64298129035632eac87a9601d6a57ce57915a084 /drivers/platform/surface/aggregator/ssh_parser.c
parentvhost-vdpa: fix page pinning leakage in error path (diff)
downloadkernel-3176e974a750d6b700a10ffba0ec18d5a884fade.tar.gz
kernel-3176e974a750d6b700a10ffba0ec18d5a884fade.zip
vdpa/mlx5: should keep avail_index despite device status
A VM with mlx5 vDPA has below warnings while being reset: vhost VQ 0 ring restore failed: -1: Resource temporarily unavailable (11) vhost VQ 1 ring restore failed: -1: Resource temporarily unavailable (11) We should allow userspace emulating the virtio device be able to get to vq's avail_index, regardless of vDPA device status. Save the index that was last seen when virtq was stopped, so that userspace doesn't complain. Signed-off-by: Si-Wei Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Eli Cohen <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions