Debian Codegraph @

drivers/iommu/riscv/Kconfig

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