summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-07-13 09:28:20 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-07-13 09:28:20 +0000
commit89199d0cee75871e125f2f65db06207b4534bb33 (patch)
tree934cf078947e6c5f16e691279a30720bc42ae84f /sbin
parent95d09b7707cea6bb304c296d3d5558983c1449ed (diff)
Implement the fundamentals for suspend/resume on arm64. This uses PSCI
to turn off the secondary CPUs and suspend the primary CPU using the CPU_OFF and SYSTEM_SUSPEND calls. A new "halt" IPI is added to turn off the ssecondary CPUs. This IPI is implemented for the ampintc(4) and agintc(4) interrupt controllers. Fulle suspend/resume support is only implemented for ampintc(4). This is enough to suspend and resume boards based on the Allwinner A64 SoC, provided the necessary wakeup interrupts have been set up (not part of this commit). ok patrick@
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions