arm64: secmon: add entry point for turned on CPUs
Newly turned on CPUs need a place to go bring its EL3 state inline with expectations. Plumb this path in for CPUs turning on as well as waking up from a power down state. Some of the infrastructure declarations were moved around for easier consumption in ramstage and secmon. Lastly, a psci_soc_init() is added to inform the SoC of the CPU's entry point as well do any initialization. BUG=chrome-os-partner:32112 BRANCH=None TEST=Built and booted. On entry point not actually utilized. Change-Id: I7b8c8c828ffb73752ca3ac1117cd895a5aa275d8 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/228296 Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
1d8c371c9a
commit
dbefec678a
8 changed files with 117 additions and 36 deletions
|
|
@ -19,6 +19,10 @@
|
|||
|
||||
#include <arch/psci.h>
|
||||
|
||||
void psci_soc_init(uintptr_t cpu_on_entry)
|
||||
{
|
||||
}
|
||||
|
||||
static size_t children_at_level(int parent_level, uint64_t mpidr)
|
||||
{
|
||||
if (mpidr != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue