diff options
author | Nicholas Piggin | 2016-12-05 06:50:21 +0100 |
---|---|---|
committer | David Gibson | 2017-01-31 00:10:13 +0100 |
commit | 1c7ad77e56767fb36a7ccc954d304d4ac768b374 (patch) | |
tree | a60a3527dad7b6ad2c8f8425e8247f644158e562 /spice-qemu-char.c | |
parent | ppc: Rename cpu_version to compat_pvr (diff) | |
download | qemu-1c7ad77e56767fb36a7ccc954d304d4ac768b374.tar.gz qemu-1c7ad77e56767fb36a7ccc954d304d4ac768b374.tar.xz qemu-1c7ad77e56767fb36a7ccc954d304d4ac768b374.zip |
ppc/spapr: implement H_SIGNAL_SYS_RESET
The H_SIGNAL_SYS_RESET hcall allows a guest CPU to raise a system reset
exception on CPUs within the same guest -- all CPUs, all-but-self, or a
specific CPU (including self).
This has not made its way to a PAPR release yet, but we have an hcall
number assigned.
H_SIGNAL_SYS_RESET = 0x380
Syntax:
hcall(uint64 H_SIGNAL_SYS_RESET, int64 target);
Generate a system reset NMI on the threads indicated by target.
Values for target:
-1 = target all online threads including the caller
-2 = target all online threads except for the caller
All other negative values: reserved
Positive values: The thread to be targeted, obtained from the value
of the "ibm,ppc-interrupt-server#s" property of the CPU in the OF
device tree.
Semantics:
- Invalid target: return H_Parameter.
- Otherwise: Generate a system reset NMI on target thread(s),
return H_Success.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'spice-qemu-char.c')
0 files changed, 0 insertions, 0 deletions