1
0
Fork 0
alistair23-linux/drivers/hv
Vitaly Kuznetsov 75ff3a8a91 Drivers: hv: vmbus: avoid wait_for_completion() on crash
wait_for_completion() may sleep, it enables interrupts and this
is something we really want to avoid on crashes because interrupt
handlers can cause other crashes. Switch to the recently introduced
vmbus_wait_for_unload() doing busy wait instead.

Reported-by: Radim Krcmar <rkrcmar@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Radim Kr.má<rkrcmar@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-01 16:57:20 -08:00
..
Kconfig x86: Make Linux guest support optional 2013-03-04 13:14:25 -08:00
Makefile Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
channel.c Drivers: hv: vmbus: Give control over how the ring access is serialized 2016-02-07 21:34:12 -08:00
channel_mgmt.c Drivers: hv: vmbus: avoid wait_for_completion() on crash 2016-03-01 16:57:20 -08:00
connection.c Drivers: hv: vmbus: avoid wait_for_completion() on crash 2016-03-01 16:57:20 -08:00
hv.c Drivers: hv: vmbus: don't manipulate with clocksources on crash 2016-02-07 21:34:12 -08:00
hv_balloon.c Drivers: hv: balloon: Enable dynamic memory protocol negotiation with Windows 10 hosts 2015-08-04 22:28:39 -07:00
hv_fcopy.c Drivers: hv: utils: run polling callback always in interrupt context 2015-12-14 19:12:21 -08:00
hv_kvp.c Drivers: hv: utils: Invoke the poll function after handshake 2015-12-14 19:15:05 -08:00
hv_snapshot.c Drivers: hv: utils: Invoke the poll function after handshake 2015-12-14 19:15:05 -08:00
hv_util.c Drivers: hv: util: On device remove, close the channel after de-initializing the service 2015-03-01 19:31:02 -08:00
hv_utils_transport.c Drivers: hv: utils: fix hvt_op_poll() return value on transport destroy 2015-12-21 13:14:56 -08:00
hv_utils_transport.h Drivers: hv: utils: introduce HVUTIL_TRANSPORT_DESTROY mode 2015-12-14 19:27:30 -08:00
hyperv_vmbus.h Drivers: hv: vmbus: avoid wait_for_completion() on crash 2016-03-01 16:57:20 -08:00
ring_buffer.c Drivers: hv: vmbus: Give control over how the ring access is serialized 2016-02-07 21:34:12 -08:00
vmbus_drv.c Drivers: hv: vmbus: avoid wait_for_completion() on crash 2016-03-01 16:57:20 -08:00