]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(plat/arm/css): add interrupt handler for reboot request
authorPranav Madhu <pranav.madhu@arm.com>
Wed, 27 Jul 2022 07:42:27 +0000 (13:12 +0530)
committerPranav Madhu <pranav.madhu@arm.com>
Thu, 15 Sep 2022 12:39:56 +0000 (18:09 +0530)
commitf1fe1440db197d514b5484e780cfb90f504c62b9
treeac240ce04148006c8bd47f4ebd1e2bd1d4c801c7
parent65bbb9358b986b197a1e098a9ff11df949f9fb05
feat(plat/arm/css): add interrupt handler for reboot request

Add platform specific interrupt handler for handling the reboot of
all CPU's. On shutdown/reboot, only one CPU invoke PSCI and enter into
trusted firmware. The CPU which entered trusted firmware signals the
rest of the cores which are online using SGI to initiate power down
sequence. On receiving the SGI, the handler will power down the
GIC redistributor interface of the respective core, configure the power
control register and power down the CPU by executing wfi.

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

Change-Id: I4917dfdc47be5ce7367bee629486a6344cdd706f
Signed-off-by: Pranav Madhu <pranav.madhu@arm.com>
include/plat/arm/css/common/css_pm.h
plat/arm/css/common/css_pm.c