diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-05-30 17:25:12 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-06-18 12:00:26 +0200 |
commit | 62f55ce683e3675aa83cc3e912f070aef1baeff8 (patch) | |
tree | 11287c77846051c863f378af34504bf300052e90 /arch/arm/mach-shmobile | |
parent | 319b15df66f931544dace69eb6465fc0a6e05797 (diff) | |
download | linux-62f55ce683e3675aa83cc3e912f070aef1baeff8.tar.gz linux-62f55ce683e3675aa83cc3e912f070aef1baeff8.tar.bz2 linux-62f55ce683e3675aa83cc3e912f070aef1baeff8.zip |
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>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/smp-r8a7779.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-shmobile/smp-r8a7779.c b/arch/arm/mach-shmobile/smp-r8a7779.c index c6951ee24588..ff1e6fc0b861 100644 --- a/arch/arm/mach-shmobile/smp-r8a7779.c +++ b/arch/arm/mach-shmobile/smp-r8a7779.c @@ -97,11 +97,6 @@ static void __init r8a7779_smp_prepare_cpus(unsigned int max_cpus) shmobile_smp_scu_prepare_cpus(R8A7779_SCU_BASE, max_cpus); r8a7779_pm_init(); - - /* power off secondary CPUs */ - r8a7779_platform_cpu_kill(1); - r8a7779_platform_cpu_kill(2); - r8a7779_platform_cpu_kill(3); } #ifdef CONFIG_HOTPLUG_CPU |