diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-11-29 15:37:01 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-12-03 22:10:55 -0600 |
commit | 0d84ea6bda03a00a1765dd7240a9e5231a537e96 (patch) | |
tree | f3b3b27baa34392bb77dece570087d871ae71f99 /asm | |
parent | 602c6d44a302aedb02065934ab8db57311261654 (diff) | |
download | skiboot-0d84ea6bda03a00a1765dd7240a9e5231a537e96.zip skiboot-0d84ea6bda03a00a1765dd7240a9e5231a537e96.tar.gz skiboot-0d84ea6bda03a00a1765dd7240a9e5231a537e96.tar.bz2 |
core: Add support for quiescing OPAL
Quiescing is ensuring all host controlled CPUs (except the current
one) are out of OPAL and prevented from entering. This can be use in
debug and shutdown paths, particularly with system reset sequences.
This patch adds per-CPU entry and exit tracking for OPAL calls, and
adds logic to "hold" or "reject" at entry time, if OPAL is quiesced.
An OPAL call is added, to expose the functionality to Linux, where it
can be used for shutdown, kexec, and before generating sreset IPIs for
debugging (so the debug code does not recurse into OPAL).
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
0 files changed, 0 insertions, 0 deletions