]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Add infrastructure for error detection and recovery
authorTomer Tayar <tomer.tayar@cavium.com>
Mon, 28 Jan 2019 17:27:55 +0000 (19:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2019 18:58:41 +0000 (10:58 -0800)
commita85237d7a8cb067cd557acd42f52649c8ba6b19d
treeb271e04771c8b662279bda328b35ba0bf4e22bc4
parenta4c83a1866be4856f39dc77dc01d09b4d00b8688
qed: Add infrastructure for error detection and recovery

This patch adds the detection and handling of a parity error ("process kill
event"), including the update of the protocol drivers, and the prevention
of any HW access that will lead to device access towards the host while
recovery is in progress.
It also provides the means for the protocol drivers to trigger a recovery
process on their decision.

Signed-off-by: Tomer Tayar <tomer.tayar@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_hsi.h
drivers/net/ethernet/qlogic/qed/qed_hw.c
drivers/net/ethernet/qlogic/qed/qed_main.c
drivers/net/ethernet/qlogic/qed/qed_mcp.c
drivers/net/ethernet/qlogic/qed/qed_mcp.h
drivers/net/ethernet/qlogic/qed/qed_reg_addr.h
drivers/net/ethernet/qlogic/qed/qed_spq.c
drivers/net/ethernet/qlogic/qed/qed_sriov.c
include/linux/qed/qed_if.h