diff options
Diffstat (limited to 'debian/patches-rt/0016-ath9k-Use-tasklet_disable_in_atomic.patch')
-rw-r--r-- | debian/patches-rt/0016-ath9k-Use-tasklet_disable_in_atomic.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/debian/patches-rt/0016-ath9k-Use-tasklet_disable_in_atomic.patch b/debian/patches-rt/0016-ath9k-Use-tasklet_disable_in_atomic.patch deleted file mode 100644 index 8873e9773..000000000 --- a/debian/patches-rt/0016-ath9k-Use-tasklet_disable_in_atomic.patch +++ /dev/null @@ -1,33 +0,0 @@ -From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> -Date: Thu, 28 Jan 2021 16:33:45 +0100 -Subject: [PATCH 16/19] ath9k: Use tasklet_disable_in_atomic(). -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.17-rt32.tar.xz - -All caller of ath9k_beacon_ensure_primary_slot() are preemptible / -acquire a mutex except for the callchain: - - spin_lock_bh(&sc->sc_pcu_lock); - ath_complete_reset() - -> ath9k_calculate_summary_state() - -> ath9k_beacon_ensure_primary_slot() - -which is always invoked in atomic context due to the spin lock. -I have no idea how to get around it so convert it to -tasklet_disable_in_atomic(). - -Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> ---- - drivers/net/wireless/ath/ath9k/beacon.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/net/wireless/ath/ath9k/beacon.c -+++ b/drivers/net/wireless/ath/ath9k/beacon.c -@@ -251,7 +251,7 @@ void ath9k_beacon_ensure_primary_slot(st - int first_slot = ATH_BCBUF; - int slot; - -- tasklet_disable(&sc->bcon_tasklet); -+ tasklet_disable_in_atomic(&sc->bcon_tasklet); - - /* Find first taken slot. */ - for (slot = 0; slot < ATH_BCBUF; slot++) { |