Linux wireless drivers development
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Janderland <janderland@proton.me>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: wifi: rtw89: 8852ce: firmware crash with v0.27.138.1
Date: Mon, 30 Nov 2026 07:43:38 +0000	[thread overview]
Message-ID: <57e439acf2f242658a24218ce0749b43@realtek.com> (raw)
In-Reply-To: <aMbkCjwx2a_a2S2WTeeGSBqtBdcoMBQllfpHQHMj8uNfjhmnLdZWoK8cNQqvMtoOLaUmMfpfa7-kRZmlX7-oE1gF93yUNDgs6-QKPE2AVqM=@proton.me>

[-- Attachment #1: Type: text/plain, Size: 3216 bytes --]

Janderland <janderland@proton.me> wrote:
> Hi,
> After upgrading linux-firmware-realtek from 20261019 to 20261124 on
> Arch Linux, my RTL8852CE (AzureWave subsystem) firmware crashes.
> 
> Kernel: 7.3.6-arch1-1
> Bad firmware: v0.27.138.1
> Good firmware: 0.27.129.4
> 
> Downgrading to 20261019 restores WiFi. It seems stable for more than 24 hours.
> 
> After the downgrade, the card was missing from the PCI bus until I fully removed AC power.
> 
> Relevant dmesg:
> [  903.528421] ieee80211 phy0: Hardware restart was requested
> [  905.806121] rtw89_8852ce 0000:08:00.0: FW status = 0xcb001228
> [  905.806131] rtw89_8852ce 0000:08:00.0: FW BADADDR = 0x0
> [  905.806135] rtw89_8852ce 0000:08:00.0: FW EPC/RA = 0x20148bb2
> [  905.806138] rtw89_8852ce 0000:08:00.0: FW MISC = 0x0
> [  905.806141] rtw89_8852ce 0000:08:00.0: R_AX_HALT_C2H = 0x30000036
> [  905.806144] rtw89_8852ce 0000:08:00.0: R_AX_HALT_C2H_CTRL = 0x0
> [  905.806147] rtw89_8852ce 0000:08:00.0: R_AX_HALT_H2C = 0x0
> [  905.806149] rtw89_8852ce 0000:08:00.0: R_AX_HALT_H2C_CTRL = 0x0
> [  905.806152] rtw89_8852ce 0000:08:00.0: R_AX_SER_DBG_INFO = 0x0
> [  905.806158] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806172] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806185] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806198] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806212] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806225] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806239] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806252] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806266] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806279] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806292] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806306] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806319] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806332] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806346] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806358] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> [  905.853285] rtw89_8852ce 0000:08:00.0: firmware failed to ack for leaving ps mode
> [  905.853288] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> [  905.868084] rtw89_8852ce 0000:08:00.0: c2h reg timeout
> [  905.918397] rtw89_8852ce 0000:08:00.0: rtw89: failed to leave lps state
> [  905.968190] rtw89_8852ce 0000:08:00.0: firmware failed to ack for leaving ps mode
> [  905.968192] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> [  905.982965] rtw89_8852ce 0000:08:00.0: c2h reg timeout
> [  905.982966] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> [  906.033288] rtw89_8852ce 0000:08:00.0: rtw89: failed to leave lps state
> [  906.033290] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> 

[...]

> 
> If there is any other information I can provide, I'd be happy to help.

Please apply attached patch to collect registers 0x518~0x534, and report
the dmesg like above (or full dmesg). 

Ping-Ke


[-- Attachment #2: 0001-RFT-dump-0x518-to-0x534-when-SER.patch --]
[-- Type: application/octet-stream, Size: 1037 bytes --]

From 1526815b6bf5e7d5095f7862f24ece4db1e8f1ef Mon Sep 17 00:00:00 2001
From: Ping-Ke Shih <pkshih@realtek.com>
Date: Mon, 30 Nov 2026 15:34:24 +0800
Subject: [PATCH] [RFT] dump 0x518 to 0x534 when SER

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw89/fw.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/wireless/realtek/rtw89/fw.c b/drivers/net/wireless/realtek/rtw89/fw.c
index 89559454ebe2..8264f18e6842 100644
--- a/drivers/net/wireless/realtek/rtw89/fw.c
+++ b/drivers/net/wireless/realtek/rtw89/fw.c
@@ -9894,6 +9894,10 @@ void rtw89_fw_st_dbg_dump(struct rtw89_dev *rtwdev)
 		return;
 	}
 
+	for (u32 addr = 0x518; addr <= 0x534; addr += 4) {
+		rtw89_info(rtwdev, "0x%x = 0x%08x\n", addr, rtw89_read32(rtwdev, addr));
+	}
+
 	rtw89_info(rtwdev, "FW status = 0x%x\n", rtw89_read32(rtwdev, R_AX_UDM0));
 	rtw89_info(rtwdev, "FW BADADDR = 0x%x\n", rtw89_read32(rtwdev, R_AX_UDM1));
 	rtw89_info(rtwdev, "FW EPC/RA = 0x%x\n", rtw89_read32(rtwdev, R_AX_UDM2));
-- 
2.53.0


      reply	other threads:[~2026-11-30  7:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 17:24 wifi: rtw89: 8852ce: firmware crash with v0.27.138.1 Janderland
2026-11-30  7:43 ` Ping-Ke Shih [this message]

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=57e439acf2f242658a24218ce0749b43@realtek.com \
    --to=pkshih@realtek.com \
    --cc=janderland@proton.me \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox