All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Kalderon <michal.kalderon@cavium.com>
To: <michal.kalderon@cavium.com>, <ariel.elior@cavium.com>,
	<davem@davemloft.net>
Cc: <netdev@vger.kernel.org>
Subject: [PATCH net-next 0/3] qed*: Error recovery process
Date: Sun, 20 Jan 2019 11:36:36 +0200	[thread overview]
Message-ID: <20190120093639.11781-1-michal.kalderon@cavium.com> (raw)

Parity errors might happen in the device's memories due to momentary bit
flips which are caused by radiation.
Errors that are not correctable initiate a process kill event, which blocks
the device access towards the host and the network, and a recovery process
is started in the management FW and in the driver.

This series adds the support of this process in the qed core module and in
the qede driver (patches 2 & 3).
Patch 1 in the series revises the load sequence, to avoid PCI errors that
might be observed during a recovery process.

Tomer Tayar (3):
  qed: Revise load sequence to avoid PCI errors
  qed: Add infrastructure for error detection and recovery
  qede: Error recovery process

 drivers/net/ethernet/qlogic/qed/qed.h          |   5 +-
 drivers/net/ethernet/qlogic/qed/qed_dev.c      | 158 +++++++------
 drivers/net/ethernet/qlogic/qed/qed_dev_api.h  |  12 +
 drivers/net/ethernet/qlogic/qed/qed_hsi.h      |   2 +-
 drivers/net/ethernet/qlogic/qed/qed_hw.c       |  11 +
 drivers/net/ethernet/qlogic/qed/qed_int.c      | 126 ++++++-----
 drivers/net/ethernet/qlogic/qed/qed_int.h      |   3 +
 drivers/net/ethernet/qlogic/qed/qed_main.c     |  30 +++
 drivers/net/ethernet/qlogic/qed/qed_mcp.c      | 115 ++++++++++
 drivers/net/ethernet/qlogic/qed/qed_mcp.h      |  42 ++++
 drivers/net/ethernet/qlogic/qed/qed_reg_addr.h |   2 +
 drivers/net/ethernet/qlogic/qed/qed_spq.c      |  22 ++
 drivers/net/ethernet/qlogic/qed/qed_sriov.c    |   9 +-
 drivers/net/ethernet/qlogic/qede/qede.h        |   3 +
 drivers/net/ethernet/qlogic/qede/qede_main.c   | 300 ++++++++++++++++++++-----
 drivers/net/ethernet/qlogic/qede/qede_rdma.c   |  64 ++++--
 include/linux/qed/qed_if.h                     |  20 ++
 include/linux/qed/qede_rdma.h                  |  21 +-
 18 files changed, 743 insertions(+), 202 deletions(-)

-- 
1.8.3.1


             reply	other threads:[~2019-01-20  9:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-20  9:36 Michal Kalderon [this message]
2019-01-20  9:36 ` [PATCH net-next 1/3] qed: Revise load sequence to avoid PCI errors Michal Kalderon
2019-01-20  9:36 ` [PATCH net-next 2/3] qed: Add infrastructure for error detection and recovery Michal Kalderon
2019-01-20  9:36 ` [PATCH net-next 3/3] qede: Error recovery process Michal Kalderon
2019-01-23  1:37 ` [PATCH net-next 0/3] qed*: " David Miller
2019-01-27 13:42   ` Michal Kalderon
2019-01-27 18:17     ` David Miller
2019-01-27 18:57       ` [EXT] " Michal Kalderon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190120093639.11781-1-michal.kalderon@cavium.com \
    --to=michal.kalderon@cavium.com \
    --cc=ariel.elior@cavium.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.