[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191001111655.3E77760A05@smtp.codeaurora.org>
Date: Tue, 1 Oct 2019 11:16:55 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Erik Stromdahl <erik.stromdahl@...il.com>
Cc: johannes@...solutions.net, davem@...emloft.net,
linux-wireless@...r.kernel.org, ath10k@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Erik Stromdahl <erik.stromdahl@...il.com>
Subject: Re: [PATCH 2/2] ath10k: switch to ieee80211_tx_dequeue_ni
Erik Stromdahl <erik.stromdahl@...il.com> wrote:
> Since ath10k_mac_tx_push_txq() can be called from process context, we
> must explicitly disable softirqs before the call into mac80211.
>
> By calling ieee80211_tx_dequeue_ni() instead of ieee80211_tx_dequeue()
> we make sure softirqs are always disabled even in the case when
> ath10k_mac_tx_push_txq() is called from process context.
>
> Calling ieee80211_tx_dequeue_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_tx_dequeue_ni)
> are fully reentrant.
>
> Signed-off-by: Erik Stromdahl <erik.stromdahl@...il.com>
> Signed-off-by: Kalle Valo <kvalo@...eaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
306547608c84 ath10k: switch to ieee80211_tx_dequeue_ni
--
https://patchwork.kernel.org/patch/11000363/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists