powerpc/eeh: Allow disabling recovery
authorOliver O'Halloran <oohall@gmail.com>
Fri, 15 Feb 2019 00:48:16 +0000 (11:48 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Feb 2019 13:10:14 +0000 (00:10 +1100)
commit6b493f6079a430fd41f66933b68d1bb1ad37ca8c
treecf236747dfbc27239e8c6e6396b9f659455e5f54
parent67060cb1ffa474c4fa1ae4db865ac1c7ed1fa899
powerpc/eeh: Allow disabling recovery

Currently when we detect an error we automatically invoke the EEH recovery
handler. This can be annoying when debugging EEH problems, or when working
on EEH itself so this patch adds a debugfs knob that will prevent a
recovery event from being queued up when an issue is detected.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh.c
arch/powerpc/kernel/eeh_event.c