[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap sup
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support |
Date: |
Thu, 23 Apr 2015 16:11:01 +0100 |
On 23 April 2015 at 16:00, Greg Bellows <address@hidden> wrote:
>
>
> On Thu, Apr 23, 2015 at 9:51 AM, Peter Maydell <address@hidden>
> wrote:
>> We should check what the architecture manual says, but I think
>> that in all the trap-WFE cases it says "traps if the CPU
>> would go into a low power state". QEMU *never* goes into a
>> low power state on WFE, so we never trap.
>
>
> Right, that is exactly what it says. So if QEMU never goes into a low power
> state than neither wfi or wfe should trap as they have the same explanation.
> In which case the best solution is to pull the patches out. That work?
No, because for WFI we *do* go into a low-power state (EXCP_HLT),
so we must trap.
-- PMM
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, (continued)
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, Edgar E. Iglesias, 2015/04/23
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, Peter Maydell, 2015/04/23
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, Edgar E. Iglesias, 2015/04/23
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, Peter Maydell, 2015/04/23
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, Edgar E. Iglesias, 2015/04/23
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, Greg Bellows, 2015/04/23
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, Peter Maydell, 2015/04/23
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, Greg Bellows, 2015/04/23
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, Peter Maydell, 2015/04/23
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support, Greg Bellows, 2015/04/23
- Re: [Qemu-devel] [PATCH v2 9/9] target-arm: Add WFx instruction trap support,
Peter Maydell <=
[Qemu-devel] [PATCH v2 8/9] target-arm: Add WFx syndrome function, Greg Bellows, 2015/04/22
Re: [Qemu-devel] [PATCH v2 0/9] target-arm: EL3 trap support, Edgar E. Iglesias, 2015/04/22