summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorMaya Erez <qca_merez@qca.qualcomm.com>2016-05-29 08:45:23 +0300
committerKyle Yan <kyan@codeaurora.org>2016-06-08 15:17:51 -0700
commitb6b5f4b2a2eeef2b7be923c089759f1965a1fe43 (patch)
tree8915dba1fa1a613cb679e129ffad4c7bedb2a645 /scripts/objdiff
parentc89efd08b61b9aa245d843112fa908c8b9f5f8cb (diff)
wil6210: protect wil_vring_fini_tx in parallel to tx completions
napi_synchronize is called before releasing the vring, with the assumption that setting txdata->enabled to 0 will prevent handling of this vring in the next scheduled napi. To guarantee this assumption, a memory barrier is added after disabling the txdata. In addition, as the ctx is zeroed in wil_tx_complete after this descriptor is handled (protected by wmb), ctx needs to be checked before releasing this descriptor in wil_vring_free. Change-Id: I7af20f1db39b7e4c5ac2956fc655f120eb61e002 Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: 34b8886e502a62d1355ccc0420044aa2749a24cd Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git CRs-Fixed: 1015627 Signed-off-by: Maya Erez <merez@codeaurora.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions