Browse Source

qcacld-3.0: Set IRQ affinity for CE IRQs to gold cores

CE2 status ring full condition results in WMI req timeout
in host resulting in self recovery being triggered.
Set IRQ affinity of CE IRQs to gold cores for defconfig
builds only.
This is to alleviate the processing of all DP rings and
CE rings on CPU0 in defconfig builds. CE2 status ring will
be reaped fast enough to ensure host has enough credits from
FW to send out the WMI reqs to FW.

Change-Id: I17b85f75f106bf2dfd69c4885aaa742868e16eec
CRs-Fixed: 2746250
Nisha Menon 4 years ago
parent
commit
f3a1250556
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/hdd/src/wlan_hdd_main.c

+ 2 - 0
core/hdd/src/wlan_hdd_main.c

@@ -3884,6 +3884,8 @@ int hdd_wlan_start_modules(struct hdd_context *hdd_ctx, bool reinit)
 			ret = qdf_status_to_os_return(status);
 			goto close;
 		}
+		/* Set IRQ affinity for WLAN DP and CE IRQS */
+		hif_config_irq_set_perf_affinity_hint(hif_ctx);
 
 		ret = hdd_register_cb(hdd_ctx);
 		if (ret) {