]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Drivers: hv: vmbus: On write cleanup the logic to interrupt the host
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 3 Feb 2017 13:20:29 +0000 (06:20 -0700)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Wed, 8 Mar 2017 13:35:46 +0000 (10:35 -0300)
commit2560f3f3bc656262be6826837c46ee0267789240
tree4a902ebcfcf5477d343a2424b5fda7815c654520
parente56503159932cc8f6f761b6cd7e2ace13ec6ec97
Drivers: hv: vmbus: On write cleanup the logic to interrupt the host

BugLink: http://bugs.launchpad.net/bugs/1661430
Signal the host when we determine the host is to be signaled.
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>
(cherry picked from commit 1f6ee4e7d83586c8b10bd4f2f4346353d04ce884)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Marcelo Cerri <marcelo.cerri@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/hv/channel.c
drivers/hv/hyperv_vmbus.h
drivers/hv/ring_buffer.c
include/linux/hyperv.h