qcacld-3.0: modify NAPI blacklist mechanism

The existing HIF NAPI blacklist feature uses irq_blacklist_on(off) APIs
which make a call to the userspace irq_balancer.

Replace these APIs with kernel API irq_modify_status to mark (or
unmark) the individual interrupts with IRQ_NO_BALANCING flag.
Once marked, the msm-irq-balancer will not be able to move the
CE interrupts around

Change-Id: I55b3302b11e6b3a380228d637f20def920760af1
CRs-Fixed: 1114161
This commit is contained in:
Mohit Khanna 2017-01-19 21:35:19 -08:00 • committed by Sandeep Puligilla
commit 67fe5288d4

View file

@ -408,7 +408,7 @@ int hdd_display_napi_stats(void)
}
qdf_print("[NAPI %u][BL %d]: scheds polls comps done t-lim p-lim corr napi-buckets(%d)",
napid->napi_mode,
hif_napi_cpu_blacklist(napid->flags, BLACKLIST_QUERY),
hif_napi_cpu_blacklist(napid, BLACKLIST_QUERY),
QCA_NAPI_NUM_BUCKETS);
for (i = 0; i < CE_COUNT_MAX; i++)