Skip to content
Commit 4c47eb1c authored by Marc Zyngier's avatar Marc Zyngier Committed by Radim Krčmář
Browse files

arm64: KVM: VHE: Context switch MDSCR_EL1



The kprobe enablement work has uncovered that changes made by
a guest to MDSCR_EL1 were propagated to the host when VHE was
enabled, leading to unexpected exception being delivered.

Moving this register to the list of registers that are always
context-switched fixes the issue.

Fixes: 9c6c3568 ("arm64: KVM: VHE: Split save/restore of registers shared between guest and host")
Cc: stable@vger.kernel.org #4.6
Reported-by: default avatarTirumalesh Chalamarla <Tirumalesh.Chalamarla@cavium.com>
Tested-by: default avatarTirumalesh Chalamarla <Tirumalesh.Chalamarla@cavium.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent b244c9fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment