summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_asm.h
diff options
context:
space:
mode:
authorMihai Caraman <mihai.caraman@freescale.com>2013-08-08 14:56:09 +0200
committerScott Wood <scottwood@freescale.com>2014-01-08 01:15:29 +0100
commit228b1a473037c89d524e03a569c688a22241b4ea (patch)
tree89148336fa415353ad442861ab17d4beda3f8973 /arch/powerpc/include/asm/kvm_asm.h
parentMerge branch 'merge' into next (diff)
downloadlinux-228b1a473037c89d524e03a569c688a22241b4ea.tar.xz
linux-228b1a473037c89d524e03a569c688a22241b4ea.zip
powerpc/booke64: Add LRAT error exception handler
LRAT (Logical to Real Address Translation) present in MMU v2 provides hardware translation from a logical page number (LPN) to a real page number (RPN) when tlbwe is executed by a guest or when a page table translation occurs from a guest virtual address. Add LRAT error exception handler to Booke3E 64-bit kernel and the basic KVM handler to avoid build breakage. This is a prerequisite for KVM LRAT support that will follow. Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
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 1bd92fd43cfb..1503d8c7c41b 100644
--- a/arch/powerpc/include/asm/kvm_asm.h
+++ b/arch/powerpc/include/asm/kvm_asm.h
@@ -74,6 +74,7 @@
#define BOOKE_INTERRUPT_GUEST_DBELL_CRIT 39
#define BOOKE_INTERRUPT_HV_SYSCALL 40
#define BOOKE_INTERRUPT_HV_PRIV 41
+#define BOOKE_INTERRUPT_LRAT_ERROR 42
/* book3s */