aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracing/draw_functrace.py
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2017-10-03 10:52:58 +0530
committerVinod Koul <[email protected]>2017-10-23 11:35:47 +0530
commit4e9f8187aecb00d90ec385f5061c91549103a3cf (patch)
tree88486f2e78bdf3419a6d94c1673b60f2196ea52e /scripts/tracing/draw_functrace.py
parent5d74aa7f641a8bf778b87941ae6a955121f64f7d (diff)
dmaengine: bcm-sba-raid: Use only single mailbox channel
Each mailbox channel used by Broadcom SBA RAID driver is a separate HW ring. Currently, Broadcom SBA RAID driver creates one DMA channel using one or more mailbox channels. When we are using more than one mailbox channels for a DMA channel, the sba_request are distributed evenly among multiple mailbox channels which results in sba_request being completed out-of-order. The above described out-of-order completion of sba_request breaks the dma_async_is_complete() API because it assumes DMA cookies are completed in orderly fashion. To ensure correct behaviour of dma_async_is_complete() API, this patch updates Broadcom SBA RAID driver to use only single mailbox channel. If additional mailbox channels are specified in DT then those will be ignored. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Ray Jui <[email protected]> Reviewed-by: Scott Branden <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/tracing/draw_functrace.py')
0 files changed, 0 insertions, 0 deletions