netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Igor Russkikh <irusskikh@marvell.com>
To: <netdev@vger.kernel.org>
Cc: "David S . Miller" <davem@davemloft.net>,
	Ariel Elior <aelior@marvell.com>,
	Michal Kalderon <mkalderon@marvell.com>,
	Denis Bolotin <dbolotin@marvell.com>,
	Igor Russkikh <irusskikh@marvell.com>
Subject: [PATCH net-next 00/12] net: qed/qede: critical hw error handling
Date: Wed, 6 May 2020 14:33:02 +0300	[thread overview]
Message-ID: <cover.1588758463.git.irusskikh@marvell.com> (raw)

FastLinQ devices as a complex systems may observe various hardware
level error conditions, both severe and recoverable.

Driver is able to detect and report this, but so far it only did
trace/dmesg based reporting.

Here we implement an extended hw error detection, service task
handler captures a dump for the later analysis.

I also resubmit a patch from Denis Bolotin on tx timeout handler,
addressing David's comment regarding recovery procedure as an extra
reaction on this event.

Denis Bolotin (1):
  net: qede: Implement ndo_tx_timeout

Igor Russkikh (11):
  net: qed: adding hw_err states and handling
  net: qede: add hw err scheduled handler
  net: qed: invoke err notify on critical areas
  net: qed: critical err reporting to management firmware
  net: qed: cleanup debug related declarations
  net: qed: gather debug data on hw errors
  net: qed: attention clearing properties
  net: qede: optional hw recovery procedure
  net: qed: introduce critical fan failure handler
  net: qed: introduce critical hardware error handler
  net: qed: fix bad formatting

 drivers/net/ethernet/qlogic/qed/qed.h         |  18 +-
 drivers/net/ethernet/qlogic/qed/qed_debug.c   | 102 ++++++-
 drivers/net/ethernet/qlogic/qed/qed_debug.h   |   1 +
 drivers/net/ethernet/qlogic/qed/qed_dev.c     |   4 +-
 drivers/net/ethernet/qlogic/qed/qed_hsi.h     |  49 +++-
 drivers/net/ethernet/qlogic/qed/qed_hw.c      |  42 ++-
 drivers/net/ethernet/qlogic/qed/qed_hw.h      |  15 ++
 drivers/net/ethernet/qlogic/qed/qed_int.c     |  40 ++-
 drivers/net/ethernet/qlogic/qed/qed_int.h     |  11 +
 drivers/net/ethernet/qlogic/qed/qed_main.c    |  35 +++
 drivers/net/ethernet/qlogic/qed/qed_mcp.c     | 254 ++++++++++++++++++
 drivers/net/ethernet/qlogic/qed/qed_mcp.h     |  28 ++
 drivers/net/ethernet/qlogic/qed/qed_spq.c     |  16 +-
 drivers/net/ethernet/qlogic/qede/qede.h       |  14 +-
 .../net/ethernet/qlogic/qede/qede_ethtool.c   |  24 ++
 drivers/net/ethernet/qlogic/qede/qede_main.c  | 150 ++++++++++-
 include/linux/qed/qed_if.h                    |  27 +-
 17 files changed, 784 insertions(+), 46 deletions(-)

-- 
2.25.1


             reply	other threads:[~2020-05-06 11:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06 11:33 Igor Russkikh [this message]
2020-05-06 11:33 ` [PATCH net-next 01/12] net: qed: adding hw_err states and handling Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 02/12] net: qede: add hw err scheduled handler Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 03/12] net: qed: invoke err notify on critical areas Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 04/12] net: qed: critical err reporting to management firmware Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 05/12] net: qed: cleanup debug related declarations Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 06/12] net: qed: gather debug data on hw errors Igor Russkikh
2020-05-06 19:31   ` Jakub Kicinski
2020-05-08  8:00     ` Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 07/12] net: qed: attention clearing properties Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 08/12] net: qede: optional hw recovery procedure Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 09/12] net: qede: Implement ndo_tx_timeout Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 10/12] net: qed: introduce critical fan failure handler Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 11/12] net: qed: introduce critical hardware error handler Igor Russkikh
2020-05-06 11:33 ` [PATCH net-next 12/12] net: qed: fix bad formatting Igor Russkikh

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=cover.1588758463.git.irusskikh@marvell.com \
    --to=irusskikh@marvell.com \
    --cc=aelior@marvell.com \
    --cc=davem@davemloft.net \
    --cc=dbolotin@marvell.com \
    --cc=mkalderon@marvell.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).