Re: [Qemu-devel] [PATCH 13/14] target-arm: Don't halt on WFI unless we don't have any work

2015-05-27 Thread Edgar E. Iglesias
On Tue, May 19, 2015 at 07:33:33PM +0100, Peter Maydell wrote: > Just NOP the WFI instruction if we have work to do. > This doesn't make much difference currently (though it does avoid > jumping out to the top level loop and immediately restarting), > but the distinction between "halt" and "don't h

[Qemu-devel] [PATCH 13/14] target-arm: Don't halt on WFI unless we don't have any work

2015-05-19 Thread Peter Maydell
Just NOP the WFI instruction if we have work to do. This doesn't make much difference currently (though it does avoid jumping out to the top level loop and immediately restarting), but the distinction between "halt" and "don't halt" will become more important when the decision to halt requires us t