summaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/handle_exit.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-01-05 19:58:28 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2016-02-29 19:34:15 +0100
commitf9e515eeb1833e8bf621948b43ee7c6236c7a167 (patch)
tree8ba9594964f01771d6766104210d74402f50030f /arch/arm/kvm/handle_exit.c
parentARM: KVM: Remove unused hyp_pc field (diff)
downloadlinux-f9e515eeb1833e8bf621948b43ee7c6236c7a167.tar.xz
linux-f9e515eeb1833e8bf621948b43ee7c6236c7a167.zip
ARM: KVM: Remove handling of ARM_EXCEPTION_DATA/PREF_ABORT
These are now handled as a panic, so there is little point in keeping them around. Acked-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/handle_exit.c')
-rw-r--r--arch/arm/kvm/handle_exit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/kvm/handle_exit.c b/arch/arm/kvm/handle_exit.c
index 5377d7539a40..3f1ef0dbc899 100644
--- a/arch/arm/kvm/handle_exit.c
+++ b/arch/arm/kvm/handle_exit.c
@@ -147,8 +147,6 @@ int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *run,
switch (exception_index) {
case ARM_EXCEPTION_IRQ:
return 1;
- case ARM_EXCEPTION_DATA_ABORT:
- case ARM_EXCEPTION_PREF_ABORT:
case ARM_EXCEPTION_HVC:
/*
* See ARM ARM B1.14.1: "Hyp traps on instructions