From a767adf5f465d59946a54d1b2fe7f200e748912d Mon Sep 17 00:00:00 2001 From: Nisha Menon Date: Mon, 15 Mar 2021 15:37:41 -0700 Subject: [PATCH] qcacld-3.0: Enable feature to dump reo queue info in DDR Enable DUMP_REO_QUEUE_INFO_IN_DDR to send cache flush cmd to REO using cmd: iwpriv wlan0 txrx_stats 34 0 Cache flush cmd will invalidate the h/w cache and ensure that h/w writes to DDR. In the cmd callback, the reo status tlvs are processed and the vaddr of the reo queue desc is used to read the queue information from DDR and dump it in the host driver logs. Change-Id: I4521b777d13c490ac687f9ff673182262bc52f62 CRs-Fixed: 2899824 --- Kbuild | 1 + configs/default_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/Kbuild b/Kbuild index f0926c7d7e50..a2b8091f7624 100644 --- a/Kbuild +++ b/Kbuild @@ -3316,6 +3316,7 @@ cppflags-$(CONFIG_HIF_CPU_PERF_AFFINE_MASK) += -DHIF_CPU_PERF_AFFINE_MASK cppflags-$(CONFIG_SMMU_S1_UNMAP) += -DCONFIG_SMMU_S1_UNMAP 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 +cppflags-$(CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR) += -DDUMP_REO_QUEUE_INFO_IN_DDR KBUILD_CPPFLAGS += $(cppflags-y) diff --git a/configs/default_defconfig b/configs/default_defconfig index 67c6c7003767..af5258d80f8e 100644 --- a/configs/default_defconfig +++ b/configs/default_defconfig @@ -46,6 +46,7 @@ ifeq ($(CONFIG_CNSS_QCA6490), y) CONFIG_HASTINGS_BT_WAR := y CONFIG_WDI3_IPA_OVER_GSI :=y CONFIG_GENERIC_SHADOW_REGISTER_ACCESS_ENABLE :=y + CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR :=y endif ifeq ($(CONFIG_CNSS_QCA6750), y)