From: Ping-Ke Shih <pkshih@realtek.com>
To: Luka Gejak <luka.gejak@linux.dev>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Michael Straube" <straube.linux@gmail.com>,
Bitterblue Smith <rtl8821cerfe2@gmail.com>,
Peter Robinson <pbrobinson@gmail.com>,
"Hans de Goede" <johannes.goede@oss.qualcomm.com>
Subject: RE: [PATCH v8 6/6] wifi: rtw88: sdio: add TX back-pressure and retry on page starvation
Date: Mon, 31 Aug 2026 01:43:31 +0000 [thread overview]
Message-ID: <7f4ad29ef3ab447492fc7467eae8c2d1@realtek.com> (raw)
In-Reply-To: <FCC54106-9CBC-4987-899B-4C7E0C997063@linux.dev>
Luka Gejak <luka.gejak@linux.dev> wrote:
> Hi Ping-Ke,
>
> On August 28, 2026 11:29:29 AM GMT+02:00, Ping-Ke Shih <pkshih@realtek.com> wrote:
>
> > At the last review (I think v9), I will focus on the changes of this
> > patchset doesn't affect existing chips.
>
> That is the right thing to focus on and it is the part I cannot test, so
> let me set out what the other parts actually run, and correct something
> in the v8 cover letter while I am at it.
>
> New code that is not behind rtw_is_8723bs(), all of it structural:
>
> sdio.h struct delayed_work work
> rtw_sdio_init_tx() INIT_DELAYED_WORK(), mutex_init(), and
> mutex_destroy() on its error path
> rtw_sdio_tx_kick_off() mod_delayed_work(..., 0) in place of
> queue_work()
> rtw_sdio_deinit_tx() cancel_delayed_work_sync(), mutex_destroy()
>
> Only this chip ever arms a delay, so on the other parts the work is
> still queued immediately, and only this chip ever takes the mutex.
>
> Two existing functions were also restructured and every chip runs
> through them, so I should not describe the above as the whole story.
> rtw_sdio_process_tx_queue() now returns a value instead of void, and
> rtw_sdio_tx_handler() uses it. The behaviour is meant to be identical
> for the other parts: on an empty queue the new "if (ret > 0) break"
> takes the place of the old skb_queue_empty() break, and on a failed
> write the frame is still requeued and the loop still retries, since
> rtw_sdio_8723bs_reschedule_tx() returns false for anything that is not
> this chip. That is the piece I would most like you to check.
Thanks for the info. For me, I'd check actual patch content in case
something is not expected. That means if you can elaborate patches
without string unnecessary part (something like moving a chunk to
another place to help 'git diff' to generate the patch. This is only
a practice, but I don't specifically point to somewhere your patches
need the changes), it will be helpful to review whether this patchset
affects existing chips.
next prev parent reply other threads:[~2026-08-31 1:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 16:33 [PATCH v8 0/6] wifi: rtw88: preparations for RTL8723B/RTL8723BS luka.gejak
2026-08-25 16:33 ` [PATCH v8 1/6] wifi: rtw88: add the RTL8723B chip type and SDIO helper luka.gejak
2026-08-25 16:33 ` [PATCH v8 2/6] wifi: rtw88: rx: mark zero length packets on RTL8723BS luka.gejak
2026-08-25 16:33 ` [PATCH v8 3/6] wifi: rtw88: tx: extend the TX report purge timeout to RTL8723BS luka.gejak
2026-08-25 16:33 ` [PATCH v8 4/6] wifi: rtw88: sdio: track free TX pages and OQT credits for RTL8723BS luka.gejak
2026-08-28 9:23 ` Ping-Ke Shih
2026-08-28 9:40 ` Luka Gejak
2026-08-31 1:29 ` Ping-Ke Shih
2026-08-25 16:33 ` [PATCH v8 5/6] wifi: rtw88: sdio: set up RX aggregation and interrupts " luka.gejak
2026-08-25 16:33 ` [PATCH v8 6/6] wifi: rtw88: sdio: add TX back-pressure and retry on page starvation luka.gejak
2026-08-28 9:29 ` Ping-Ke Shih
2026-08-28 9:47 ` Luka Gejak
2026-08-31 1:43 ` Ping-Ke Shih [this message]
2026-08-26 17:53 ` [PATCH v8 0/6] wifi: rtw88: preparations for RTL8723B/RTL8723BS Luka Gejak
2026-08-31 2:23 ` Ping-Ke Shih
2026-09-01 13:49 ` Luka Gejak
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=7f4ad29ef3ab447492fc7467eae8c2d1@realtek.com \
--to=pkshih@realtek.com \
--cc=johannes.goede@oss.qualcomm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luka.gejak@linux.dev \
--cc=pbrobinson@gmail.com \
--cc=rtl8821cerfe2@gmail.com \
--cc=straube.linux@gmail.com \
/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