]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: vmbus: On the read path cleanup the logic to interrupt the host
authorK. Y. Srinivasan <kys@microsoft.com>
Sun, 6 Nov 2016 21:14:18 +0000 (13:14 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Nov 2016 09:01:18 +0000 (10:01 +0100)
commit4cae2645a02a3357b5918c0d7320b41f64e30660
treee98a51a7fcedba1a35564466daf3a59bc0af80b0
parentdf80311233f12cfcf14b54089f9c63e10d1271a5
Drivers: hv: vmbus: On the read path cleanup the logic to interrupt the host

Signal the host when we determine the host is to be signaled -
on th read path. The currrent code determines the need to signal in the
ringbuffer code and actually issues the signal elsewhere. This can result
in the host viewing this interrupt as spurious since the host may also
poll the channel. Make the necessary adjustments.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c
drivers/hv/hyperv_vmbus.h
drivers/hv/ring_buffer.c
include/linux/hyperv.h