]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: convert tasklet to BH workqueue for CE interrupts
authorRaj Kumar Bhagat <quic_rajkbhag@quicinc.com>
Tue, 22 Oct 2024 07:24:06 +0000 (12:54 +0530)
committerJeff Johnson <quic_jjohnson@quicinc.com>
Fri, 25 Oct 2024 19:22:03 +0000 (12:22 -0700)
commitcdad737160571a98cc4933a62c9f2728e965ab27
treea9ef8b4f178fa5aa02b8b69b8a879e58ab1323a8
parentf7b982d13df72dbf8c1f3f98fadc9d9155608ecc
wifi: ath12k: convert tasklet to BH workqueue for CE interrupts

Currently in Ath12k, tasklet is used to handle the BH context of CE
interrupts. However the tasklet is marked deprecated and has some
design flaws. To replace tasklets, BH workqueue support has been
added. BH workqueue behaves similarly to regular workqueues except
that the queued work items are executed in the BH context.

Hence, convert the tasklet to BH workqueue for handling CE interrupts
in the BH context.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00214-QCAHKSWPL_SILICONZ-1
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@quicinc.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241022072406.3231450-1-quic_rajkbhag@quicinc.com
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
drivers/net/wireless/ath/ath12k/ce.h
drivers/net/wireless/ath/ath12k/pci.c