android_kernel_oneplus_msm8998/drivers/hv
Long Li fde4a5f237 hv: do not lose pending heartbeat vmbus packets
commit 407a3aee6ee2d2cb46d9ba3fc380bc29f35d020c upstream.

The host keeps sending heartbeat packets independent of the
guest responding to them.  Even though we respond to the heartbeat messages at
interrupt level, we can have situations where there maybe multiple heartbeat
messages pending that have not been responded to. For instance this occurs when the
VM is paused and the host continues to send the heartbeat messages.
Address this issue by draining and responding to all
the heartbeat messages that maybe pending.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-10 16:36:34 +01:00
..
channel.c Drivers: hv: vmbus: fix rescind-offer handling for device without a driver 2016-09-15 08:27:41 +02:00
channel_mgmt.c Drivers: hv: vmbus: avoid scheduling in interrupt context in vmbus_initiate_unload() 2016-09-15 08:27:46 +02:00
connection.c Drivers: hv: vmbus:Update preferred vmbus protocol version to windows 10. 2015-06-01 06:38:21 +09:00
hv.c Drivers: hv: vmbus: don't manipulate with clocksources on crash 2016-09-15 08:27:46 +02: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 2016-09-15 08:27:40 +02:00
hv_kvp.c Drivers: hv: utils: run polling callback always in interrupt context 2016-09-15 08:27:40 +02:00
hv_snapshot.c Drivers: hv: vss: run only on supported host versions 2016-09-15 08:27:40 +02:00
hv_util.c hv: do not lose pending heartbeat vmbus packets 2016-11-10 16:36:34 +01:00
hv_utils_transport.c Drivers: hv: util: catch allocation errors 2016-09-15 08:27:40 +02:00
hv_utils_transport.h Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
hyperv_vmbus.h Drivers: hv: utils: run polling callback always in interrupt context 2016-09-15 08:27:40 +02: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
ring_buffer.c Drivers: hv_vmbus: Fix signal to host condition 2015-08-05 11:44:29 -07:00
vmbus_drv.c drivers:hv: Lock access to hyperv_mmio resource tree 2016-09-15 08:27:50 +02:00