On 9/20/21 15:14, Philippe Mathieu-Daudé wrote: > On 9/20/21 12:07, Peter Maydell wrote: >> On Thu, 16 Sept 2021 at 16:30, Richard Henderson >> <richard.hender...@linaro.org> wrote: >>> >>> The following changes since commit 57b6f58c1d0df757c9311496c32d502925056894: >>> >>> Merge remote-tracking branch 'remotes/hreitz/tags/pull-block-2021-09-15' >>> into staging (2021-09-15 18:55:59 +0100) >>> >>> are available in the Git repository at: >>> >>> https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20210916 >>> >>> for you to fetch changes up to 50febfe212f24a9b91b4224d03f653415fddf8e1: >>> >>> tcg/mips: Drop special alignment for code_gen_buffer (2021-09-16 09:37:39 >>> -0400) >>> >>> ---------------------------------------------------------------- >>> Restrict cpu_has_work to sysemu, and move to AccelOpsClass. >>> Move cpu_signal_handler declaration out of target/. >>> Misc tcg/mips/ cleanups. >>> >> > >> The 'check-acceptance' job also hits a timeout on the emcraft_sf2 >> test: >> https://gitlab.com/qemu-project/qemu/-/jobs/1604251596 > > cd0d814b4b9b732f11885889070adacf87447751 is the first bad commit > > accel/tcg: Implement AccelOpsClass::has_work() as stub > > Add TCG target-specific has_work() handler in TCGCPUOps, > and add tcg_cpu_has_work() as AccelOpsClass has_work() > implementation.
-- >8 -- diff --git a/accel/tcg/tcg-accel-ops.c b/accel/tcg/tcg-accel-ops.c index ed4ebe735fe..2f96553f6f7 100644 --- a/accel/tcg/tcg-accel-ops.c +++ b/accel/tcg/tcg-accel-ops.c @@ -79,7 +79,7 @@ static bool tcg_cpu_has_work(CPUState *cpu) CPUClass *cc = CPU_GET_CLASS(cpu); if (!cc->tcg_ops->has_work) { - return false; + return true; } return cc->tcg_ops->has_work(cpu); } ---