MFC r320065: arm: add .arch_extension sec for smc instructionClang 4.0 accepts the smc instruction with or without specifying.arch_extension sec, but Clang 5.0 produces an error without it.Sponsored by: The FreeBSD Foundation
MFC r317361:Call the PSCI reset from cpu_reset on arm64. When rebooting from DDB thekernel calls this directly so the event handler is not called, meaningthe computer fails to reboot.
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.Prune svn:mergeinfo from the new branch, as nothing has been mergedhere.Additional commits post-branch will follow.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Start to support PSCI 1.0. For all the functions we currently support thiscan be seen as the same as 0.2. There are changes with the data passed toCPU_SUSPEND, however we don't yet use this call.Sponsored by: ABT Systems Ltd
Rework the PSCI cpu on code to allow it to work before device drivers havestarted. This allows this functions to be used with the regular ARM SMPinitialisation sequence.
Add psci for arm64. This is currently used when rebooting and powering offin qemu.Sponsored by: The FreeBSD Foundation
Add a driver for the ARM Power State Coordination Interface (PSCI). Thishandles versions 0.1 and 0.2 of the standard on 32-bit ARM.With this driver we can shutdown in QEMU. Further work is needed toturn secondary cores on on boot and to support later revisions of thespecification.Submitted by: Robin Randhawa <Robin.Randhawa at ARM.com>Sponsored by: The FreeBSD Foundation