Thread (17 messages) 17 messages, 3 authors, 2021-08-25

Re: [PATCH v2 02/12] ath11k: allocate dst ring descriptors from cacheable memory

From: Peter Oh <hidden>
Date: 2021-08-25 18:46:12
Also in: ath11k

On 8/25/21 2:37 AM, P Praneesh wrote:
quoted hunk ↗ jump to hunk
@@ -292,6 +315,11 @@ int ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring,
  		return -EINVAL;
  	}
  
+	if (cached && ab->hw_params.alloc_cacheable_memory) {
+		params.flags |= HAL_SRNG_FLAGS_CACHED;
+		ring->cached = 1;
+	}
"&& ab->hw_params.alloc_cacheable_memory" is redundant check.

Thanks,
Peter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help