Commit 83009f9e authored by Will Deacon's avatar Will Deacon Committed by Will Deacon
Browse files

FROMGIT: BACKPORT: KVM: arm64: Don't map 'kvm_vgic_global_state' at EL2 with pKVM



Now that 'kvm_vgic_global_state' is no longer needed for ICC_CTLR_EL1
emulation on machines with a broken SEIS implementation, drop the
pKVM hypervisor mapping of the page.

Note that kvm_vgic_global_state is still mapped in non-protected
hypervisor configurations (i.e. {n,h}VHE) through the rodata section
mapping.

Cc: Marc Zyngier <maz@kernel.org>
Cc: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
Reviewed-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241022144016.27350-3-will@kernel.org


Signed-off-by: default avatarOliver Upton <oliver.upton@linux.dev>
(cherry picked from commit 8aaf3f7d
 kvmarm/next)
[willdeacon@: Retain r/o mapping of pvmfw at EL2]
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Bug: 368251057
Change-Id: Ie983eccb65e617d41c9fd4898eb3804da1ca22d0
parent b45e3f83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment