Commit 9ad5e201 authored by Marc Zyngier's avatar Marc Zyngier Committed by Will Deacon
Browse files

FROMLIST: 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: 25aa2869 ("KVM: arm64: Move guest CMOs to the fault handlers")
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Bug: 209777660
Link: https://lore.kernel.org/r/20220114125038.1336965-1-maz@kernel.org


Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Change-Id: I8cd221f7c89a20de28f0bea422641622b8320c1f
parent e149939d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment