KVM: PPC: Book3S HV: Translate kvmhv_commence_exit to C
authorPaul Mackerras <paulus@samba.org>
Sat, 28 Mar 2015 03:21:11 +0000 (14:21 +1100)
committerAlexander Graf <agraf@suse.de>
Tue, 21 Apr 2015 13:21:34 +0000 (15:21 +0200)
commiteddb60fb1443f85c5728f1b1cd4be608c6832a79
treea4b4cb322d3e067ba4e53825152ff45efaba9022
parent6af27c847ad1b889c29a641dfc41f2d78c46a048
KVM: PPC: Book3S HV: Translate kvmhv_commence_exit to C

This replaces the assembler code for kvmhv_commence_exit() with C code
in book3s_hv_builtin.c.  It also moves the IPI sending code that was
in book3s_hv_rm_xics.c into a new kvmhv_rm_send_ipi() function so it
can be used by kvmhv_commence_exit() as well as icp_rm_set_vcpu_irq().

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_book3s_64.h
arch/powerpc/kvm/book3s_hv_builtin.c
arch/powerpc/kvm/book3s_hv_rm_xics.c
arch/powerpc/kvm/book3s_hv_rmhandlers.S