]> asedeno.scripts.mit.edu Git - linux.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)
commit37f6f8e88caef5f69774b82117ca35bdc4a985d8
tree1d6460e16d49f4cefe5bd1c1d3aedacbaf7c8325
parent2d9b332d99b24f27f77e9ba38ce3c8beb11a81c0
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