diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-07-19 13:56:54 +0100 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2016-07-23 18:07:12 +0200 |
commit | 4c47eb1c18c38b755eb4894a6ca38f834de3ec23 (patch) | |
tree | 107cc8af914c8ece3737a5b2298b05bd12e230ea /arch/x86 | |
parent | b244c9fc251e14a083a1cbf04bef10bd99303a76 (diff) | |
download | linux-4c47eb1c18c38b755eb4894a6ca38f834de3ec23.tar.gz linux-4c47eb1c18c38b755eb4894a6ca38f834de3ec23.tar.bz2 linux-4c47eb1c18c38b755eb4894a6ca38f834de3ec23.zip |
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: 9c6c35683286 ("arm64: KVM: VHE: Split save/restore of registers shared between guest and host")
Cc: stable@vger.kernel.org #4.6
Reported-by: Tirumalesh Chalamarla <Tirumalesh.Chalamarla@cavium.com>
Tested-by: Tirumalesh Chalamarla <Tirumalesh.Chalamarla@cavium.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions