From 67fe5288d482caeb401353cbccac8205f432f988 Mon Sep 17 00:00:00 2001 From: Mohit Khanna Date: Thu, 19 Jan 2017 21:35:19 -0800 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_napi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_napi.c b/core/hdd/src/wlan_hdd_napi.c index 93cbf9fd0733..874b880662db 100644 --- a/core/hdd/src/wlan_hdd_napi.c +++ b/core/hdd/src/wlan_hdd_napi.c @@ -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++)