Commit 1b44471b authored by Zenghui Yu's avatar Zenghui Yu Committed by Marc Zyngier

KVM: arm64: Fix comment for KVM_PHYS_SHIFT

Since Suzuki K Poulose's work on Dynamic IPA support, KVM_PHYS_SHIFT will
be used only when machine_type's bits[7:0] equal to 0 (by default). Thus
the outdated comment should be fixed.
Reviewed-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: default avatarZenghui Yu <yuzenghui@huawei.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent a37f0c3c
...@@ -138,7 +138,8 @@ static inline unsigned long __kern_hyp_va(unsigned long v) ...@@ -138,7 +138,8 @@ static inline unsigned long __kern_hyp_va(unsigned long v)
}) })
/* /*
* We currently only support a 40bit IPA. * We currently support using a VM-specified IPA size. For backward
* compatibility, the default IPA size is fixed to 40bits.
*/ */
#define KVM_PHYS_SHIFT (40) #define KVM_PHYS_SHIFT (40)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment