diff options
author | Erik Stromdahl <erik.stromdahl@gmail.com> | 2018-09-04 15:07:07 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-09-06 19:15:34 +0300 |
commit | 37f62c0d5822f631b786b29a1b1069ab714d1a28 (patch) | |
tree | 2da3e8a84b7bb829558837d56c0f7bba8684d614 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f88d493450403f5c5b7495232585e54cc4f89ccd (diff) | |
download | linux-37f62c0d5822f631b786b29a1b1069ab714d1a28.tar.xz |
ath10k: wmi: disable softirq's while calling ieee80211_rx
This is done in order not to trig the below warning in
ieee80211_rx_napi:
WARN_ON_ONCE(softirq_count() == 0);
ieee80211_rx_napi requires that softirq's are disabled during
execution.
The High latency bus drivers (SDIO and USB) sometimes call the wmi
ep_rx_complete callback from non softirq context, resulting in a trigger
of the above warning.
Calling ieee80211_rx_ni with softirq's already disabled (e.g., from
softirq context) should be safe as the local_bh_disable and
local_bh_enable functions (called from ieee80211_rx_ni) are fully
reentrant.
Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions