xref: /linux/drivers/iommu/riscv/Kconfig (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: GPL-2.0-only
2# RISC-V IOMMU support
3
4config RISCV_IOMMU
5	bool "RISC-V IOMMU Support"
6	depends on RISCV && 64BIT
7	default y
8	select IOMMU_API
9	help
10	  Support for implementations of the RISC-V IOMMU architecture that
11	  complements the RISC-V MMU capabilities, providing similar address
12	  translation and protection functions for accesses from I/O devices.
13
14	  Say Y here if your SoC includes an IOMMU device implementing
15	  the RISC-V IOMMU architecture.
16
17config RISCV_IOMMU_PCI
18	def_bool y if RISCV_IOMMU && PCI_MSI
19	help
20	  Support for the PCIe implementation of RISC-V IOMMU architecture.
21