]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: nv: Handle VNCR_EL2 invalidation from MMU notifiers
authorMarc Zyngier <maz@kernel.org>
Wed, 14 May 2025 10:34:54 +0000 (11:34 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 19 May 2025 07:01:19 +0000 (08:01 +0100)
commit7270cc9157f474dfc46750a34c9d7defc686b2eb
tree651bc5f6e4cbb4254b16c0eef186fb297c39a945
parent2a359e072596fcb2e9e85017a865e3618a2fe5b5
KVM: arm64: nv: Handle VNCR_EL2 invalidation from MMU notifiers

During an invalidation triggered by an MMU notifier, we need to
make sure we can drop the *host* mapping that would have been
translated by the stage-2 mapping being invalidated.

For the moment, the invalidation is pretty brutal, as we nuke
the full IPA range, and therefore any VNCR_EL2 mapping.

At some point, we'll be more light-weight, and the code is able
to deal with something more targetted.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20250514103501.2225951-12-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/nested.c