summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/reset.c
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2018-09-26 18:32:41 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2018-10-01 14:50:29 +0200
commitb2df44ffba363bd90274340e0adfd8137f5cd878 (patch)
treecdd9dd1610a9d0db4118d8b785534a1dde61f286 /arch/arm64/kvm/reset.c
parentarm64: Add a helper for PARange to physical shift conversion (diff)
downloadlinux-b2df44ffba363bd90274340e0adfd8137f5cd878.tar.xz
linux-b2df44ffba363bd90274340e0adfd8137f5cd878.zip
kvm: arm64: Clean up VTCR_EL2 initialisation
Use the new helper for converting the parange to the physical shift. Also, add the missing definitions for the VTCR_EL2 register fields and use them instead of hard coding numbers. Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Christoffer Dall <cdall@kernel.org> Reviewed-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/kvm/reset.c')
0 files changed, 0 insertions, 0 deletions