[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 02/16] target-arm: A64: Respect SPSEL in ERET SP
From: |
Edgar E. Iglesias |
Subject: |
[Qemu-devel] [PATCH v3 02/16] target-arm: A64: Respect SPSEL in ERET SP restore |
Date: |
Tue, 17 Jun 2014 18:45:32 +1000 |
From: "Edgar E. Iglesias" <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
---
target-arm/op_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index 90a946a..25ad902 100644
--- a/target-arm/op_helper.c
+++ b/target-arm/op_helper.c
@@ -410,7 +410,7 @@ void HELPER(exception_return)(CPUARMState *env)
}
env->aarch64 = 1;
pstate_write(env, spsr);
- env->xregs[31] = env->sp_el[new_el];
+ aarch64_restore_sp(env, new_el);
env->pc = env->elr_el[cur_el];
}
--
1.8.3.2
- [Qemu-devel] [PATCH v3 00/16] target-arm: Parts of the AArch64 EL2/3 exception model, Edgar E. Iglesias, 2014/06/17
- [Qemu-devel] [PATCH v3 01/16] target-arm: A64: Break out aarch64_save/restore_sp, Edgar E. Iglesias, 2014/06/17
- [Qemu-devel] [PATCH v3 02/16] target-arm: A64: Respect SPSEL in ERET SP restore,
Edgar E. Iglesias <=
- [Qemu-devel] [PATCH v3 03/16] target-arm: A64: Respect SPSEL when taking exceptions, Edgar E. Iglesias, 2014/06/17
- [Qemu-devel] [PATCH v3 04/16] target-arm: Make far_el1 an array, Edgar E. Iglesias, 2014/06/17
- [Qemu-devel] [PATCH v3 05/16] target-arm: Add ESR_EL2 and 3, Edgar E. Iglesias, 2014/06/17
- [Qemu-devel] [PATCH v3 06/16] target-arm: Add FAR_EL2 and 3, Edgar E. Iglesias, 2014/06/17
- [Qemu-devel] [PATCH v3 07/16] target-arm: Add HCR_EL2, Edgar E. Iglesias, 2014/06/17
- [Qemu-devel] [PATCH v3 08/16] target-arm: Add SCR_EL3, Edgar E. Iglesias, 2014/06/17
- [Qemu-devel] [PATCH v3 09/16] target-arm: A64: Refactor aarch64_cpu_do_interrupt, Edgar E. Iglesias, 2014/06/17
- [Qemu-devel] [PATCH v3 10/16] target-arm: Break out exception masking to a separate func, Edgar E. Iglesias, 2014/06/17