Commit 158bc64
iommu/arm-smmu-v3: Clear prior settings when updating STEs
[ Upstream commit 810871c57011eb3e89e6768932757f169d666cd2 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent f20065b commit 158bc64
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
1036 | | - | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
1040 | | - | |
1041 | | - | |
1042 | | - | |
| 1036 | + | |
| 1037 | + | |
1043 | 1038 | | |
1044 | 1039 | | |
1045 | 1040 | | |
| |||
1068 | 1063 | | |
1069 | 1064 | | |
1070 | 1065 | | |
1071 | | - | |
1072 | 1066 | | |
1073 | 1067 | | |
1074 | 1068 | | |
| |||
0 commit comments