]> git.baikalelectronics.ru Git - kernel.git/commit
socfpga: hotplug: put cpu1 in wfi
authorAlan Tull <atull@opensource.altera.com>
Tue, 14 Oct 2014 19:33:38 +0000 (19:33 +0000)
committerArnd Bergmann <arnd@arndb.de>
Thu, 20 Nov 2014 16:00:32 +0000 (17:00 +0100)
commitcca43be2acfb4cd10a1284d79fd326933679f5b7
treed87afcc6c3c644aa6d655bf14e384d2ac2f11b19
parentcf84a7d98be725071fe1613cff80631274e5fb1d
socfpga: hotplug: put cpu1 in wfi

Use WFI when putting CPU1 to sleep.  Don't hold CPU1 in reset
since that results in increased power consumption.

Reset CPU1 briefly during CPU1 bootup.

This has been tested for hotplug and suspend/resume and results
in no increased power consumption.

Signed-off-by: Alan Tull <atull@opensource.altera.com>
Acked-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-socfpga/core.h
arch/arm/mach-socfpga/platsmp.c