This merge introduces three patches that are later reverted,

 - Switching of MSR_TSC_AUX in SVM was thought to cause a host
   misbehavior, but it was later cleared of those doubts and the patch
   moved code to a hot path, so we reverted it.  That patch also needed
   a fix for 32 bit builds and both were reverted in one go.

 - Al Viro noticed that a fix for a leak in an error path was not valid
   with the given API and provided a better fix, so the original patch
   was reverted.

Then there are two VMX fixes that move code around because VMCS was not
accessed between vcpu_load() and vcpu_put(), a simple ARM VHE fix, and
two one-liners for PML and MTRR.
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>
1 file changed