MIPS: Add functions for hypervisor call
authorDavid Daney <david.daney@cavium.com>
Wed, 28 May 2014 21:52:12 +0000 (23:52 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 May 2014 19:01:11 +0000 (21:01 +0200)
commit90dfdc7ceb577c0d7b7635def3c62039a091e50d
treee20938cbe7d542786d79371b38a6ba0090c8829a
parentcd3f5389489146297eb2c11e4f9d1c4e8aaeb59f
MIPS: Add functions for hypervisor call

Introduce kvm_hypercall[0-3].
Define three new hypercalls for MIPS: GET_CLOCK_FREQ, EXIT_VM, and
CONSOLE_OUTPUT.

[andreas.herrmann:
  * Properly define hypercalls and HC numbers for MIPS
    in kvm_para.h header files]

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Cc: James Hogan <james.hogan@imgtec.com>
Cc: kvm@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7005/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/kvm_para.h [new file with mode: 0644]
arch/mips/include/uapi/asm/kvm_para.h
include/uapi/linux/kvm_para.h