[PATCH] iommu/renesas: Support riscv compile
guoren at kernel.org
guoren at kernel.org
Wed Dec 14 23:32:12 PST 2022
From: Guo Ren <guoren at linux.alibaba.com>
After riscv selects ARCH_RENESAS, we need to add ARM64 || ARM
dependency here.
Reported-by: kernel test robot <lkp at intel.com>
Signed-off-by: Guo Ren <guoren at linux.alibaba.com>
Signed-off-by: Guo Ren <guoren at kernel.org>
---
drivers/iommu/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index dc5f7a156ff5..746b95b9f345 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -283,6 +283,7 @@ config EXYNOS_IOMMU_DEBUG
config IPMMU_VMSA
bool "Renesas VMSA-compatible IPMMU"
+ depends on ARM64 || ARM
depends on ARCH_RENESAS || (COMPILE_TEST && !GENERIC_ATOMIC64)
select IOMMU_API
select IOMMU_IO_PGTABLE_LPAE
--
2.36.1
More information about the linux-riscv
mailing list