aboutsummaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorAndrey Smetanin <[email protected]>2015-11-30 19:22:20 +0300
committerPaolo Bonzini <[email protected]>2015-12-16 18:49:44 +0100
commit765eaa0f70eaa274ec8b815d8c210c20cf7b6dbc (patch)
tree5eda792ac2977dd37b16b8a6268acd0abc14ea11 /fs/buffer.c
parent93bf4172481c4b2a8544c83a687946252563edd0 (diff)
kvm/x86: Hyper-V SynIC message slot pending clearing at SINT ack
The SynIC message protocol mandates that the message slot is claimed by atomically setting message type to something other than HVMSG_NONE. If another message is to be delivered while the slot is still busy, message pending flag is asserted to indicate to the guest that the hypervisor wants to be notified when the slot is released. To make sure the protocol works regardless of where the message sources are (kernel or userspace), clear the pending flag on SINT ACK notification, and let the message sources compete for the slot again. Signed-off-by: Andrey Smetanin <[email protected]> Reviewed-by: Roman Kagan <[email protected]> CC: Gleb Natapov <[email protected]> CC: Paolo Bonzini <[email protected]> CC: "K. Y. Srinivasan" <[email protected]> CC: Haiyang Zhang <[email protected]> CC: Vitaly Kuznetsov <[email protected]> CC: Roman Kagan <[email protected]> CC: Denis V. Lunev <[email protected]> CC: [email protected] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions