diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2018-09-26 18:32:41 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-10-01 14:50:29 +0200 |
commit | b2df44ffba363bd90274340e0adfd8137f5cd878 (patch) | |
tree | cdd9dd1610a9d0db4118d8b785534a1dde61f286 /arch/arm64/kvm/reset.c | |
parent | arm64: Add a helper for PARange to physical shift conversion (diff) | |
download | linux-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