]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
KVM: MIPS: Add callback to check extension
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Mar 2017 10:15:22 +0000 (10:15 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 28 Mar 2017 13:53:48 +0000 (14:53 +0100)
commit607ef2fdeb95ae63322321ca15b41f76870f48f1
tree1efe20ac79dc2c112ee18c0a4de6f0713a91d6c7
parenta517c1ad65921765d5ac8594567c7bb6f352655c
KVM: MIPS: Add callback to check extension

Add an implementation callback for checking presence of KVM extensions.
This allows implementation specific extensions to be provided without
ifdefs in mips.c.

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/include/asm/kvm_host.h
arch/mips/kvm/mips.c
arch/mips/kvm/trap_emul.c