1# SPDX-License-Identifier: GPL-2.0-only 2menu "IOMMU Drivers" 3 depends on AW_BSP 4 5config AW_IOMMU 6 tristate "Allwinner IOMMU Support" 7 depends on AW_BSP 8 select ARM_DMA_USE_IOMMU if ARM 9 select IOMMU_SUPPORT 10 select IOMMU_API 11 select IOMMU_DMA 12 help 13 Support for the Allwinner IOMMU(System MMU) component. This 14 enables H/W multimedia accellerators to see non-linear physical 15 memory chunks as a linear memory in their address spaces. 16 17 If unsure, say N here. 18 19config AW_IOMMU_DEBUG 20 tristate "Allwinner IOMMU Profiling and Debugging" 21 help 22 Makes available some additional IOMMU profiling and debugging 23 enables H/W multimedia accellerators to see non-linear physical 24 memory chunks as a linear memory in their address spaces. 25 26 Say Y here if you want to debug and trace iommu driver. 27 If unsure, say N. 28 29if AW_IOMMU_DEBUG 30 31config AW_IOMMU_TESTS 32 tristate "Allwinner Interactive IOMMU performance/functional tests" 33 depends on AW_IOMMU_DEBUG 34 select IOMMU_API 35 help 36 Enables a suite of IOMMU unit tests. The tests are runnable 37 through debugfs. The impact of enabling this option to overal 38 system performance should be minimal. 39 40endif # AW_IOMMU_DEBUG 41 42endmenu 43