Re: [Qemu-devel] [PATCH v2 16/23] target-arm: Use arm_current_sctlr to access SCTLR

2014-05-22 Thread Edgar E. Iglesias
On Thu, May 22, 2014 at 02:56:22PM +, Aggeler Fabian wrote: > > On 22 May 2014, at 09:33, Edgar E. Iglesias wrote: > > > On Tue, May 13, 2014 at 06:16:01PM +0200, Fabian Aggeler wrote: > >> Add SCTLR_EL3 and introduce new function to access correct > >> instance of SCTLR in different modes/

Re: [Qemu-devel] [PATCH v2 16/23] target-arm: Use arm_current_sctlr to access SCTLR

2014-05-22 Thread Aggeler Fabian
On 22 May 2014, at 09:33, Edgar E. Iglesias wrote: > On Tue, May 13, 2014 at 06:16:01PM +0200, Fabian Aggeler wrote: >> Add SCTLR_EL3 and introduce new function to access correct >> instance of SCTLR in different modes/worlds. > > Hi, > > AArch64 has a couple of insn/regs that do address trans

Re: [Qemu-devel] [PATCH v2 16/23] target-arm: Use arm_current_sctlr to access SCTLR

2014-05-22 Thread Edgar E. Iglesias
On Tue, May 13, 2014 at 06:16:01PM +0200, Fabian Aggeler wrote: > Add SCTLR_EL3 and introduce new function to access correct > instance of SCTLR in different modes/worlds. Hi, AArch64 has a couple of insn/regs that do address translation as seen by other ELs. E.g, from EL3 you can perform address

[Qemu-devel] [PATCH v2 16/23] target-arm: Use arm_current_sctlr to access SCTLR

2014-05-13 Thread Fabian Aggeler
Add SCTLR_EL3 and introduce new function to access correct instance of SCTLR in different modes/worlds. Signed-off-by: Fabian Aggeler --- hw/arm/pxa2xx.c| 2 +- target-arm/cpu-qom.h | 1 + target-arm/cpu.c | 4 +-- target-arm/cpu.h | 14 ++- target-arm/helper.c