drivers/iommu/riscv/Kconfig

Source file repositories/reference/linux-study-clean/drivers/iommu/riscv/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/iommu/riscv/Kconfig
Extension
[no extension]
Size
731 bytes
Lines
25
Domain
Driver Families
Bucket
drivers/iommu
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only
# RISC-V IOMMU support

config RISCV_IOMMU
	bool "RISC-V IOMMU Support"
	default RISCV
	depends on GENERIC_MSI_IRQ
	depends on (RISCV || COMPILE_TEST) && 64BIT
	select IOMMU_API
	select GENERIC_PT
	select IOMMU_PT
	select IOMMU_PT_RISCV64
	help
	  Support for implementations of the RISC-V IOMMU architecture that
	  complements the RISC-V MMU capabilities, providing similar address
	  translation and protection functions for accesses from I/O devices.

	  Say Y here if your SoC includes an IOMMU device implementing
	  the RISC-V IOMMU architecture.

config RISCV_IOMMU_PCI
	def_bool y if RISCV_IOMMU && PCI_MSI
	help
	  Support for the PCIe implementation of RISC-V IOMMU architecture.

Annotation

Implementation Notes