OSDN Git Service

ARM: shmobile: r8a7779: Stop powering down secondary CPUs during early boot
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 30 May 2018 15:25:12 +0000 (17:25 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Jun 2018 10:00:26 +0000 (12:00 +0200)
commit62f55ce683e3675aa83cc3e912f070aef1baeff8
tree11287c77846051c863f378af34504bf300052e90
parent319b15df66f931544dace69eb6465fc0a6e05797
ARM: shmobile: r8a7779: Stop powering down secondary CPUs during early boot

At .smp_prepare_cpus() time, CPUs 1-3 are still powered down:
  - The bootloader doesn't enable CPUs 1-3,
  - Non-boot CPUs are disabled by kexec before starting the new kernel.

Hence there is no need to try to power them down again, as it will fail
silently with -EIO anyway.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/smp-r8a7779.c