diff options
author | Marc Zyngier <maz@kernel.org> | 2022-01-14 09:57:58 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-01-14 15:12:23 +0100 |
commit | 094d00f8ca58c5d29b25e23b4daaed1ff1f13b41 (patch) | |
tree | 77abdba59e80ad7430fa8ff1ddeb0d52f8e89d65 /arch/arm64/kvm/vgic | |
parent | Merge branch kvm-arm64/misc-5.17 into kvmarm-master/next (diff) | |
download | linux-094d00f8ca58c5d29b25e23b4daaed1ff1f13b41.tar.xz linux-094d00f8ca58c5d29b25e23b4daaed1ff1f13b41.zip |
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: 25aa28691bb9 ("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.org
Diffstat (limited to 'arch/arm64/kvm/vgic')
0 files changed, 0 insertions, 0 deletions