]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: shmobile: Extend APMU code to allow single cluster only
authorMagnus Damm <damm@opensource.se>
Sat, 14 Sep 2013 15:29:07 +0000 (00:29 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 30 Sep 2013 08:56:11 +0000 (17:56 +0900)
commitee490bcc4f2d456c40df93236cf6a1bce2d5ddd0
tree7dfca475fa3fe97061d64d2f9095b8d934278381
parente4550216ef8245b1c9892239a2121a7b15ac2e91
ARM: shmobile: Extend APMU code to allow single cluster only

Extend the APMU code with a check to only allow boot
of CPU cores that sit in the same cluster as CPU0.

This makes it possible for people to use the r8a790
CA7 boot mode with CA7-cores only. The default CA15
boot mode will enable CA15 cores only. This is an
intentional software limitation to cope with lacking
scheduler support.

By removing this patch it is possible to run all 8 cores
in parallel, but this is not recommended without out of tree
scheduler modfications or custom user space code to control
the CPU affinitiy.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/platsmp-apmu.c