diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2017-09-06 20:54:24 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@nxp.com> | 2017-09-06 20:56:29 +0800 |
commit | ef3f0fc559c355038872549ee2deac32418e42a4 (patch) | |
tree | 532ed304d7b245b28f0238d45e6b737938ca49e1 /tools | |
parent | d52b12729a6c7c54cdd213203742b0e5dea0ae27 (diff) |
i.mx8qm/i.mx8qxp: psci: add power off support
Add system_off pcsi callback to avoid below kernel
message when doing power off:
[11613.953711] reboot: Power down
[11613.958318] systemd-shutdow: 8 output lines suppressed due to ratelimiting
[11613.965285] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00
[11613.965285]
[11613.974441] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 4.9.11-03354-g0e1
[11613.982369] Hardware name: Freescale i.MX8QXP LPDDR4 ARM2 (DT)
[11613.988216] Call trace:
[11613.990681] [<ffff0000080882bc>] dump_backtrace+0x0/0x1a8
[11613.996092] [<ffff000008088478>] show_stack+0x14/0x1c
[11614.001154] [<ffff0000083aaf98>] dump_stack+0x8c/0xac
[11614.006213] [<ffff000008162aac>] panic+0x124/0x28c
[11614.011016] [<ffff0000080c0b20>] complete_and_exit+0x0/0x20
[11614.016600] [<ffff0000080dc6d8>] SyS_reboot+0x168/0x244
[11614.021829] [<ffff000008082ef0>] el0_svc_naked+0x24/0x28
[11614.027153] Kernel Offset: disabled
[11614.030646] Memory Limit: none
[11614.040755] ---[ end Kernel panic - not syncing: Attempted to kill init! exi0
[11614.040755]
As there is no system power off SCFW API available now, so just
simply do wfi and never return when system_off is called.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions