OSDN Git Service

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)
commit2d9b332d99b24f27f77e9ba38ce3c8beb11a81c0
treef42055f64b309101840bf6788d28a16c008cdc6e
parent846a17a53aeeee426cbc1252f517a6660eab1427
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