Unverified Commit 6773fc4b authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents d772518d dc65d1d0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1277,6 +1277,8 @@ int arm_smmu_write_ctx_desc(struct arm_smmu_domain *smmu_domain, int ssid,
	if (!cd) { /* (5) */
		val = 0;
	} else if (cd == &quiet_cd) { /* (4) */
		if (!(smmu->features & ARM_SMMU_FEAT_STALL_FORCE))
			val &= ~(CTXDESC_CD_0_S | CTXDESC_CD_0_R);
		val |= CTXDESC_CD_0_TCR_EPD0;
	} else if (cd_live) { /* (3) */
		val &= ~CTXDESC_CD_0_ASID;