Message ID | CANqRtoQ9BCPhQPi38vK__61G2yAY=g9s17NG3LhSnrxdOYnkDg@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 08/07/12 23:52, Magnus Damm wrote: > So I finally managed to try this out on my KZM9D board. The SMP bring > up code continues to work as expected, so it seems that SGI0 can be > used instead of SGI1 on EMEV2. Let's just say that the boot protocol > implemented by the mask ROM is rather poorly documented. Anyway, to > test I used the following patch on top of linux git 42a579a. > > --- 0001/arch/arm/mach-shmobile/smp-emev2.c > +++ work/arch/arm/mach-shmobile/smp-emev2.c 2012-08-08 15:42:54.000000000 +0900 > @@ -82,7 +82,7 @@ int __cpuinit emev2_boot_secondary(unsig > /* Tell ROM loader about our vector (in headsmp.S) */ > emev2_set_boot_vector(__pa(shmobile_secondary_vector)); > > - gic_raise_softirq(cpumask_of(cpu), 1); > + gic_raise_softirq(cpumask_of(cpu), 0); > return 0; > } > > So if/where needed, please add my: > > Acked-by: Magnus Damm <damm@opensource.se> > Thanks Magnus, would you be able to merge this through the shmobile tree? Otherwise I can put it in the patch tracker.
On 08/13/12 15:09, Stephen Boyd wrote: > On 08/07/12 23:52, Magnus Damm wrote: >> So I finally managed to try this out on my KZM9D board. The SMP bring >> up code continues to work as expected, so it seems that SGI0 can be >> used instead of SGI1 on EMEV2. Let's just say that the boot protocol >> implemented by the mask ROM is rather poorly documented. Anyway, to >> test I used the following patch on top of linux git 42a579a. >> >> --- 0001/arch/arm/mach-shmobile/smp-emev2.c >> +++ work/arch/arm/mach-shmobile/smp-emev2.c 2012-08-08 15:42:54.000000000 +0900 >> @@ -82,7 +82,7 @@ int __cpuinit emev2_boot_secondary(unsig >> /* Tell ROM loader about our vector (in headsmp.S) */ >> emev2_set_boot_vector(__pa(shmobile_secondary_vector)); >> >> - gic_raise_softirq(cpumask_of(cpu), 1); >> + gic_raise_softirq(cpumask_of(cpu), 0); >> return 0; >> } >> >> So if/where needed, please add my: >> >> Acked-by: Magnus Damm <damm@opensource.se> >> > Thanks Magnus, would you be able to merge this through the shmobile > tree? Otherwise I can put it in the patch tracker. > Ok, I've put it in the patch tracker.
On Thu, Aug 23, 2012 at 4:05 AM, Stephen Boyd <sboyd@codeaurora.org> wrote: > On 08/13/12 15:09, Stephen Boyd wrote: >> On 08/07/12 23:52, Magnus Damm wrote: >>> So I finally managed to try this out on my KZM9D board. The SMP bring >>> up code continues to work as expected, so it seems that SGI0 can be >>> used instead of SGI1 on EMEV2. Let's just say that the boot protocol >>> implemented by the mask ROM is rather poorly documented. Anyway, to >>> test I used the following patch on top of linux git 42a579a. >>> >>> --- 0001/arch/arm/mach-shmobile/smp-emev2.c >>> +++ work/arch/arm/mach-shmobile/smp-emev2.c 2012-08-08 15:42:54.000000000 +0900 >>> @@ -82,7 +82,7 @@ int __cpuinit emev2_boot_secondary(unsig >>> /* Tell ROM loader about our vector (in headsmp.S) */ >>> emev2_set_boot_vector(__pa(shmobile_secondary_vector)); >>> >>> - gic_raise_softirq(cpumask_of(cpu), 1); >>> + gic_raise_softirq(cpumask_of(cpu), 0); >>> return 0; >>> } >>> >>> So if/where needed, please add my: >>> >>> Acked-by: Magnus Damm <damm@opensource.se> >>> >> Thanks Magnus, would you be able to merge this through the shmobile >> tree? Otherwise I can put it in the patch tracker. >> > > Ok, I've put it in the patch tracker. Oh, thanks a lot! We're currently in the middle of rearranging our kernel repository handling so things move a bit slower than usual... Thanks for your help! / magnus
--- 0001/arch/arm/mach-shmobile/smp-emev2.c +++ work/arch/arm/mach-shmobile/smp-emev2.c 2012-08-08 15:42:54.000000000 +0900 @@ -82,7 +82,7 @@ int __cpuinit emev2_boot_secondary(unsig /* Tell ROM loader about our vector (in headsmp.S) */ emev2_set_boot_vector(__pa(shmobile_secondary_vector)); - gic_raise_softirq(cpumask_of(cpu), 1); + gic_raise_softirq(cpumask_of(cpu), 0); return 0; }