[PATCH v1 3/4] KVM: arm/arm64: Define TCR_EL2_T0SZ_MASK as TCR_T0SZ_MASK

2019-02-22 Thread Leo Yan
Define macro TCR_EL2_T0SZ_MASK as TCR_T0SZ_MASK, so can remove the hard number 0x3f. Signed-off-by: Leo Yan --- arch/arm64/include/asm/kvm_arm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/kvm_arm.h b/arch/arm64/include/asm/kvm_arm.h index

Re: [PATCH v1 3/4] KVM: arm/arm64: Define TCR_EL2_T0SZ_MASK as TCR_T0SZ_MASK

2019-02-22 Thread Mark Rutland
On Fri, Feb 22, 2019 at 04:23:25PM +0800, Leo Yan wrote: > Define macro TCR_EL2_T0SZ_MASK as TCR_T0SZ_MASK, so can remove the hard > number 0x3f. > > Signed-off-by: Leo Yan Given we do this for the other TCR fields, and the value is correct AFAICT, this makes sense to me. FWIW: Reviewed-by: