]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu/arm-smmu-v3: Clear prior settings when updating STEs
authorNate Watterson <nwatters@codeaurora.org>
Wed, 21 Dec 2016 04:11:48 +0000 (23:11 -0500)
committerWill Deacon <will.deacon@arm.com>
Thu, 26 Jan 2017 18:16:56 +0000 (18:16 +0000)
commit810871c57011eb3e89e6768932757f169d666cd2
treeb4cb8856949505229663c55947417cf55bb2729b
parenta121103c922847ba5010819a3f250f1f7fc84ab8
iommu/arm-smmu-v3: Clear prior settings when updating STEs

To prevent corruption of the stage-1 context pointer field when
updating STEs, rebuild the entire containing dword instead of
clearing individual fields.

Signed-off-by: Nate Watterson <nwatters@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c