]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Add support for real mode ICP in XICS emulation
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 17 Apr 2013 20:31:15 +0000 (20:31 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:27:32 +0000 (20:27 +0200)
commit97bd6d6508fac418f0d5f1f424b5fd88a8b89f8d
tree0afc30678671f87be82992d306cdec3b984bc6dd
parent6ccfd8fbc643a9adac1a7fa501a1acf5e34a2c1b
KVM: PPC: Book3S HV: Add support for real mode ICP in XICS emulation

This adds an implementation of the XICS hypercalls in real mode for HV
KVM, which allows us to avoid exiting the guest MMU context on all
threads for a variety of operations such as fetching a pending
interrupt, EOI of messages, IPIs, etc.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/Makefile
arch/powerpc/kvm/book3s_hv_rm_xics.c [new file with mode: 0644]
arch/powerpc/kvm/book3s_hv_rmhandlers.S
arch/powerpc/kvm/book3s_xics.c
arch/powerpc/kvm/book3s_xics.h