summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-actions/platsmp.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: owl: smp: Drop owl_secondary_boot()Andreas Färber2017-09-201-1/+1
| | | | | | | | | | | | | | | Commit 18cfd9429d8a82c49add8f3ca9d366599bfcac45 simplified the S500 SMP code by removing a loop for pen_release in owl_secondary_boot(). Since then it is only calling owl_v7_invalidate_l1() before branching to secondary_startup(). The owl_v7_invalidate_l1() assembler function is superfluous, too. Therefore drop owl_secondary_boot() and use secondary_boot() directly. Fixes: 18cfd9429d8a ("ARM: owl: smp: Drop bogus holding pen") Cc: David Liu <liuwei@actions-semi.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
* ARM: owl: smp: Use __pa_symbol()Andreas Färber2017-09-201-1/+1
| | | | | | | | | | | Replace an occurrence of virt_to_phys() with __pa_symbol() macro. See 64fc2a947a9873700929ec0ef02b4654a04e0476 ("ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol"). Fixes: 172067e0bc87 ("ARM: owl: Implement CPU enable-method for S500") Reported-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
* ARM: owl: smp: Drop bogus holding penAndreas Färber2017-07-031-28/+1
| | | | | | | | | | | The S500 SoC can start secondary CPUs without busy-looping for pen_release, so simplify the SMP code compared to the LeMaker kernel tree. Fixes: 172067e0bc87 ("ARM: owl: Implement CPU enable-method for S500") Suggested-by: Arnd Bergmann <arnd@arndb.de> Cc: David Liu <liuwei@actions-semi.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* ARM: owl: smp: Implement SPS power-gating for CPU2 and CPU3Andreas Färber2017-06-231-2/+34
| | | | | | Bring up the two remaining CPUs by calling into PM domain code. Signed-off-by: Andreas Färber <afaerber@suse.de>
* ARM: owl: Implement CPU enable-method for S500Andreas Färber2017-06-211-0/+166
Allow to bring up CPU1. Based on LeMaker linux-actions tree. Signed-off-by: Andreas Färber <afaerber@suse.de>
OpenPOWER on IntegriCloud