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 depends on RISCV && 64BIT
7 depends on GENERIC_MSI_IRQ
8 default y
9 select IOMMU_API
10 help
11 Support for implementations of the RISC-V IOMMU architecture that
12 complements the RISC-V MMU capabilities, providing similar address
13 translation and protection functions for accesses from I/O devices.
14
15 Say Y here if your SoC includes an IOMMU device implementing
16 the RISC-V IOMMU architecture.
17
18 config RISCV_IOMMU_PCI
19 def_bool y if RISCV_IOMMU && PCI_MSI
20 help
21 Support for the PCIe implementation of RISC-V IOMMU architecture.