mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
fb145456fa
This patch implements the callbacks and functions necessary to have EEH recovery support. It adds a config option to enable or disable explicit calls to trigger platform specific mechanisms on error recovery paths. This option is enabled by default only on PPC64 systems and can be overritten via debugfs. If this option is enabled, on the error recovery path the driver will call pci_channel_offline() to check for error condition and issue non-raw MMIO reads to trigger early EEH detection in case of hardware failures. This is necessary since the driver MMIO helper funtions use raw accessors. Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 lines
436 B
Plaintext
20 lines
436 B
Plaintext
#
|
|
# IBM Accelerator Family 'GenWQE'
|
|
#
|
|
|
|
menuconfig GENWQE
|
|
tristate "GenWQE PCIe Accelerator"
|
|
depends on PCI && 64BIT
|
|
select CRC_ITU_T
|
|
default n
|
|
help
|
|
Enables PCIe card driver for IBM GenWQE accelerators.
|
|
The user-space interface is described in
|
|
include/linux/genwqe/genwqe_card.h.
|
|
|
|
config GENWQE_PLATFORM_ERROR_RECOVERY
|
|
int "Use platform recovery procedures (0=off, 1=on)"
|
|
depends on GENWQE
|
|
default 1 if PPC64
|
|
default 0
|