arm64: KVM: set {v,}TCR_EL2 RES1 bits
authorMark Rutland <mark.rutland@arm.com>
Mon, 24 Aug 2015 13:42:05 +0000 (14:42 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 4 Sep 2015 15:56:36 +0000 (16:56 +0100)
commit857d1a973077245f03b351e2539529c86267bfe4
treebfd8950f02d3716d0f837d29f2d2fdf46a73972d
parent4ad9e16af36bbe8657aabe494ff912acbc213ce4
arm64: KVM: set {v,}TCR_EL2 RES1 bits

Currently we don't set the RES1 bits of TCR_EL2 and VTCR_EL2 when
configuring them, which could lead to unexpected behaviour when an
architectural meaning is defined for those bits.

Set the RES1 bits to avoid issues.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Suzuki Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_arm.h
This page took 0.025929 seconds and 5 git commands to generate.