]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/xmon: Allow passing an argument to ppc_md.restart()
authorOliver O'Halloran <oohall@gmail.com>
Fri, 1 Nov 2019 08:55:21 +0000 (19:55 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jan 2020 10:31:21 +0000 (21:31 +1100)
commitac86a54ad8e5dfc8e2fcb6d47aff48308030d44e
treef42055f64b309101840bf6788d28a16c008cdc6e
parent56bf3ef1bc1240e4f7e8e33ed20459d8008e52b5
powerpc/xmon: Allow passing an argument to ppc_md.restart()

On PowerNV a few different kinds of reboot are supported. We'd like to be
able to exercise these from xmon so allow 'zr' to take an argument, and
pass that to the ppc_md.restart() function.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191101085522.3055-1-oohall@gmail.com
arch/powerpc/xmon/xmon.c