This machine modifies the CPU state when simulating suspend mode. This commit adds a missing call to arm_rebuild_hflags after those modifications.
Signed-off-by: Luc Michel <luc.mic...@greensocs.com> --- I came over this missing hflags rebuild while reviewing Edgar's similar fix in hw/arm/boot.c. I could not find any other place where it would be missing but I may be wrong. --- hw/arm/pxa2xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/arm/pxa2xx.c b/hw/arm/pxa2xx.c index cdafde2f76..7982ffbfbe 100644 --- a/hw/arm/pxa2xx.c +++ b/hw/arm/pxa2xx.c @@ -306,6 +306,8 @@ static void pxa2xx_pwrmode_write(CPUARMState *env, const ARMCPRegInfo *ri, cpu_physical_memory_write(8, &buffer, 4); #endif + arm_rebuild_hflags(s->cpu->env); + /* Suspend */ cpu_interrupt(current_cpu, CPU_INTERRUPT_HALT); -- 2.23.0