The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Leonard Lausen <leonard@lausen.nl>
Cc: "Luka Gejak" <luka.gejak@linux.dev>,
	"David Härdeman" <david@hardeman.nu>,
	"Shawn Lin" <shawn.lin@rock-chips.com>,
	"Heiko Stuebner" <heiko@sntech.de>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"linux-rockchip@lists.infradead.org"
	<linux-rockchip@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH rtw-next v3 2/2] wifi: rtw88: sdio: combine free TX page register reads
Date: Tue, 17 Nov 2026 07:09:26 +0000	[thread overview]
Message-ID: <e117bb9cdbb743a4853e16c33d618b50@realtek.com> (raw)
In-Reply-To: <20261116205739.462458-6-leonard@lausen.nl>

Leonard Lausen <leonard@lausen.nl> wrote:
> TX capacity checks on non-8051 chips read three adjacent 32-bit registers
> in separate SDIO requests. Combine them into one 12-byte CMD53 read when
> the existing power/alignment check permits it, with the per-register
> fallback otherwise. Propagate read errors before checking queue capacity.

How much time will this change improve?

> 
> Allocate a DMA-safe buffer at probe and copy its little-endian values
> into the caller's array before releasing the host. Holding the host
> through the read and copy serializes access to the shared buffer.
> 
> Signed-off-by: Leonard Lausen <leonard@lausen.nl>

With description about improvement, 

Acked-by: Ping-Ke Shih <pkshih@realtek.com>


  parent reply	other threads:[~2026-11-17  7:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16 20:57 [PATCH rtw-next v3 0/2] wifi: rtw88: reduce RTL8822CS SDIO request overhead Leonard Lausen
2026-11-16 20:57 ` [PATCH rtw-next v3 1/2] wifi: rtw88: 8822c: filter hardware-handled control frames on SDIO Leonard Lausen
2026-11-17  5:43   ` Luka Gejak
2026-11-17  6:59   ` Ping-Ke Shih
2026-11-16 20:57 ` [PATCH rtw-next v3 2/2] wifi: rtw88: sdio: combine free TX page register reads Leonard Lausen
2026-11-17  5:43   ` Luka Gejak
2026-11-17  7:09   ` Ping-Ke Shih [this message]
2026-11-16 21:46 ` [PATCH rtw-next v3 0/2] wifi: rtw88: reduce RTL8822CS SDIO request overhead Luka Gejak
2026-11-17  0:54   ` 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=e117bb9cdbb743a4853e16c33d618b50@realtek.com \
    --to=pkshih@realtek.com \
    --cc=david@hardeman.nu \
    --cc=heiko@sntech.de \
    --cc=leonard@lausen.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luka.gejak@linux.dev \
    --cc=shawn.lin@rock-chips.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