diff mbox series

[v3,01/12] ath11k: disable unused CE8 interrupts for ipq8074

Message ID 1630560820-21905-2-git-send-email-ppranees@codeaurora.org (mailing list archive)
State Accepted
Commit 2c5545bfa29dd5305fa770959890a23ea39b5e69
Delegated to: Kalle Valo
Headers show
Series ath11k: optimizations in data path | expand

Commit Message

P Praneesh Sept. 2, 2021, 5:33 a.m. UTC
Host driver doesn't need to process CE8 interrupts (used
by target independently)

The volume of interrupts is huge within short interval,
 CPU0           CPU1       CPU2       CPU3
14022188          0          0          0       GIC  71 Edge      ce8

Hence disabling unused CE8 interrupt will improve CPU usage.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1.r2-00012-QCAHKSWPL_SILICONZ-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01695-QCAHKSWPL_SILICONZ-1

Co-developed-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: P Praneesh <ppranees@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/ce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Nov. 15, 2021, 9:22 a.m. UTC | #1
P Praneesh <ppranees@codeaurora.org> wrote:

> Host driver doesn't need to process CE8 interrupts (used
> by target independently)
> 
> The volume of interrupts is huge within short interval,
>  CPU0           CPU1       CPU2       CPU3
> 14022188          0          0          0       GIC  71 Edge      ce8
> 
> Hence disabling unused CE8 interrupt will improve CPU usage.
> 
> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1.r2-00012-QCAHKSWPL_SILICONZ-1
> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01695-QCAHKSWPL_SILICONZ-1
> 
> Co-developed-by: Sriram R <srirrama@codeaurora.org>
> Signed-off-by: Sriram R <srirrama@codeaurora.org>
> Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
> Signed-off-by: P Praneesh <ppranees@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

12 patches applied to ath-next branch of ath.git, thanks.

2c5545bfa29d ath11k: disable unused CE8 interrupts for ipq8074
6452f0a3d565 ath11k: allocate dst ring descriptors from cacheable memory
5e76fe03dbf9 ath11k: modify dp_rx desc access wrapper calls inline
a1775e732eb9 ath11k: avoid additional access to ath11k_hal_srng_dst_num_free
c4d12cb37ea2 ath11k: avoid active pdev check for each msdu
db2ecf9f0567 ath11k: remove usage quota while processing rx packets
400588039a17 ath11k: add branch predictors in process_rx
d0e2523bfa9c ath11k: allocate HAL_WBM2SW_RELEASE ring from cacheable memory
a8508bf7ced2 ath11k: remove mod operator in dst ring processing
cbfbed495d32 ath11k: avoid while loop in ring selection of tx completion interrupt
bcef57ea400c ath11k: add branch predictors in dp_tx path
be8867cb4765 ath11k: avoid unnecessary lock contention in tx_completion path
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/ce.c b/drivers/net/wireless/ath/ath11k/ce.c
index de8b632..b6ffe03 100644
--- a/drivers/net/wireless/ath/ath11k/ce.c
+++ b/drivers/net/wireless/ath/ath11k/ce.c
@@ -77,7 +77,7 @@  const struct ce_attr ath11k_host_ce_config_ipq8074[] = {
 
 	/* CE8: target autonomous hif_memcpy */
 	{
-		.flags = CE_ATTR_FLAGS,
+		.flags = CE_ATTR_FLAGS | CE_ATTR_DIS_INTR,
 		.src_nentries = 0,
 		.src_sz_max = 0,
 		.dest_nentries = 0,