opnsense-src/sys/dev/psci
Kyle Evans 4a7fe8305e psci: set psci_present as early as possible
psci_attach is way too late to provide the intended semantics for
psci_present.  psci calls can be made immediately after psci_init(),
called way earlier at SI_SUB_CPU + SI_ORDER_FIRST, and we need it to
be valid as early as we can possibly call a psci function.

This fixes booting RPi3+4 with the in-review spintable patch;
rpi3-psci-monitor patches the FDT to add a PSCI node, but it doesn't
patch each cpus' enable-method.  Because of this, we would stall the
boot while enabling CPU 1 as we saw a valid looking enable-method and
"no" functional PSCI and attempted to use the spintable rather than
simply not starting secondary APs.

Fixes:	2218070b2c ("psci: finish psci_present implementation")
Reported by:	karels

(cherry picked from commit 866beaa0aa)
2022-11-01 23:11:09 -05:00
..
psci.c psci: set psci_present as early as possible 2022-11-01 23:11:09 -05:00
psci.h psci: finish psci_present implementation 2022-04-24 19:06:23 -05:00
smccc.c Use int for the pcpu_ssbd argument. This is included from userland and may 2018-07-31 15:08:02 +00:00
smccc.h Add generic arm/arm64 secure-monitor SMCCC interface and switch 2019-09-13 15:56:33 +00:00
smccc_arm.S Merge the common parts of the SMCCC handlers 2022-09-21 10:45:52 +01:00
smccc_arm64.S Merge the common parts of the SMCCC handlers 2022-09-21 10:45:52 +01:00