mbox series

[0/5] wifi: rtw89: 8922a: add SER related stuff

Message ID 20231204080751.15354-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: 8922a: add SER related stuff | expand

Message

Ping-Ke Shih Dec. 4, 2023, 8:07 a.m. UTC
SER (system error recovery) is a mechanism to try to recover WiFi
connection when hardware or firmware gets abnormal. It happens rarely, and
empirically it is hard to reproduce, so try to dump many registers if it
occasionally occurs to prevent debugging back and forth.

The address used by WiFi CPU and its program counter are changed, so
modify them for WiFi 7 chips. Also, driver configure SER interrupt mask
that affects considerations to trigger SER by firmware.

Chia-Yuan Li (1):
  wifi: rtw89: 8922a: dump MAC registers when SER occurs

Ping-Ke Shih (2):
  wifi: rtw89: 8922a: add SER IMR tables
  wifi: rtw89: mac: refine SER setting during WiFi CPU power on

Zong-Zhe Yang (2):
  wifi: rtw89: 8922a: configure CRASH_TRIGGER FW feature
  wifi: rtw89: fw: extend program counter dump for Wi-Fi 7 chip

 drivers/net/wireless/realtek/rtw89/core.h     |   13 +
 drivers/net/wireless/realtek/rtw89/fw.c       |   11 +-
 drivers/net/wireless/realtek/rtw89/fw.h       |    2 -
 drivers/net/wireless/realtek/rtw89/mac.c      |  283 ++-
 drivers/net/wireless/realtek/rtw89/mac.h      |   10 +
 drivers/net/wireless/realtek/rtw89/mac_be.c   |  257 ++-
 drivers/net/wireless/realtek/rtw89/pci.c      |   22 +-
 drivers/net/wireless/realtek/rtw89/pci.h      |    4 +
 drivers/net/wireless/realtek/rtw89/reg.h      | 1708 +++++++++++++++++
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |    2 +
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |    2 +
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |    2 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |    2 +
 drivers/net/wireless/realtek/rtw89/rtw8922a.c |   58 +
 drivers/net/wireless/realtek/rtw89/ser.c      |   10 +-
 15 files changed, 2299 insertions(+), 87 deletions(-)