]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Allow manually invoking special reboots
authorOliver O'Halloran <oohall@gmail.com>
Fri, 1 Nov 2019 08:55:22 +0000 (19:55 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jan 2020 10:31:21 +0000 (21:31 +1100)
commit3c4f7c13184035429b7e91fb34254ca8f77fb1d9
tree1d6460e16d49f4cefe5bd1c1d3aedacbaf7c8325
parentac86a54ad8e5dfc8e2fcb6d47aff48308030d44e
powerpc/powernv: Allow manually invoking special reboots

OPAL provides several different kinds of reboot for the kernel to use,
namely forcing a full reboot, platform error reboot and MPIPL. Right now
triggering the alternative resets requires some ad-hoc method such as
triggering a kernel crash and hoping the stars align. It's sometimes handy
to be able to trigger one of these resets directly, so add a way to do
that.

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-2-oohall@gmail.com
arch/powerpc/platforms/powernv/setup.c