Commit 4c2c0bf6 authored by Marc Zyngier's avatar Marc Zyngier Committed by Xie XiuQi
Browse files

KVM: arm64: Introduce handling of AArch32 TTBCR2 traps



stable inclusion
from stable-5.10.4
commit e365b97a1576e2bb268664585533c1671e2f0709
bugzilla: 46903

--------------------------------

commit ca4e5147 upstream.

ARMv8.2 introduced TTBCR2, which shares TCR_EL1 with TTBCR.
Gracefully handle traps to this register when HCR_EL2.TVM is set.

Cc: stable@vger.kernel.org
Reported-by: default avatarJames Morse <james.morse@arm.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent b8496fae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment