diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-07-08 12:53:26 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-08-01 18:42:24 +0200 |
commit | 2a06dab877dee3d4144c3ba32c662db18a1fdd2b (patch) | |
tree | 70073a52c9257c1462f9fd9d9a15ca73e68df94d /arch/mips/kvm/dyntrans.c | |
parent | MIPS: KVM: Use 64-bit CP0_EBase when appropriate (diff) | |
download | linux-2a06dab877dee3d4144c3ba32c662db18a1fdd2b.tar.xz linux-2a06dab877dee3d4144c3ba32c662db18a1fdd2b.zip |
MIPS: KVM: Fail if ebase doesn't fit in CP0_EBase
Fail if the address of the allocated exception base doesn't fit into the
CP0_EBase register. This can happen on MIPS64 if CP0_EBase.WG isn't
implemented but RAM is available outside of the range of KSeg0.
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 'arch/mips/kvm/dyntrans.c')
0 files changed, 0 insertions, 0 deletions