[RFC v2] ath11k: fix blocked for more than 120 seconds caused by reg update
Wen Gong
quic_wgong at quicinc.com
Mon Jul 11 19:41:55 PDT 2022
On 7/12/2022 1:54 AM, Abhishek Kumar wrote:
> This change will make the device come out of deadlock on rtnl_lock if
> that happens. Did you think of ways to completely avoid the race
> situation to occur ?
>
> Thanks
> Abhishek
You can see the commit log, if to completely avoid the race situation to
occur,
then it need to change the rtnl_lock usage in many place in
cfg80211/mac80211.
it will effect a lot things.
It has a change as below to reduce usage of rtnl_lock, but it does not
remove the rtnl_lock in ath11k.
cfg80211: avoid holding the RTNL when calling the driver
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/drivers/net/wireless/ath/ath11k/reg.c?id=a05829a7222e9d10c416dd2dbbf3929fe6646b89
>
> On Fri, Jul 1, 2022 at 12:29 AM Wen Gong <quic_wgong at quicinc.com> wrote:
...
More information about the ath11k
mailing list