Message ID | 1525176522-200354-5-git-send-email-imammedo@redhat.com |
---|---|
State | New |
Headers | show |
Series | arm: isolate and clean up dtb generation | expand |
On 1 May 2018 at 13:08, Igor Mammedov <imammedo@redhat.com> wrote: > even though nothing is currently broken, make sure that boot_info > is set on all CPUs. > > Ref: > "Message-ID: <CAFEAcA_NMWuA8WSs3cNeY6xX1kerO_uAcN_3=fK02BEhHJW86g@mail.gmail.com>" Can you include the rationale in the commit message rather than just pointing to a message-id, please? > > Signed-off-by: Igor Mammedov <imammedo@redhat.com> > -- Otherwise Reviewed-by: Peter Maydell <peter.maydell@linaro.org> thanks -- PMM
On Tue, 1 May 2018 13:19:12 +0100 Peter Maydell <peter.maydell@linaro.org> wrote: > On 1 May 2018 at 13:08, Igor Mammedov <imammedo@redhat.com> wrote: > > even though nothing is currently broken, make sure that boot_info > > is set on all CPUs. > > > > Ref: > > "Message-ID: <CAFEAcA_NMWuA8WSs3cNeY6xX1kerO_uAcN_3=fK02BEhHJW86g@mail.gmail.com>" > > Can you include the rationale in the commit message rather > than just pointing to a message-id, please? sure, I'll post it reply here. BTW: I'm expecting this being merged through ARM tree > > > > Signed-off-by: Igor Mammedov <imammedo@redhat.com> > > -- > > Otherwise > Reviewed-by: Peter Maydell <peter.maydell@linaro.org> > > thanks > -- PMM
diff --git a/hw/arm/boot.c b/hw/arm/boot.c index ad71dd4..144abbd 100644 --- a/hw/arm/boot.c +++ b/hw/arm/boot.c @@ -1139,7 +1139,7 @@ void arm_load_kernel(ARMCPU *cpu, struct arm_boot_info *info) } info->is_linux = is_linux; - for (cs = CPU(cpu); cs; cs = CPU_NEXT(cs)) { + for (cs = first_cpu; cs; cs = CPU_NEXT(cs)) { ARM_CPU(cs)->env.boot_info = info; }
even though nothing is currently broken, make sure that boot_info is set on all CPUs. Ref: "Message-ID: <CAFEAcA_NMWuA8WSs3cNeY6xX1kerO_uAcN_3=fK02BEhHJW86g@mail.gmail.com>" Signed-off-by: Igor Mammedov <imammedo@redhat.com> --- hw/arm/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)