[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 12/21] target-arm: A64: Implement DC ZVA
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v4 12/21] target-arm: A64: Implement DC ZVA |
Date: |
Fri, 07 Mar 2014 07:40:27 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 03/07/2014 07:11 AM, Peter Maydell wrote:
>> > As a bonus, you'll have accurate exceptions should the access throw, so you
>> > don't need to force the save of PC before calling the helper. Which... I
>> > don't
>> > see you doing, so perhaps there's a bug here at the moment.
> Mmm. (In system mode we'll save PC as a side effect of having
> an accessfn defined for the DC_ZVA reginfo.)
Ah, I see it.
I'll note that the GETRA/PC thing can be made to work with any helper. It's
just a matter of passing down the outermost helper's retaddr to
cpu_restore_state. C.f. target-alpha's dynamic_excp/arith_excp functions.
So in theory there's no need for the accessfn to require storing the pc first.
r~
- [Qemu-devel] [PATCH v4 00/21] AArch64 system emulation (boots a kernel!), Peter Maydell, 2014/03/06
- [Qemu-devel] [PATCH v4 09/21] target-arm: Fix VFP enables for AArch32 EL0 under AArch64 EL1, Peter Maydell, 2014/03/06
- [Qemu-devel] [PATCH v4 17/21] target-arm: Implement AArch64 SPSR_EL1, Peter Maydell, 2014/03/06
- [Qemu-devel] [PATCH v4 16/21] target-arm: Implement SP_EL0, SP_EL1, Peter Maydell, 2014/03/06
- [Qemu-devel] [PATCH v4 19/21] target-arm: Implement AArch64 EL1 exception handling, Peter Maydell, 2014/03/06
- [Qemu-devel] [PATCH v4 18/21] target-arm: Move arm_log_exception() into internals.h, Peter Maydell, 2014/03/06
- [Qemu-devel] [PATCH v4 21/21] hw/arm/virt: Add support for Cortex-A57, Peter Maydell, 2014/03/06