summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/kvm_asm.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2014-01-08 14:25:28 +0400
committerAlexander Graf <agraf@suse.de>2014-01-27 19:01:13 +0400
commit5d00f66b865e3782c5852cdafe1cea11a292a81e (patch)
tree5d1fc36361174c760ab5c315b98c336fdcaf83f3 /arch/powerpc/include/asm/kvm_asm.h
parente0622bd9f2fccc8a801fa7aaf4fa6d7c728c3a78 (diff)
downloadlinux-5d00f66b865e3782c5852cdafe1cea11a292a81e.tar.xz
KVM: PPC: Book3S HV: Prepare for host using hypervisor doorbells
POWER8 has support for hypervisor doorbell interrupts. Though the kernel doesn't use them for IPIs on the powernv platform yet, it probably will in future, so this makes KVM cope gracefully if a hypervisor doorbell interrupt arrives while in a guest. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_asm.h')
-rw-r--r--arch/powerpc/include/asm/kvm_asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_asm.h b/arch/powerpc/include/asm/kvm_asm.h
index dba8fb244100..c3815b1e79e8 100644
--- a/arch/powerpc/include/asm/kvm_asm.h
+++ b/arch/powerpc/include/asm/kvm_asm.h
@@ -96,6 +96,7 @@
#define BOOK3S_INTERRUPT_H_DATA_STORAGE 0xe00
#define BOOK3S_INTERRUPT_H_INST_STORAGE 0xe20
#define BOOK3S_INTERRUPT_H_EMUL_ASSIST 0xe40
+#define BOOK3S_INTERRUPT_H_DOORBELL 0xe80
#define BOOK3S_INTERRUPT_PERFMON 0xf00
#define BOOK3S_INTERRUPT_ALTIVEC 0xf20
#define BOOK3S_INTERRUPT_VSX 0xf40