Commit 094d00f
Marc Zyngier
KVM: arm64: pkvm: Use the mm_ops indirection for cache maintenance
CMOs issued from EL2 cannot directly use the kernel helpers,
as EL2 doesn't have a mapping of the guest pages. Oops.
Instead, use the mm_ops indirection to use helpers that will
perform a mapping at EL2 and allow the CMO to be effective.
Fixes: 25aa286 ("KVM: arm64: Move guest CMOs to the fault handlers")
Reviewed-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220114125038.1336965-1-maz@kernel.org1 parent 1c53a1a commit 094d00f
1 file changed
+6
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
993 | 989 | | |
994 | 990 | | |
995 | 991 | | |
| |||
1151 | 1147 | | |
1152 | 1148 | | |
1153 | 1149 | | |
1154 | | - | |
1155 | 1150 | | |
1156 | 1151 | | |
1157 | 1152 | | |
1158 | 1153 | | |
1159 | | - | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
1163 | 1157 | | |
1164 | 1158 | | |
1165 | 1159 | | |
| |||
0 commit comments