From: Joerg Roedel Date: Wed, 9 Aug 2017 13:04:47 +0000 (+0200) Subject: iommu/pamu: Make driver depend on CONFIG_PHYS_64BIT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=af29d9fa41b4b427830aea3911224aef6d61ee50;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git iommu/pamu: Make driver depend on CONFIG_PHYS_64BIT Certain address calculations in the driver make the assumption that phys_addr_t and dma_addr_t are 64 bit wide. Force this by depending on CONFIG_PHYS_64BIT to be set. Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index e73b7c50a130..e163b0223dec 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -77,6 +77,7 @@ config IOMMU_DMA config FSL_PAMU bool "Freescale IOMMU support" depends on PCI + depends on PHYS_64BIT depends on PPC_E500MC || (COMPILE_TEST && PPC) select IOMMU_API select GENERIC_ALLOCATOR