mirror of
https://github.com/opnsense/src.git
synced 2026-05-13 09:44:52 -04:00
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: |
||
|---|---|---|
| .. | ||
| psci.c | ||
| psci.h | ||
| smccc.c | ||
| smccc.h | ||
| smccc_arm.S | ||
| smccc_arm64.S | ||