qcacmn: Update the gold core latency on clearing cpu_mask

Add qdf framework apis to clear cpu_mask and loop
through cpus present and excluded in the cpu_mask.
Use the apis to clear the cpu_mask and loop through
cpus included in and excluded from the cpu_mask to
ensure that the latency of the cores is set correctly.

Change-Id: I131ef3df2ec5b1e5a1a78d39cbc5a5dedbaa2903
CRs-Fixed: 2772353
This commit is contained in:
Nisha Menon
2020-09-08 14:07:13 -07:00
committed by snandini
parent c013de5747
commit 1c50a00210
2 changed files with 7 additions and 0 deletions

View File

@@ -31,6 +31,9 @@
#define qdf_cpumask_pr_args(maskp) __qdf_cpumask_pr_args(maskp)
#define qdf_for_each_possible_cpu(cpu) __qdf_for_each_possible_cpu(cpu)
#define qdf_for_each_online_cpu(cpu) __qdf_for_each_online_cpu(cpu)
#define qdf_for_each_cpu(cpu, maskp) __qdf_for_each_cpu(cpu, maskp)
#define qdf_for_each_cpu_not(cpu, maskp) \
__qdf_for_each_cpu_not(cpu, maskp)
#ifdef ENHANCED_OS_ABSTRACTION
/**