]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(scmi): send powerdown request to online secondary cpus
authorPranav Madhu <pranav.madhu@arm.com>
Fri, 22 Jul 2022 18:16:11 +0000 (23:46 +0530)
committerPranav Madhu <pranav.madhu@arm.com>
Thu, 15 Sep 2022 12:39:56 +0000 (18:09 +0530)
commit14a289230918b23b0985e215d38614dc7480bd02
tree9aa9b7975487a4a1adffd706cb5a186e8430bfa0
parentf1fe1440db197d514b5484e780cfb90f504c62b9
feat(scmi): send powerdown request to online secondary cpus

To initiate a reset or reboot, the nonsecure OS invokes the PSCI
SYSTEM_RESET function from any one core. As per the PSCI specification,
it is the responsibility of firmware to implement the system view of
the reset or reboot operation. For the platforms supported by CSS,
trigger the reset/reboot operation by sending an SGI to rest all CPUs
which are online. The CPUs respond to this interrupt by initiating its
powerdown sequence.

In addition to these changes, fix coding style issues that are not
directly related to the code being introduced in this patch.

Change-Id: I547253ee28ef7eefa78180d016893671a406bbfa
Signed-off-by: Pranav Madhu <pranav.madhu@arm.com>
drivers/arm/css/scp/css_pm_scmi.c
plat/arm/css/common/css_common.mk
plat/arm/css/common/sp_min/css_sp_min.mk