commit | 87e5fe5b779a20fa02382aaf169015e68710b9ff | [log] [tgz] |
---|---|---|
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | Mon Feb 24 17:58:43 2020 +0100 |
committer | Will Deacon <will@kernel.org> | Wed Mar 18 21:32:25 2020 +0000 |
tree | f2da2a77c24715193ae8c44049567ba7e3b52eb8 | |
parent | 058c59a047d61601abf503563bbea818ee645c09 [diff] |
iommu/arm-smmu-v3: Write level-1 descriptors atomically Use WRITE_ONCE() to make sure that the SMMU doesn't read incomplete stream table descriptors. Refer to the comment about 64-bit accesses, and add the comment to the equivalent context descriptor code. Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org> Signed-off-by: Will Deacon <will@kernel.org>