summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYadukishore Kodicherla <yadukishore.kodicherla@broadcom.corp-partner.google.com>2023-09-28 15:28:11 +0530
committerKen Sun <kensun@google.com>2023-10-11 05:48:32 +0000
commite248564b00b067ce9eede0bf47baa57dcd412ad5 (patch)
treee72b2e3bbb97bfce5198fce1201c2eb8626c109e
parent3f6a07de731c84ea69ce59d9088b7c0c8547918c (diff)
downloadbcm4398-android-gs-shusky-5.15-android14-qpr1-beta.tar.gz
DHD init was failing due to dhd_dma_buf_alloc trying to allocate coherent memory for DMA using GFP_ATOMIC flag. This was due to problems on older customer platforms where allocating coherent memory using GFP_KERNEL was leading to cache coherence problems. Google confirmed that on their platforms this problem should not be there. Hence disabling compile time macro DHD_ALLOC_COHERENT_MEM_FROM_ATOMIC_POOL Bug: 300578859 Change-Id: If7a9811867acc940d5e2794e8d10451e9627b55d Signed-off-by: Yadukishore Kodicherla <yadukishore.kodicherla@broadcom.corp-partner.google.com>
-rw-r--r--Kbuild1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kbuild b/Kbuild
index c751fda..6b88299 100644
--- a/Kbuild
+++ b/Kbuild
@@ -609,7 +609,6 @@ ifneq ($(CONFIG_BCMDHD_PCIE),)
DHDCFLAGS += -DDHD_USE_STATIC_CTRLBUF
#Use coherent pool
DHDCFLAGS += -DDHD_USE_COHERENT_MEM_FOR_RING
- DHDCFLAGS += -DDHD_ALLOC_COHERENT_MEM_FROM_ATOMIC_POOL
# Runtime PM feature
DHDCFLAGS += -DDHD_PCIE_RUNTIMEPM -DMAX_IDLE_COUNT=5
#AXI error logging