History log of /rk3399_rockchip-uboot/arch/arm/cpu/armv8/sleep.S (Results 1 – 3 of 3)
Revision Date Author Comments
# 41372211 10-May-2021 Joseph Chen <chenjh@rock-chips.com>

armv8: sleep.S: fix compile error

LD u-boot
arch/arm/cpu/armv8/built-in.o: In function `cpu_suspend':
arch/arm/cpu/armv8/sleep.S:52:(.text+0x588): relocation truncated to fit: R_AARCH64_ADR_P

armv8: sleep.S: fix compile error

LD u-boot
arch/arm/cpu/armv8/built-in.o: In function `cpu_suspend':
arch/arm/cpu/armv8/sleep.S:52:(.text+0x588): relocation truncated to fit: R_AARCH64_ADR_PREL_LO21 against `.data'
arch/arm/cpu/armv8/built-in.o: In function `cpu_resume':
arch/arm/cpu/armv8/sleep.S:137:(.text+0x654): relocation truncated to fit: R_AARCH64_ADR_PREL_LO21 against `.data'
Makefile:1281: recipe for target 'u-boot' failed
make: *** [u-boot] Error 1

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I19cfbe721ff0482eda66c74aa36e1c28d37da93c

show more ...


# 1cd698ae 10-Feb-2018 Joseph Chen <chenjh@rock-chips.com>

armv8: sleep.S: move data to data section

Change-Id: Ib70cd8afb937882de9a067f3424fc4b6a399a22e
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# d007e796 07-Nov-2017 Joseph Chen <chenjh@rock-chips.com>

arm: armv8: introduce cpu suspend and resume support

Just like linux, it supports cpu save and restore context
during enter and exit low power mode. With this patch, cpu
is able to suspend with core

arm: armv8: introduce cpu suspend and resume support

Just like linux, it supports cpu save and restore context
during enter and exit low power mode. With this patch, cpu
is able to suspend with core power off.

Workflow for trap into ATF for system suspend:
cpu_suspend
-> cpu_do_suspend
-> arch specific fn: int (*fn)(unsigned long)
-> psci_system_suspend(deliver 'cpu_resume()' address to ATF)
-> ATF system suspend
<- ATF system resume
<- cpu_resume
<- cpu_do_resume
next instruction

Notice: If needed, you should remember to save and restore GIC by yourself.

Change-Id: I7a7c4989ba0845f5b6880c55a6ea6c47724c99df
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...