summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/exception-64s.h
diff options
context:
space:
mode:
authorIan Munsie2012-11-14 19:49:46 +0100
committerBenjamin Herrenschmidt2013-01-10 05:09:06 +0100
commit1dbdafec5d63a1de6c83c89a3e953575d60fd393 (patch)
treec709f266da859e487fd4431370361f107e535b02 /arch/powerpc/include/asm/exception-64s.h
parentpowerpc: Add book3s hypervisor doorbell exception vectors (diff)
downloadkernel-qcow2-linux-1dbdafec5d63a1de6c83c89a3e953575d60fd393.tar.gz
kernel-qcow2-linux-1dbdafec5d63a1de6c83c89a3e953575d60fd393.tar.xz
kernel-qcow2-linux-1dbdafec5d63a1de6c83c89a3e953575d60fd393.zip
powerpc: Add book3s privileged doorbell exception vectors
Directed Privileged Doorbell Interrupts come in at 0xa00 (or 0xc000000000004a00 if relocation on exception is enabled), so add exception vectors at these locations. If doorbell support is not compiled in we handle it as an unknown_exception. Signed-off-by: Ian Munsie <imunsie@au1.ibm.com> Tested-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/exception-64s.h')
-rw-r--r--arch/powerpc/include/asm/exception-64s.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/exception-64s.h b/arch/powerpc/include/asm/exception-64s.h
index 9d5367e7e19b..b1edd801d314 100644
--- a/arch/powerpc/include/asm/exception-64s.h
+++ b/arch/powerpc/include/asm/exception-64s.h
@@ -305,6 +305,7 @@ label##_relon_hv: \
#define SOFTEN_VALUE_0x502 PACA_IRQ_EE
#define SOFTEN_VALUE_0x900 PACA_IRQ_DEC
#define SOFTEN_VALUE_0x982 PACA_IRQ_DEC
+#define SOFTEN_VALUE_0xa00 PACA_IRQ_DBELL
#define SOFTEN_VALUE_0xe80 PACA_IRQ_DBELL
#define SOFTEN_VALUE_0xe82 PACA_IRQ_DBELL