aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/hypervisor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/hypervisor.h')
-rw-r--r--arch/sparc/include/asm/hypervisor.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/hypervisor.h b/arch/sparc/include/asm/hypervisor.h
index 73cb8978df58..3dc9215d0357 100644
--- a/arch/sparc/include/asm/hypervisor.h
+++ b/arch/sparc/include/asm/hypervisor.h
@@ -298,6 +298,24 @@ unsigned long sun4v_cpu_stop(unsigned long cpuid);
298unsigned long sun4v_cpu_yield(void); 298unsigned long sun4v_cpu_yield(void);
299#endif 299#endif
300 300
301/* cpu_poke()
302 * TRAP: HV_FAST_TRAP
303 * FUNCTION: HV_FAST_CPU_POKE
304 * RET0: status
305 * ERRORS: ENOCPU cpuid refers to a CPU that does not exist
306 * EINVAL cpuid is current CPU
307 *
308 * Poke CPU cpuid. If the target CPU is currently suspended having
309 * invoked the cpu-yield service, that vCPU will be resumed.
310 * Poke interrupts may only be sent to valid, non-local CPUs.
311 * It is not legal to poke the current vCPU.
312 */
313#define HV_FAST_CPU_POKE 0x13
314
315#ifndef __ASSEMBLY__
316unsigned long sun4v_cpu_poke(unsigned long cpuid);
317#endif
318
301/* cpu_qconf() 319/* cpu_qconf()
302 * TRAP: HV_FAST_TRAP 320 * TRAP: HV_FAST_TRAP
303 * FUNCTION: HV_FAST_CPU_QCONF 321 * FUNCTION: HV_FAST_CPU_QCONF