qcacld-3.0: configure platform dependent 64-bit DMA support

We want to enable 64-bit DMA support only on a select platforms. If the
flag CONFIG_FORCE_ALLOC_FROM_DMA_ZONE is set on a platform, it indicates
that the platform supports 32-bit DMA only. We can use this flag to
enable ENABLE_DEBUG_ADDRESS_MARKING flag in the WLAN driver. This flag
ENABLE_DEBUG_ADDRESS_MARKING, when enabled, allows WLAN driver
to process DMA addresses > 32 bits.

Disable ENABLE_DEBUG_ADDRESS_MARKING  when
CONFIG_FORCE_ALLOC_FROM_DMA_ZONE is set for a platform.

Change-Id: I48afcc240d21fe9486c2bdf0f572b8b8d3e3cd71
CRs-Fixed: 2052030
This commit is contained in:
Mohit Khanna 2017-05-24 17:32:22 -07:00 • committed by snandini
commit 3c4262dda9

2
Kbuild
View file

@ -2018,7 +2018,7 @@ CONFIG_HELIUMPLUS := y
CONFIG_64BIT_PADDR := y
CONFIG_FEATURE_TSO := y
CONFIG_FEATURE_TSO_DEBUG := y
ifeq ($(CONFIG_ARCH_MSM8998), y)
ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y)
CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y
endif
ifeq ($(CONFIG_HELIUMPLUS),y)