From: Ping-Ke Shih <pkshih@realtek.com>
To: "Lukas F. Hartmann" <lukas@mntre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"jernej.skrabec@gmail.com" <jernej.skrabec@gmail.com>,
"ulf.hansson@linaro.org" <ulf.hansson@linaro.org>,
"kvalo@kernel.org" <kvalo@kernel.org>,
"tony0620emma@gmail.com" <tony0620emma@gmail.com>
Subject: RE: [PATCH] wifi: rtw88: sdio: Honor the host max_req_size in the RX path
Date: Fri, 14 Jul 2023 00:34:14 +0000 [thread overview]
Message-ID: <208ee32354b44205bb76a55c0d4bc93b@realtek.com> (raw)
In-Reply-To: <87pm4w3rjp.fsf@mntre.com>
> -----Original Message-----
> From: Lukas F. Hartmann <lukas@mntre.com>
> Sent: Thursday, July 13, 2023 8:49 PM
> To: Ping-Ke Shih <pkshih@realtek.com>; Martin Blumenstingl <martin.blumenstingl@googlemail.com>;
> linux-wireless@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org; jernej.skrabec@gmail.com; ulf.hansson@linaro.org; kvalo@kernel.org;
> tony0620emma@gmail.com
> Subject: RE: [PATCH] wifi: rtw88: sdio: Honor the host max_req_size in the RX path
>
> Hi,
>
> Ping-Ke Shih <pkshih@realtek.com> writes:
>
> > I assume your conclusion is correct for all platforms, so I add my reviewed-by.
> > But, I think it would be better that Lukas can help to test this patch on his
> > platform, and give a tested-by tag before getting this patch merged.
>
> I have been testing this now more rigorously in my own laptop with
> Kernel 6.4.1 (from Debian experimental) and this patch applied. I first
> had issues with rtw_power_mode_change (and "firmware failed to leave lps
> state"), so I turned off power_save using iw. This made everything
> quiet, but unfortunately after about 1 hour of usage I get
> skb_over_panic again and I believe some memory corruption happens in the
> kernel, as I can do dmesg only once and then another dmesg will hang forever.
> (After WARNING: CPU: 4 PID: 0 at kernel/context_tracking.c:128
> ct_kernel_exit.constprop.0+0xa0/0xa8)
>
> Here are the errors that lead up to this:
> http://dump.mntmn.com/rtw88-failure-1h-dmesg.txt
Hi Martin,
The dmesg shows that
"rtw_8822cs mmc2:0001:1: Failed to read 1536 byte(s) from SDIO port 0x000000d1"
Shouldn't we return an error code (with proper error handling) instead of
just break the loop? Because 'buf' content isn't usable.
I wonder the approach of this patch is still not enough for Lukas' platform.
Ping-Ke
next prev parent reply other threads:[~2023-07-14 0:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-09 19:57 [PATCH] wifi: rtw88: sdio: Honor the host max_req_size in the RX path Martin Blumenstingl
2023-07-10 0:36 ` Ping-Ke Shih
[not found] ` <87pm4w3rjp.fsf@mntre.com>
2023-07-14 0:34 ` Ping-Ke Shih [this message]
2023-07-26 17:37 ` Martin Blumenstingl
2023-07-27 1:44 ` Ping-Ke Shih
2023-08-01 14:11 ` Kalle Valo
2023-08-02 0:27 ` 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=208ee32354b44205bb76a55c0d4bc93b@realtek.com \
--to=pkshih@realtek.com \
--cc=jernej.skrabec@gmail.com \
--cc=kvalo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lukas@mntre.com \
--cc=martin.blumenstingl@googlemail.com \
--cc=tony0620emma@gmail.com \
--cc=ulf.hansson@linaro.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