aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2017-08-09 15:04:47 +0200
committerJoerg Roedel <jroedel@suse.de>2017-08-15 13:59:34 +0200
commitaf29d9fa41b4b427830aea3911224aef6d61ee50 (patch)
treee2a60a14323d23f92d4073daf30709a511008771 /drivers/iommu/Kconfig
parentiommu/pamu: Let PAMU depend on PCI (diff)
downloadlinux-dev-af29d9fa41b4b427830aea3911224aef6d61ee50.tar.xz
linux-dev-af29d9fa41b4b427830aea3911224aef6d61ee50.zip
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 <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r--drivers/iommu/Kconfig1
1 files changed, 1 insertions, 0 deletions
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