CONFIG_ARM_SMMU ARM Ltd. System MMU (SMMU) Support
- Off
- Module
- Built in
Support for implementations of the ARM System MMU architecture versions 1 and 2.
Say Y here if your SoC includes an IOMMU device implementing the ARM SMMU architecture.
- Depends on
IOMMU_SUPPORT && (ARM64 || ARM || COMPILE_TEST) && !GENERIC_ATOMIC64 - Selects
IOMMU_API if IOMMU_SUPPORT && (ARM64 || ARM || COMPILE_TEST) && !GENERIC_ATOMIC64 - Selects
IOMMU_IO_PGTABLE_LPAE if IOMMU_SUPPORT && (ARM64 || ARM || COMPILE_TEST) && !GENERIC_ATOMIC64 - Selects
ARM_DMA_USE_IOMMU if IOMMU_SUPPORT && (ARM64 || ARM || COMPILE_TEST) && !GENERIC_ATOMIC64 && ARM
If ARM_SMMU
- Depends on
IOMMU_SUPPORT && ARM_SMMU
CONFIG_ARM_SMMU_LEGACY_DT_BINDINGS Support the legacy "mmu-masters" devicetree bindings
Support for the badly designed and deprecated "mmu-masters" devicetree bindings. This allows some DMA masters to attach to the SMMU but does not provide any support via the DMA API. If you're lucky, you might be able to get VFIO up and running.
If you say Y here then you'll make me very sad. Instead, say N and move your firmware to the utopian future that was 2016.
- Depends on
IOMMU_SUPPORT && ARM_SMMU=y && OF
CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT Disable unmatched stream bypass by default
If your firmware is broken and fails to describe StreamIDs which Linux should know about in order to manage the SMMU correctly and securely, and you don't want to boot with the 'arm-smmu.disable_bypass=0' command line parameter, then as a last resort you can turn it off by default here. But don't. This option may be removed at any time.
Note that 'arm-smmu.disable_bypass=1' will still take precedence.
- Depends on
IOMMU_SUPPORT && ARM_SMMU
CONFIG_ARM_SMMU_MMU_500_CPRE_ERRATA Enable errata workaround for CPRE in SMMU reset path
Say Y here (by default) to apply workaround to disable MMU-500's next-page prefetcher for sake of 4 known errata.
Say N here only when it is sure that any errata related to prefetch enablement are not applicable on the platform. Refer silicon-errata.rst for info on errata IDs.
- Depends on
IOMMU_SUPPORT && ARM_SMMU
CONFIG_ARM_SMMU_QCOM
- Off
- Module
- Built in
When running on a Qualcomm platform that has the custom variant of the ARM SMMU, this needs to be built into the SMMU driver.
- Depends on
IOMMU_SUPPORT && ARM_SMMU && - Selects
QCOM_SCM if IOMMU_SUPPORT && ARM_SMMU &&
CONFIG_ARM_SMMU_QCOM_DEBUG ARM SMMU QCOM implementation defined debug support
Support for implementation specific debug features in ARM SMMU hardware found in QTI platforms. This include support for the Translation Buffer Units (TBU) that can be used to obtain additional information when debugging memory management issues like context faults.
Say Y here to enable debug for issues such as context faults or TLB sync timeouts which requires implementation defined register dumps.
- Depends on
IOMMU_SUPPORT && ARM_SMMU && ARM_SMMU_QCOM=y
CONFIG_ARM_SMMU_V3 ARM Ltd. System MMU Version 3 (SMMUv3) Support
- Off
- Module
- Built in
Support for implementations of the ARM System MMU architecture version 3 providing translation support to a PCIe root complex.
Say Y here if your system includes an IOMMU device implementing the ARM SMMUv3 architecture.
- Depends on
IOMMU_SUPPORT && ARM64 - Selects
IOMMU_API if IOMMU_SUPPORT && ARM64 - Selects
IOMMU_IO_PGTABLE_LPAE if IOMMU_SUPPORT && ARM64 - Selects
GENERIC_MSI_IRQ if IOMMU_SUPPORT && ARM64 - Selects
IOMMUFD_DRIVER if IOMMU_SUPPORT && ARM64 && IOMMUFD
If ARM_SMMU_V3
- Depends on
IOMMU_SUPPORT && ARM_SMMU_V3
CONFIG_ARM_SMMU_V3_SVA Shared Virtual Addressing support for the ARM SMMUv3
Support for sharing process address spaces with devices using the SMMUv3.
Say Y here if your system supports SVA extensions such as PCIe PASID and PRI.
- Depends on
IOMMU_SUPPORT && ARM_SMMU_V3 - Selects
IOMMU_SVA if IOMMU_SUPPORT && ARM_SMMU_V3 - Selects
IOMMU_IOPF if IOMMU_SUPPORT && ARM_SMMU_V3 - Selects
MMU_NOTIFIER if IOMMU_SUPPORT && ARM_SMMU_V3
CONFIG_ARM_SMMU_V3_IOMMUFD Enable IOMMUFD features for ARM SMMUv3 (EXPERIMENTAL)
Support for IOMMUFD features intended to support virtual machines with accelerated virtual IOMMUs.
Say Y here if you are doing development and testing on this feature.
- Depends on
IOMMU_SUPPORT && ARM_SMMU_V3 && IOMMUFD
CONFIG_ARM_SMMU_V3_KUNIT_TEST KUnit tests for arm-smmu-v3 driver
- Off
- Module
- Built in
Enable this option to unit-test arm-smmu-v3 driver functions.
If unsure, say N.
- Depends on
IOMMU_SUPPORT && ARM_SMMU_V3 && KUNIT && ARM_SMMU_V3_SVA
CONFIG_TEGRA241_CMDQV NVIDIA Tegra241 CMDQ-V extension support for ARM SMMUv3
Support for NVIDIA CMDQ-Virtualization extension for ARM SMMUv3. The CMDQ-V extension is similar to v3.3 ECMDQ for multi command queues support, except with virtualization capabilities.
Say Y here if your system is NVIDIA Tegra241 (Grace) or it has the same CMDQ-V extension.
- Depends on
IOMMU_SUPPORT && ARM_SMMU_V3
CONFIG_QCOM_IOMMU Qualcomm IOMMU Support
Support for IOMMU on certain Qualcomm SoCs.
- Depends on
IOMMU_SUPPORT && ( || COMPILE_TEST) && !GENERIC_ATOMIC64 - Selects
QCOM_SCM if IOMMU_SUPPORT && ( || COMPILE_TEST) && !GENERIC_ATOMIC64 - Selects
IOMMU_API if IOMMU_SUPPORT && ( || COMPILE_TEST) && !GENERIC_ATOMIC64 - Selects
IOMMU_IO_PGTABLE_LPAE if IOMMU_SUPPORT && ( || COMPILE_TEST) && !GENERIC_ATOMIC64 - Selects
ARM_DMA_USE_IOMMU if IOMMU_SUPPORT && ( || COMPILE_TEST) && !GENERIC_ATOMIC64