Edgar E. Iglesias <edgar.igles...@xilinx.com> writes:

> Rebuild hflags when modifying CPUState at boot.
>
> Fixes: e979972a6a
> Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>
> ---
>  hw/arm/boot.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/hw/arm/boot.c b/hw/arm/boot.c
> index c264864c11..ef6724960c 100644
> --- a/hw/arm/boot.c
> +++ b/hw/arm/boot.c
> @@ -786,6 +786,7 @@ static void do_cpu_reset(void *opaque)
>                  info->secondary_cpu_reset_hook(cpu, info);
>              }
>          }
> +        arm_rebuild_hflags(env);

Do we just get away with armv7m_reset because there is no futzing about
with execution state?

Anyway:

Reviewed-by: Alex Bennée <alex.ben...@linaro.org>

>      }
>  }


--
Alex Bennée

Reply via email to