18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci# Loongson IOMMU support
38c2ecf20Sopenharmony_ciconfig LOONGSON_IOMMU
48c2ecf20Sopenharmony_ci	bool "Loongson IOMMU support"
58c2ecf20Sopenharmony_ci	select IOMMU_API
68c2ecf20Sopenharmony_ci	select IOMMU_DMA
78c2ecf20Sopenharmony_ci	select IOMMU_DEFAULT_PASSTHROUGH
88c2ecf20Sopenharmony_ci	depends on LOONGARCH
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  With this option you can enable support for Loongson IOMMU hardware in
118c2ecf20Sopenharmony_ci	  your system. An IOMMU is a hardware component which provides remapping
128c2ecf20Sopenharmony_ci	  of DMA memory accesses from devices. With an IOMMU you can isolate the
138c2ecf20Sopenharmony_ci	  DMA memory of different devices and protect the system from misbehaving
148c2ecf20Sopenharmony_ci	  device drivers or hardware.
15