qcacmn: Fix perf cluster interrupt affinity

The number of perf CPU clusters can vary across
different targets. Currently only the second CPU
cluster is considered as the perf cluster, whereas
there can be more than 1 perf clusters.

Fix this perf cluster derivation for interrupt
affinity.

Change-Id: Ie4407064ac5124fc050715fd75400ca516c9c6b8
CRs-Fixed: 3498024
This commit is contained in:
Rakesh Pillai
2023-02-20 06:09:19 -08:00
committed by Rahul Choudhary
부모 30a6417487
커밋 474298906b
4개의 변경된 파일38개의 추가작업 그리고 14개의 파일을 삭제

파일 보기

@@ -37,8 +37,15 @@
/* Preprocessor definitions and constants */
#define QDF_MAX_SGLIST 4
/*
* Add more levels here based on the number of perf clusters in SoC
* Also modify hif_get_perf_cluster_bitmap
*/
#define CPU_CLUSTER_TYPE_LITTLE 0
#define CPU_CLUSTER_TYPE_PERF 1
#if defined(NUM_SOC_PERF_CLUSTER) && (NUM_SOC_PERF_CLUSTER > 1)
#define CPU_CLUSTER_TYPE_PERF2 2
#endif
/**
* struct qdf_sglist - scatter-gather list