[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Buggy wfi support for ARM user
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] Buggy wfi support for ARM user |
Date: |
Sun, 8 Jun 2008 19:38:00 +0300 |
On 6/8/08, Laurent Desnogues <address@hidden> wrote:
> >> I propose that for user mode this instruction be considered
> >> as a NOP. Any thoughts?
> >
> > Allowing usermode to issue WFI sounds like a bug.
>
> Here is a proposal that makes WFI no-ops for user mode emulation.
> Comments welcome, especially as I am not used to send patches :)
Generally, the config-host.mak part should be suppressed in patches.
I don't know about this WFI case or even much of ARM at all, but if
enabling WFI is controversial, maybe it could be implemented as a CPU
feature so that it is disabled by default.