Jelajahi Sumber

qcacmn: Change DP interrupt names

Change DP interrupt names to unique values so that
interrupt affinity can be adjusted based on this. This is
similar to what is being done for Copy Engine interrupts.

Change-Id: I7f1789c8c0103e7c01b0a2956a7a37149c7462d1
Nandha Kishore Easwaran 5 tahun lalu
induk
melakukan
a8c046d68b
1 mengubah file dengan 18 tambahan dan 1 penghapusan
  1. 18 1
      hif/src/pcie/if_pci.c

+ 18 - 1
hif/src/pcie/if_pci.c

@@ -50,6 +50,7 @@
 
 #include "pci_api.h"
 #include "ahb_api.h"
+#include "wlan_cfg.h"
 
 /* Maximum ms timeout for host to wake up target */
 #define PCIE_WAKE_TIMEOUT 1000
@@ -62,6 +63,22 @@
  */
 #define CPU_WARM_RESET_WAR
 
+const char *dp_irqname[WLAN_CFG_INT_NUM_CONTEXTS] = {
+"WLAN_GRP_DP_0",
+"WLAN_GRP_DP_1",
+"WLAN_GRP_DP_2",
+"WLAN_GRP_DP_3",
+"WLAN_GRP_DP_4",
+"WLAN_GRP_DP_5",
+"WLAN_GRP_DP_6",
+#if !defined(WLAN_MAX_PDEVS)
+"WLAN_GRP_DP_7",
+"WLAN_GRP_DP_8",
+"WLAN_GRP_DP_9",
+"WLAN_GRP_DP_10",
+#endif
+};
+
 /*
  * Top-level interrupt handler for all PCI interrupts from a Target.
  * When a block of MSI interrupts is allocated, this top-level handler
@@ -3658,7 +3675,7 @@ int hif_pci_configure_grp_irq(struct hif_softc *scn,
 				scn->qdf_dev->dev, irq,
 				hif_ext_group_interrupt_handler,
 				IRQF_SHARED | IRQF_NO_SUSPEND,
-				"wlan_EXT_GRP",
+				dp_irqname[hif_ext_group->grp_id],
 				hif_ext_group);
 		if (ret) {
 			HIF_ERROR("%s: request_irq failed ret = %d",