qcacmn: initialize affinity mgr IRQ affinity value to silver core
During init time initialize current and requested IRQ affinity value to silver core Change-Id: I87ee99732bf1b07be42b93013299d0b8a0c36c97 CRs-Fixed: 3528886
This commit is contained in:

committed by
Rahul Choudhary

parent
065a7a65fe
commit
99ec9ce725
@@ -2886,9 +2886,11 @@ hif_affinity_mgr_init_ce_irq(struct hif_softc *scn, int id, int irq)
|
||||
if (!scn->affinity_mgr_supported)
|
||||
return;
|
||||
|
||||
/* Set CPU Mask to all possible CPUs */
|
||||
/* Set CPU Mask to Silver core */
|
||||
qdf_for_each_possible_cpu(cpus)
|
||||
qdf_cpumask_set_cpu(cpus, &cpu_mask);
|
||||
if (qdf_topology_physical_package_id(cpus) ==
|
||||
CPU_CLUSTER_TYPE_LITTLE)
|
||||
qdf_cpumask_set_cpu(cpus, &cpu_mask);
|
||||
|
||||
cfg = &scn->ce_irq_cpu_mask[id];
|
||||
qdf_cpumask_copy(&cfg->current_irq_mask, &cpu_mask);
|
||||
@@ -2910,9 +2912,11 @@ hif_affinity_mgr_init_grp_irq(struct hif_softc *scn, int grp_id,
|
||||
if (!scn->affinity_mgr_supported)
|
||||
return;
|
||||
|
||||
/* Set CPU Mask to all possible CPUs */
|
||||
/* Set CPU Mask to Silver core */
|
||||
qdf_for_each_possible_cpu(cpus)
|
||||
qdf_cpumask_set_cpu(cpus, &cpu_mask);
|
||||
if (qdf_topology_physical_package_id(cpus) ==
|
||||
CPU_CLUSTER_TYPE_LITTLE)
|
||||
qdf_cpumask_set_cpu(cpus, &cpu_mask);
|
||||
|
||||
cfg = &scn->irq_cpu_mask[grp_id][irq_num];
|
||||
qdf_cpumask_copy(&cfg->current_irq_mask, &cpu_mask);
|
||||
|
Reference in New Issue
Block a user