All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: <kvalo@kernel.org>
Cc: <linux-wireless@vger.kernel.org>, <kevin_yang@realtek.com>
Subject: [PATCH 0/8] rtw89: add firmware reset and dump firmware memory and backtrace
Date: Mon, 14 Mar 2022 15:12:42 +0800	[thread overview]
Message-ID: <20220314071250.40292-1-pkshih@realtek.com> (raw)

Add a debugfs entry to trigger firmware reset manually, and then SER
(System Error Recovery) will catch the error and dump memory and backtrace
before calling ieee80211_restart_hw().

During development of this feature, we found some issues related to SER,
so fix them in this patchset as well.

Zong-Zhe Yang (8):
  rtw89: ser: fix CAM leaks occurring in L2 reset
  rtw89: mac: move table of mem base addr to common
  rtw89: mac: correct decision on error status by scenario
  rtw89: ser: control hci interrupts on/off by state
  rtw89: ser: dump memory for fw payload engine while L2 reset
  rtw89: ser: dump fw backtrace while L2 reset
  rtw89: reconstruct fw feature
  rtw89: support FW crash simulation

 drivers/net/wireless/realtek/rtw89/cam.c      |  14 +-
 drivers/net/wireless/realtek/rtw89/core.c     |   5 +-
 drivers/net/wireless/realtek/rtw89/core.h     |  38 ++-
 drivers/net/wireless/realtek/rtw89/debug.c    |  70 +++--
 drivers/net/wireless/realtek/rtw89/fw.c       |  89 ++++++-
 drivers/net/wireless/realtek/rtw89/fw.h       |  23 ++
 drivers/net/wireless/realtek/rtw89/mac.c      |  32 ++-
 drivers/net/wireless/realtek/rtw89/mac.h      |  10 +
 drivers/net/wireless/realtek/rtw89/mac80211.c |   4 +-
 drivers/net/wireless/realtek/rtw89/pci.c      |  29 +++
 drivers/net/wireless/realtek/rtw89/pci.h      |   1 +
 drivers/net/wireless/realtek/rtw89/phy.c      |   2 +-
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |   1 +
 drivers/net/wireless/realtek/rtw89/ser.c      | 245 +++++++++++++++++-
 14 files changed, 516 insertions(+), 47 deletions(-)

-- 
2.25.1


             reply	other threads:[~2022-03-14  7:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14  7:12 Ping-Ke Shih [this message]
2022-03-14  7:12 ` [PATCH 1/8] rtw89: ser: fix CAM leaks occurring in L2 reset Ping-Ke Shih
2022-04-06  7:46   ` Kalle Valo
2022-03-14  7:12 ` [PATCH 2/8] rtw89: mac: move table of mem base addr to common Ping-Ke Shih
2022-03-14  7:12 ` [PATCH 3/8] rtw89: mac: correct decision on error status by scenario Ping-Ke Shih
2022-03-14  7:12 ` [PATCH 4/8] rtw89: ser: control hci interrupts on/off by state Ping-Ke Shih
2022-03-14  7:12 ` [PATCH 5/8] rtw89: ser: dump memory for fw payload engine while L2 reset Ping-Ke Shih
2022-03-14  7:12 ` [PATCH 6/8] rtw89: ser: dump fw backtrace " Ping-Ke Shih
2022-03-14  7:12 ` [PATCH 7/8] rtw89: reconstruct fw feature Ping-Ke Shih
2022-03-14  7:12 ` [PATCH 8/8] rtw89: support FW crash simulation Ping-Ke Shih

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=20220314071250.40292-1-pkshih@realtek.com \
    --to=pkshih@realtek.com \
    --cc=kevin_yang@realtek.com \
    --cc=kvalo@kernel.org \
    --cc=linux-wireless@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.