qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH] target/aarch64: exit to main loop after handling


From: Richard Henderson
Subject: Re: [Qemu-arm] [PATCH] target/aarch64: exit to main loop after handling MSR
Date: Tue, 13 Jun 2017 21:48:17 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 06/13/2017 03:53 PM, Emilio G. Cota wrote:
The appended fixes it for me. Can you please test?
[ apply with `git am --scissors' ]

Thanks,

                Emilio

---- 8< ----

Commit e75449a3 ("target/aarch64: optimize indirect branches") causes
a regression by which aarch64 guests freeze under TCG with -smp > 1,
even with `-accel accel=tcg,thread=single' (i.e. MTTCG disabled).

I isolated the problem to the MSR handler. This patch forces an exit
after the handler is executed, which fixes the regression.

Why would that be? The cpu_get_tb_cpu_state within helper_lookup_tb_ptr is supposed to read the new state that the msr handler would have installed.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]