diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt b/Documentation/devicetree/bindings/iommu/arm,smmu.txt index c970f8788127..d00a5c1ce502 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.txt +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.txt @@ -92,18 +92,6 @@ conditions. Thulium v1. You *must* also set qcom,tz-device-id for this to work. -- qcom,no-mmu-enable : When attaching to this SMMU, program everything as - usual (stream matching table, etc) but leave the SCTLR.M - bit disabled, so that the SMMU doesn't actually perform - translations. This is needed in cases where the stream - matching table needs to be set up without turning on SMMU - translations (for example, when nested translations are - used with a hypervisor controlling stage-2). This mode of - operation is described in the ARM SMMU spec as "stage 1 - and stage 2 contexts are valid, but the SMMU is not - enabled for stage 1 translation" (Section 2.1: "Overview - of SMMU operation"). - - qcom,no-smr-check : Usually when an SMMU probes we do a sanity check on the SMR registers to make sure they can fully support all of the mask bits. This check can cause problems for use diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index 2604e53139ab..b2c53de88b03 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c @@ -361,7 +361,6 @@ struct arm_smmu_device { #define ARM_SMMU_OPT_ERRATA_CTX_FAULT_HANG (1 << 5) #define ARM_SMMU_OPT_FATAL_ASF (1 << 6) #define ARM_SMMU_OPT_ERRATA_TZ_ATOS (1 << 7) -#define ARM_SMMU_OPT_NO_M (1 << 8) #define ARM_SMMU_OPT_NO_SMR_CHECK (1 << 9) #define ARM_SMMU_OPT_DYNAMIC (1 << 10) #define ARM_SMMU_OPT_HALT (1 << 11) @@ -484,7 +483,6 @@ static struct arm_smmu_option_prop arm_smmu_options[] = { { ARM_SMMU_OPT_ERRATA_CTX_FAULT_HANG, "qcom,errata-ctx-fault-hang" }, { ARM_SMMU_OPT_FATAL_ASF, "qcom,fatal-asf" }, { ARM_SMMU_OPT_ERRATA_TZ_ATOS, "qcom,errata-tz-atos" }, - { ARM_SMMU_OPT_NO_M, "qcom,no-mmu-enable" }, { ARM_SMMU_OPT_NO_SMR_CHECK, "qcom,no-smr-check" }, { ARM_SMMU_OPT_DYNAMIC, "qcom,dynamic" }, { ARM_SMMU_OPT_HALT, "qcom,enable-smmu-halt"}, @@ -1455,9 +1453,7 @@ static void arm_smmu_init_context_bank(struct arm_smmu_domain *smmu_domain, } /* SCTLR */ - reg = SCTLR_CFCFG | SCTLR_CFIE | SCTLR_CFRE | SCTLR_EAE_SBOP; - if (!(smmu->options & ARM_SMMU_OPT_NO_M)) - reg |= SCTLR_M; + reg = SCTLR_CFCFG | SCTLR_CFIE | SCTLR_CFRE | SCTLR_M | SCTLR_EAE_SBOP; if (stage1) reg |= SCTLR_S1_ASIDPNE; #ifdef __BIG_ENDIAN