Message ID | 20191031040830.18800-2-edgar.iglesias@xilinx.com |
---|---|
State | New |
Headers | show |
Series | hw/arm/boot: Rebuild hflags when modifying CPUState at boot | expand |
On 10/31/19 5:08 AM, Edgar E. Iglesias wrote: > Rebuild hflags when modifying CPUState at boot. > > Fixes: e979972a6a > Signed-off-by: Edgar E. Iglesias <edgar.iglesias@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); > } > } > > Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Edgar E. Iglesias <edgar.iglesias@xilinx.com> writes: > Rebuild hflags when modifying CPUState at boot. > > Fixes: e979972a6a > Signed-off-by: Edgar E. Iglesias <edgar.iglesias@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.bennee@linaro.org> > } > } -- Alex Bennée
On 10/31/19 5:08 AM, Edgar E. Iglesias wrote: > Rebuild hflags when modifying CPUState at boot. > > Fixes: e979972a6a > Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Luc Michel <luc.michel@greensocs.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); > } > } > >
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); } }
Rebuild hflags when modifying CPUState at boot. Fixes: e979972a6a Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> --- hw/arm/boot.c | 1 + 1 file changed, 1 insertion(+)