summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shavit <mshavit@google.com>2023-09-15 21:17:39 +0800
committerWill Deacon <will@kernel.org>2023-10-12 17:08:17 +0100
commit6032f58498b70f80103f467de4213f2ffbc2b062 (patch)
treeb26162387fdc4fa9fefa58903427d34f363aa478
parent5e14313df2c8f81e22e62b4cd068ef3ee30914c8 (diff)
downloadlwn-6032f58498b70f80103f467de4213f2ffbc2b062.tar.gz
lwn-6032f58498b70f80103f467de4213f2ffbc2b062.zip
iommu/arm-smmu-v3: Update comment about STE liveness
Update the comment to reflect the fact that the STE is not always installed. arm_smmu_domain_finalise_s1 intentionnaly calls arm_smmu_write_ctx_desc while the STE is not installed. Reviewed-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Michael Shavit <mshavit@google.com> Tested-by: Nicolin Chen <nicolinc@nvidia.com> Link: https://lore.kernel.org/r/20230915211705.v8.8.I7a8beb615e2520ad395d96df94b9ab9708ee0d9c@changeid Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r--drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
index 49f3abb3e28f..8fab0f3a09e5 100644
--- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
+++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
@@ -1091,7 +1091,7 @@ int arm_smmu_write_ctx_desc(struct arm_smmu_master *master, int ssid,
cdptr[3] = cpu_to_le64(cd->mair);
/*
- * STE is live, and the SMMU might read dwords of this CD in any
+ * STE may be live, and the SMMU might read dwords of this CD in any
* order. Ensure that it observes valid values before reading
* V=1.
*/