Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/arm



Module Name:    src
Committed By:   jmcneill
Date:           Fri May 15 22:44:58 UTC 2026

Modified Files:
        src/sys/arch/arm/arm: psci.c psci.h
        src/sys/arch/arm/fdt: acpi_fdt.c psci_fdt.c

Log Message:
psci: ensure cores are in a known state before SYSTEM_OFF

The PSCI spec says that the caller must place all cores in a known state
prior to calling SYSTEM_OFF.

It doesn't really specify what a "known state" is, but it does suggest
that one way to do this is to call CPU_OFF on all other cores. So let's
do that.

This has the nice side effect of workaround around a heartbeat timeout
when attempting to power down a system with firmware that doesn't return
from a SYSTEM_OFF call but does not actually know how to power off the
system (like Rockchip's secure firmware on RK356x based boards).


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/arm/psci.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/arm/psci.h
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/arm/fdt/acpi_fdt.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/fdt/psci_fdt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index