diff options
author | Yadukishore Kodicherla <yadukishore.kodicherla@broadcom.corp-partner.google.com> | 2023-09-28 15:28:11 +0530 |
---|---|---|
committer | Ken Sun <kensun@google.com> | 2023-10-11 05:48:32 +0000 |
commit | e248564b00b067ce9eede0bf47baa57dcd412ad5 (patch) | |
tree | e72b2e3bbb97bfce5198fce1201c2eb8626c109e | |
parent | 3f6a07de731c84ea69ce59d9088b7c0c8547918c (diff) | |
download | bcm4398-android-gs-shusky-5.15-android14-qpr1-beta.tar.gz |
DHD: 4398 - Do not allocate coherent memory using GFP_ATOMICandroid-u-qpr1-beta-2.2_r0.7android-14.0.0_r0.45android-14.0.0_r0.38android-gs-shusky-5.15-android14-qpr1-betaandroid-gs-shusky-5.15-android14-qpr1
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-- | Kbuild | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 |