]> 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)
commitf69081bc6dc9df768b4bafee578dcf62e12e29f2
treed87afcc6c3c644aa6d655bf14e384d2ac2f11b19
parentb5190a322b99f854dff5c652e4eee27e39ba8440
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