commit | b2df44ffba363bd90274340e0adfd8137f5cd878 | [log] [tgz] |
---|---|---|
author | Suzuki K Poulose <suzuki.poulose@arm.com> | Wed Sep 26 17:32:41 2018 +0100 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Mon Oct 01 13:50:29 2018 +0100 |
tree | cdd9dd1610a9d0db4118d8b785534a1dde61f286 | |
parent | ce00e3cb4fb496683708db6bfce470e5c7710ddc [diff] |
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>