summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorP Praneesh <ppranees@codeaurora.org>2021-11-12 12:02:38 +0300
committerKalle Valo <kvalo@codeaurora.org>2021-11-15 12:21:54 +0300
commitd0e2523bfa9cb391fe966b0b6948c7e438981361 (patch)
tree67f96ae232f1b7d7a4ca7975cb03e0fbb075b6db
parent400588039a17a460292eb974ebba5811b8cbdb91 (diff)
downloadlinux-d0e2523bfa9cb391fe966b0b6948c7e438981361.tar.xz
ath11k: allocate HAL_WBM2SW_RELEASE ring from cacheable memory
Similar to REO destination ring, also allocate HAL_WBM2SW_RELEASE from cacheable memory so that descriptors could be prefetched during tx completion handling. Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01734-QCAHKSWPL_SILICONZ-1 v2 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> Link: https://lore.kernel.org/r/1630560820-21905-9-git-send-email-ppranees@codeaurora.org
-rw-r--r--drivers/net/wireless/ath/ath11k/dp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/dp.c b/drivers/net/wireless/ath/ath11k/dp.c
index 8058b56028de..56b4cebbc6a5 100644
--- a/drivers/net/wireless/ath/ath11k/dp.c
+++ b/drivers/net/wireless/ath/ath11k/dp.c
@@ -239,6 +239,7 @@ int ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring,
/* Allocate the reo dst and tx completion rings from cacheable memory */
switch (type) {
case HAL_REO_DST:
+ case HAL_WBM2SW_RELEASE:
cached = true;
break;
default: