summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vc4/vc4_hvs.c
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2018-05-23 21:12:01 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-11 22:48:19 +0200
commit517f981a6da270fa8af22379420749e0860870d7 (patch)
tree5a7e0985561749e2f8721ab09a1b9424e738eec8 /drivers/gpu/drm/vc4/vc4_hvs.c
parent5bc3be4a0b052ba9b7bffb7aa47ee95d5d85df3c (diff)
PCI: hv: Do not wait forever on a device that has disappeared
commit c3635da2a336441253c33298b87b3042db100725 upstream. Before the guest finishes the device initialization, the device can be removed anytime by the host, and after that the host won't respond to the guest's request, so the guest should be prepared to handle this case. Add a polling mechanism to detect device presence. Signed-off-by: Dexuan Cui <decui@microsoft.com> [lorenzo.pieralisi@arm.com: edited commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_hvs.c')
0 files changed, 0 insertions, 0 deletions