From ad4841c8acba32b5b00bbe1c9b5d6576f807c641 Mon Sep 17 00:00:00 2001 From: Prakash Gupta Date: Mon, 7 Sep 2020 18:56:49 +0530 Subject: [PATCH] iommu: Default Enable DMA_CONFIGURE_ALIGNMENT Enable DMA_CONFIGURE_ALIGNMENT by default for QGKI. Enablement as such doesn't change the default alignment of DMA clients, clients needs to explicitly enable it. Change-Id: I5677d224fcb147a33a0b86bb7e80741572809756 Signed-off-by: Prakash Gupta --- drivers/iommu/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 1a49a2083eb6..d9e4adfa536a 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -38,6 +38,8 @@ config IOMMU_IOVA_ALIGNMENT config DMA_CONFIGURE_ALIGNMENT bool "Configure IOVA alignment" + depends on QGKI + default y help Currently the IOVA framework automatically applies IOVA alignment to provided IOVAs based on the requested IOVA size and