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-Tag: v4.14-rc1~72^2^10~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af29d9fa41b4b427830aea3911224aef6d61ee50;p=thirdparty%2Fkernel%2Flinux.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 e73b7c50a1301..e163b0223decf 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