]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS/T&E: Allocate GVA -> HPA page tables
authorJames Hogan <james.hogan@imgtec.com>
Thu, 8 Sep 2016 21:57:03 +0000 (22:57 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:20:50 +0000 (15:20 +0000)
commite7a56633e09bb6f37989ef02d68a21263c52cc35
treef28721d884797cacf91eaf90d64232d882a34f85
parentfef50b564cd79fd8167891eebb2b985ec6b647e7
KVM: MIPS/T&E: Allocate GVA -> HPA page tables

Allocate GVA -> HPA page tables for guest kernel and guest user mode on
each VCPU, to allow for fast path TLB refill handling to be added later.

In the process kvm_arch_vcpu_init() needs updating to pass on any error
from the vcpu_init() callback.

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
arch/mips/kvm/mips.c
arch/mips/kvm/trap_emul.c