android_kernel_xiaomi_sm8350/arch/powerpc
Alexander Graf c862125c8a Add interrupt handling code
Getting from host state to the guest is only half the story. We also need
to return to our host context and handle whatever happened to get us out of
the guest.

On PowerPC every guest exit is an interrupt. So all we need to do is trap
the host's interrupt handlers and get into our #VMEXIT code to handle it.

PowerPCs also have a register that can add an offset to the interrupt handlers'
adresses which is what the booke KVM code uses. Unfortunately that is a
hypervisor ressource and we also want to be able to run KVM when we're running
in an LPAR. So we have to hook into the Linux interrupt handlers.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-11-05 16:49:54 +11:00
..
boot powerpc/boot/dts: drop obsolete 'fsl5200-clocking' 2009-10-15 09:58:27 -06:00
configs powerpc: pasemi_defconfig update 2009-10-30 17:21:32 +11:00
include/asm Add book3s_64 highmem asm code 2009-11-05 16:49:53 +11:00
kernel powerpc: Enable sparse irq_descs on powerpc 2009-10-30 17:21:31 +11:00
kvm Add interrupt handling code 2009-11-05 16:49:54 +11:00
lib powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
math-emu
mm powerpc/mm: Bring hugepage PTE accessor functions back into sync with normal accessors 2009-10-30 17:21:23 +11:00
oprofile powerpc: Remove unnecessary semicolons 2009-07-08 13:50:21 +10:00
platforms powerpc/8xx: Fix build breakage with sparse irq changes 2009-10-30 17:21:38 +11:00
sysdev powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
xmon powerpc/booke: Fix xmon single step on PowerPC Book-E 2009-10-27 16:42:40 +11:00
Kconfig powerpc: Enable sparse irq_descs on powerpc 2009-10-30 17:21:31 +11:00
Kconfig.debug powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
Makefile powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00
relocs_check.pl powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00