]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit985145ab2779c35868beb7ba2cd6e8926a588b37
treebfd8950f02d3716d0f837d29f2d2fdf46a73972d
parent93a1843f66db370d433835140fd5582906220049
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