]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: nv: Allocate VNCR page when required
authorMarc Zyngier <maz@kernel.org>
Wed, 14 May 2025 10:34:45 +0000 (11:34 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 19 May 2025 06:59:46 +0000 (07:59 +0100)
commit469c4713d48028186e4bbf4b74ebce273af9a394
tree081ae0c976e01e5e3eff28f74d42f70b004e4d38
parentfb3066904a4e2562cbcf71b26b0f0dc7a262280c
KVM: arm64: nv: Allocate VNCR page when required

If running a NV guest on an ARMv8.4-NV capable system, let's
allocate an additional page that will be used by the hypervisor
to fulfill system register accesses.

Reviewed-by: Ganapatrao Kulkarni <gankulkarni@os.amperecomputing.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20250514103501.2225951-3-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/nested.c
arch/arm64/kvm/reset.c