Explorar o código

qcacld-3.0: Enable HIF_CPU_CLEAR_AFFINITY flag

Enable CONFIG_HIF_CPU_CLEAR_AFFINITY flag to
change rx_err_ring irq cpu affinity.

Change-Id: I3d2475210ffd5ac6acef7e0418eef26cf92e1302
CRs-Fixed: 2950630
Ananya Gupta %!s(int64=3) %!d(string=hai) anos
pai
achega
466dc616fe
Modificáronse 2 ficheiros con 9 adicións e 0 borrados
  1. 1 0
      Kbuild
  2. 8 0
      configs/default_defconfig

+ 1 - 0
Kbuild

@@ -3991,6 +3991,7 @@ cppflags-$(CONFIG_WLAN_SEND_DSCP_UP_MAP_TO_FW) += -DWLAN_SEND_DSCP_UP_MAP_TO_FW
 
 cppflags-$(CONFIG_SMMU_S1_UNMAP) += -DCONFIG_SMMU_S1_UNMAP
 cppflags-$(CONFIG_HIF_CPU_PERF_AFFINE_MASK) += -DHIF_CPU_PERF_AFFINE_MASK
+cppflags-$(CONFIG_HIF_CPU_CLEAR_AFFINITY) += -DHIF_CPU_CLEAR_AFFINITY
 
 cppflags-$(CONFIG_GENERIC_SHADOW_REGISTER_ACCESS_ENABLE) += -DGENERIC_SHADOW_REGISTER_ACCESS_ENABLE
 cppflags-$(CONFIG_IPA_SET_RESET_TX_DB_PA) += -DIPA_SET_RESET_TX_DB_PA

+ 8 - 0
configs/default_defconfig

@@ -983,6 +983,14 @@ endif
 endif
 endif
 
+ifeq ($(CONFIG_CNSS_QCA6490), y)
+ifeq ($(CONFIG_IPA_OFFLOAD), y)
+ifneq ($(CONFIG_SLUB_DEBUG_ON), y)
+CONFIG_HIF_CPU_CLEAR_AFFINITY := y
+endif
+endif
+endif
+
 #Enable Signed firmware support for split binary format
 CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n