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:
@@ -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
|
||||
|
Reference in New Issue
Block a user