aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-09-06 09:02:16 -0400
committerChristoffer Dall <christoffer.dall@linaro.org>2016-09-08 06:53:00 -0400
commit21977a4c57cd92c71113e21319302b5a399f9d2d (patch)
tree5dc4fa1c1703267cfac14750763176823bb074a9
parent4055710baca8cb067b059a635cf851eb86410a83 (diff)
arm/arm64: KVM: Remove external abort test from MMIO handling
As we know handle external aborts pretty early, we can get rid of its handling in the MMIO code (which was a bit odd to begin with...). Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
-rw-r--r--arch/arm/kvm/mmio.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/kvm/mmio.c b/arch/arm/kvm/mmio.c
index 10f80a6c797a..b6e715fd3c90 100644
--- a/arch/arm/kvm/mmio.c
+++ b/arch/arm/kvm/mmio.c
@@ -126,12 +126,6 @@ static int decode_hsr(struct kvm_vcpu *vcpu, bool *is_write, int *len)
126 int access_size; 126 int access_size;
127 bool sign_extend; 127 bool sign_extend;
128 128
129 if (kvm_vcpu_dabt_isextabt(vcpu)) {
130 /* cache operation on I/O addr, tell guest unsupported */
131 kvm_inject_dabt(vcpu, kvm_vcpu_get_hfar(vcpu));
132 return 1;
133 }
134
135 if (kvm_vcpu_dabt_iss1tw(vcpu)) { 129 if (kvm_vcpu_dabt_iss1tw(vcpu)) {
136 /* page table accesses IO mem: tell guest to fix its TTBR */ 130 /* page table accesses IO mem: tell guest to fix its TTBR */
137 kvm_inject_dabt(vcpu, kvm_vcpu_get_hfar(vcpu)); 131 kvm_inject_dabt(vcpu, kvm_vcpu_get_hfar(vcpu));