Drivers: hv: vmbus: Give control over how the ring access is serialized
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 28 Jan 2016 06:29:45 +0000 (22:29 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 05:34:12 +0000 (21:34 -0800)
commitfe760e4d64fe5c17c39e86c410d41f6587ee88bc
treee25710bde0e1e4da9a127a3e6c449c08696c1940
parent3eba9a77d5fc2cee486a16fff435686f024f61cf
Drivers: hv: vmbus: Give control over how the ring access is serialized

On the channel send side, many of the VMBUS
device drivers explicity serialize access to the
outgoing ring buffer. Give more control to the
VMBUS device drivers in terms how to serialize
accesss to the outgoing ring buffer.
The default behavior will be to aquire the
ring lock to preserve the current behavior.

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