From: David S. Miller Date: Mon, 15 Jun 2015 23:06:49 +0000 (-0700) Subject: Merge branch 'rocker-no-wait' X-Git-Tag: firefly_0821_release~176^2~1587^2~62 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4d367963ac0db8212545bad4ee9a44794fc1d667;p=firefly-linux-kernel-4.4.55.git Merge branch 'rocker-no-wait' Scott Feldman says: ==================== rocker: revert back to support for nowait processes One of the items removed from the rocker driver in the Spring Cleanup patch series was the ability to mark processing in the driver as "no wait" for those contexts where we cannot sleep. Turns out, we have "no wait" contexts where we want to program the device and we don't want to defer the processing to a process context. So re-add the ROCKER_OP_FLAG_NOWAIT flag to mark such processes, and propagate flags to mem allocator and to the device cmd executor. With NOWAIT, mem allocs are GFP_ATOMIC and device cmds are queued to the device, but the driver will not wait (sleep) for the response back from the device. My bad for removing NOWAIT support in the first place; I thought we could swing non-sleep contexts to process context using a work queue, for example, but there is push-back to keep processing in original context. ==================== Signed-off-by: David S. Miller --- 4d367963ac0db8212545bad4ee9a44794fc1d667