linux-user: ensure nios2 processes queued work
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 27 Feb 2024 14:43:24 +0000 (14:43 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 28 Feb 2024 09:11:40 +0000 (09:11 +0000)
commitf2e8d2d89954ed3d9603c904aaad1264cf250551
treedafce864b916f075e393008ba9005ebde0534aee
parentc490e681ecce6d035fb67f02c2b674ab62a667f6
linux-user: ensure nios2 processes queued work

While async processes are rare for linux-user we do use them from time
to time. The most obvious one is tb_flush when we run out of
translation space. We will also need this when we move plugin
vcpu_init to an async task.

Fix nios2 to follow its older, wiser and more stable siblings.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240227144335.1196131-19-alex.bennee@linaro.org>
linux-user/nios2/cpu_loop.c