summaryrefslogtreecommitdiff
path: root/arch/mips/kvm/locore.S
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-06-09 16:19:05 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-14 12:02:39 +0300
commite4e94c0fc8d66975f0822c52d04b366c6250dc64 (patch)
treea928b26d4e3d60907b01b5ba703f52db86735c78 /arch/mips/kvm/locore.S
parentd40dd9e8da02a9905dea2329c0a8404ab8436622 (diff)
downloadlinux-e4e94c0fc8d66975f0822c52d04b366c6250dc64.tar.xz
MIPS: KVM: Drop unused host_cp0_entryhi
The host EntryHi in the KVM VCPU context is virtually unused. It gets stored on exceptions, but only ever used in a kvm_debug() when a TLB miss occurs. Drop it entirely, removing that information from the kvm_debug output. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/kvm/locore.S')
-rw-r--r--arch/mips/kvm/locore.S3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/kvm/locore.S b/arch/mips/kvm/locore.S
index 828fcfc1cd7f..5ad2d507b125 100644
--- a/arch/mips/kvm/locore.S
+++ b/arch/mips/kvm/locore.S
@@ -308,9 +308,6 @@ NESTED (MIPSX(GuestException), CALLFRAME_SIZ, ra)
mfc0 k0, CP0_CAUSE
LONG_S k0, VCPU_HOST_CP0_CAUSE(k1)
- mfc0 k0, CP0_ENTRYHI
- LONG_S k0, VCPU_HOST_ENTRYHI(k1)
-
/* Now restore the host state just enough to run the handlers */
/* Switch EBASE to the one used by Linux */