qcacmn: Add Cached Descriptor support for DP SRNGs

Add support to configure any HAL SRNG descriptor to
be allocated from cached memory area. This is to
optimize of CPU cycles spent on uncached
memory accesses. Also added prefetch of cached
descriptors

Change-Id: I2544e8596d48e2f5549bf687a764c16d73397545
CRs-fixed: 2267945
这个提交包含在:
Chaithanya Garrepalli
2019-05-28 12:10:49 +05:30
提交者 Nitesh Shrivastav
父节点 e8aab3b8ca
当前提交 ab234e56f6
修改 10 个文件,包含 214 行新增96 行删除

查看文件

@@ -551,6 +551,13 @@ static inline uint8_t *qdf_get_u32(uint8_t *ptr, uint32_t *value)
*/
#define qdf_ffz(mask) __qdf_ffz(mask)
/**
* qdf_prefetch - prefetches the cacheline for read
*
* @x: address to be prefetched
*/
#define qdf_prefetch(x) __qdf_prefetch(x)
/**
* qdf_get_pwr2() - get next power of 2 integer from input value
* @value: input value to find next power of 2 integer