Skip to content

socfpga: fix hotplug/add suspend to ram

[email protected] linux-arm-kernel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesIn review
  2. v22 patches 5 repliesSuperseded
  3. v12 patches 16 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2socfpga: hotplug: put cpu1 in wfiarch/arm/mach-socfpga/core.h arch/arm/mach-socfpga/platsmp.c+14 -81 reply
2/2socfpga: support suspend to ramarch/arm/mach-socfpga/Kconfig arch/arm/mach-socfpga/Makefile arch/arm/mach-socfpga/core.h +3 more+323 -03 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPavel Machek
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] socfpga: fix hotplug/add suspend to ram

From: Alan Tull <[email protected]>

Patch 1: 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. Only briefly reset CPU1.

Patch 2: socfpga: support suspend to ram
* allocate space in ocram using sram driver
* Add a function in ocram to do suspend to ram and place DDR in self-refresh

Alan Tull (2):
socfpga: hotplug: put cpu1 in wfi
socfpga: support suspend to ram

 arch/arm/mach-socfpga/Kconfig        |    1 +
 arch/arm/mach-socfpga/Makefile       |    1 +
 arch/arm/mach-socfpga/core.h         |    7 ++
 arch/arm/mach-socfpga/platsmp.c      |   19 ++--
 arch/arm/mach-socfpga/pm.c           |  150 ++++++++++++++++++++++++++++++++
 arch/arm/mach-socfpga/self-refresh.S |  157 ++++++++++++++++++++++++++++++++++
 arch/arm/mach-socfpga/socfpga.c      |   10 +++
 7 files changed, 337 insertions(+), 8 deletions(-)
 create mode 100644 arch/arm/mach-socfpga/pm.c
 create mode 100644 arch/arm/mach-socfpga/self-refresh.S
Signature · 1 line
1.7.9.5