]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: hvcall.h: add H_WATCHDOG opcode, H_NOOP return code
authorScott Cheloha <cheloha@linux.ibm.com>
Wed, 13 Jul 2022 20:23:32 +0000 (15:23 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 20 Jul 2022 11:57:39 +0000 (21:57 +1000)
commit71e8006efde2f6a239d12247f872284e22bbe505
treecdfc37d99bbb375b20f00c8e1f6f890ddc7250f4
parentfa518506d03f7c4a6f6feb096a860d86673581c2
powerpc/pseries: hvcall.h: add H_WATCHDOG opcode, H_NOOP return code

PAPR v2.12 defines a new hypercall, H_WATCHDOG.  The hypercall permits
guest control of one or more virtual watchdog timers.

Add the opcode for the H_WATCHDOG hypercall to hvcall.h.  While here,
add a definition for H_NOOP, a possible return code for H_WATCHDOG.

Signed-off-by: Scott Cheloha <cheloha@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220713202335.1217647-2-cheloha@linux.ibm.com
arch/powerpc/include/asm/hvcall.h