qcacld-3.0: Enable SMMU S1 for Lahaina platform

Enable IPA SMMU S1 translation feature flag for
Lahaina target.
asm/dma-iommu.h file is removed in latest 5.4 kernel,
resulting in include failure. Remove as it is unused
for version 5.4 and above.

Change-Id: Ie2147f2fc2debad4d700fae5414d1d3becb28f13
CRs-Fixed: 2638580
This commit is contained in:
Manjunathappa Prakash 2020-02-28 16:08:35 -08:00 committed by nshrivas
parent b4a87f73a9
commit 9d37c64121
2 changed files with 8 additions and 0 deletions

View File

@ -729,6 +729,12 @@ CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
endif
endif
ifeq ($(CONFIG_ARCH_LAHAINA), y)
ifeq ($(CONFIG_IPA_OFFLOAD), y)
CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
endif
endif
ifeq ($(CONFIG_HELIUMPLUS), y)
ifneq ($(CONFIG_ARCH_SDM630), y)
ifneq ($(CONFIG_ARCH_SDM660), y)

View File

@ -64,7 +64,9 @@
#include "dp_txrx.h"
#ifdef ENABLE_SMMU_S1_TRANSLATION
#include "pld_common.h"
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0))
#include <asm/dma-iommu.h>
#endif
#include <linux/iommu.h>
#endif