diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-12-10 14:41:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 11:20:47 +0300 |
commit | f4d1d649d2eaf389b16e9204d71ab0bcf7ceb4e2 (patch) | |
tree | 269cba41f3f97ba1b2c006747c9a043fcb8bac05 /arch/mips/loongson32 | |
parent | 2bf4b03bc3ecb43f7182c88e6c15f3014df6d845 (diff) | |
download | linux-f4d1d649d2eaf389b16e9204d71ab0bcf7ceb4e2.tar.xz |
powerpc/83xx: handle machine check caused by watchdog timer
[ Upstream commit 0deae39cec6dab3a66794f3e9e83ca4dc30080f1 ]
When the watchdog timer is set in interrupt mode, it causes a
machine check when it times out. The purpose of this mode is to
ease debugging, not to crash the kernel and reboot the machine.
This patch implements a special handling for that, in order to not
crash the kernel if the watchdog times out while in interrupt or
within the idle task.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[scottwood: added missing #include]
Signed-off-by: Scott Wood <oss@buserror.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/mips/loongson32')
0 files changed, 0 insertions, 0 deletions