aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorK. Y. Srinivasan <[email protected]>2014-08-28 18:29:52 -0700
committerGreg Kroah-Hartman <[email protected]>2014-09-23 23:31:21 -0700
commitb29ef3546aecb253a5552b198cef23750d56e1e4 (patch)
treebf19352ffb8926cada04df65ba7c1222797e67bb /include/linux/fpga/fpga-mgr.h
parent98d731bb064a9d1817a6ca9bf8b97051334a7cfe (diff)
Drivers: hv: vmbus: Cleanup hv_post_message()
Minimize failures in this function by pre-allocating the buffer for posting messages. The hypercall for posting the message can fail for a number of reasons: 1. Transient resource related issues 2. Buffer alignment 3. Buffer cannot span a page boundry We address issues 2 and 3 by preallocating a per-cpu page for the buffer. Transient resource related failures are handled by retrying by the callers of this function. This patch is based on the investigation done by Dexuan Cui <[email protected]>. I would like to thank Sitsofe Wheeler <[email protected]> for reporting the issue and helping in debuggging. Signed-off-by: K. Y. Srinivasan <[email protected]> Reported-by: Sitsofe Wheeler <[email protected]> Cc: <[email protected]> Tested-by: Sitsofe Wheeler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions