Re: [PATCH 2/4] irqchip: bcm2836: Add SMP support for the 2836

2016-01-02 Thread Andrea Merello
Agreed. This probably comes from the downstream code, I think.. But I agree it's actually redundant. Thank you for pointing this out. On Sat, Jan 2, 2016 at 11:27 AM, Russell King - ARM Linux wrote: > On Sat, Dec 26, 2015 at 01:47:22PM -0800, Eric Anholt wrote: >> +int __init bcm2836_smp_boot_se

Re: [PATCH 2/4] irqchip: bcm2836: Add SMP support for the 2836

2016-01-02 Thread Russell King - ARM Linux
On Sat, Dec 26, 2015 at 01:47:22PM -0800, Eric Anholt wrote: > +int __init bcm2836_smp_boot_secondary(unsigned int cpu, > + struct task_struct *idle) > +{ > + unsigned long secondary_startup_phys = > + (unsigned long)virt_to_phys((void *)secondary_s

[PATCH 2/4] irqchip: bcm2836: Add SMP support for the 2836

2015-12-26 Thread Eric Anholt
From: Andrea Merello The firmware sets the secondaries spinning waiting for a non-NULL value to show up in the last IPI mailbox. The original SMP port from the downstream tree was done by Andrea, and Eric cleaned it up/rewrote it a few times from there. Signed-off-by: Andrea Merello Signed-off