aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-07-08 11:53:24 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-08-01 18:42:23 +0200
commit1d756942533b2330d8929dd0ea61a81a5d020196 (patch)
treea1f356f75845aeb1d768886108be7bc95d168a4c /kernel
parentMIPS: KVM: Make entry code MIPS64 friendly (diff)
downloadlinux-dev-1d756942533b2330d8929dd0ea61a81a5d020196.tar.xz
linux-dev-1d756942533b2330d8929dd0ea61a81a5d020196.zip
MIPS: KVM: Set CP0_Status.KX on MIPS64
Update the KVM entry code to set the CP0_Entry.KX bit on 64-bit kernels. This is important to allow the entry code, running in kernel mode, to access the full 64-bit address space right up to the point of entering the guest, and immediately after exiting the guest, so it can safely restore & save the guest context from 64-bit segments. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions