From f3a125055638407be05e29fab808f450ef437038 Mon Sep 17 00:00:00 2001 From: Nisha Menon Date: Sun, 2 Aug 2020 18:38:17 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 95ed1adf7b..058ddb3ce5 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/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) {