Skip to content

Commit

Permalink
KVM: PPC: Book3S HV: Add support for real mode ICP in XICS emulation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Benjamin Herrenschmidt authored and Alexander Graf committed Apr 26, 2013
1 parent 54695c3 commit e7d26f2
Show file tree
Hide file tree
Showing 5 changed files with 490 additions and 19 deletions.
5 changes: 4 additions & 1 deletion arch/powerpc/kvm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,15 @@ kvm-book3s_64-objs-$(CONFIG_KVM_BOOK3S_64_HV) := \
book3s_hv.o \
book3s_hv_interrupts.o \
book3s_64_mmu_hv.o
kvm-book3s_64-builtin-xics-objs-$(CONFIG_KVM_XICS) := \
book3s_hv_rm_xics.o
kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HV) := \
book3s_hv_rmhandlers.o \
book3s_hv_rm_mmu.o \
book3s_64_vio_hv.o \
book3s_hv_ras.o \
book3s_hv_builtin.o
book3s_hv_builtin.o \
$(kvm-book3s_64-builtin-xics-objs-y)

kvm-book3s_64-objs-$(CONFIG_KVM_XICS) += \
book3s_xics.o
Expand Down
Loading

0 comments on commit e7d26f2

Please sign in to comment.