summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/kvm_arm.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2012-09-18 10:36:16 (GMT)
committerChristoffer Dall <cdall@cs.columbia.edu>2013-03-06 23:48:42 (GMT)
commit78abfcde49e0e454cabf8e56cd4c1591752e2706 (patch)
tree52a67b34e5038808f5d46243867c10cee6ac20e0 /arch/arm/include/asm/kvm_arm.h
parentd0adf747c9caa8b01d0c1f987e306b7c6aaa5a04 (diff)
downloadlinux-fsl-qoriq-78abfcde49e0e454cabf8e56cd4c1591752e2706.tar.xz
ARM: KVM: abstract (and fix) external abort detection away
Bit 8 is cache maintenance, bit 9 is external abort. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Diffstat (limited to 'arch/arm/include/asm/kvm_arm.h')
-rw-r--r--arch/arm/include/asm/kvm_arm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/kvm_arm.h b/arch/arm/include/asm/kvm_arm.h
index 7c3d813..990764e 100644
--- a/arch/arm/include/asm/kvm_arm.h
+++ b/arch/arm/include/asm/kvm_arm.h
@@ -211,4 +211,7 @@
#define HSR_HVC_IMM_MASK ((1UL << 16) - 1)
+#define HSR_DABT_CM (1U << 8)
+#define HSR_DABT_EA (1U << 9)
+
#endif /* __ARM_KVM_ARM_H__ */