From: sashiko-bot@kernel.org
To: "Paul Mbewe" <paultyson.mbewe@ziehl-abegg.de>
Cc: linux-serial@vger.kernel.org
Subject: Re: [PATCH v2 RESEND 2/2] serial: sc16is7xx: reduce TX refill rate with half-FIFO trigger
Date: Wed, 30 Sep 2026 15:06:06 +0000 [thread overview]
Message-ID: <20260930150607.2BAE11F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260930145628.566535-3-paultyson.mbewe@ziehl-abegg.de>
> With the TX trigger set to 8 free spaces, THRI is generated roughly once
> per 8 transmitted bytes. At 115200 baud 8N1, this corresponds to
> approximately 0.7 ms between TX refill events.
>
> Set the TX trigger to 32 free spaces via TLR[3:0]. This makes each refill
> larger and reduces the refill rate by about 4x. At 115200 baud 8N1, the
> refill cadence becomes approximately 2.8 ms.
>
> The trade-off is that the time-to-empty after THRI asserts is reduced
> from 56 to 32 byte times. The fresh-TXLVL refill loop fills the hardware
> TX FIFO strictly below whichever trigger is selected. This patch changes
> only the refill frequency and the associated latency trade-off.
>
> With the two TX gap fixes applied in both configurations, changing the
> trigger from 8 to 32 free spaces produced the following median values
> [ ... ]
> the TCR setup immediately preceding the TLR write.
>
> Reviewed-by: Joachim Knorr <joachim.knorr@ziehl-abegg.de>
> Link: https://lore.kernel.org/linux-serial/20260623112225.82386-3-paultyson.mbewe@ziehl-abegg.de/
> Signed-off-by: Paul Mbewe <paultyson.mbewe@ziehl-abegg.de>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260930145628.566535-1-paultyson.mbewe@ziehl-abegg.de?part=2
prev parent reply other threads:[~2026-09-30 15:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 14:56 [PATCH v2 RESEND 0/2] serial: sc16is7xx: improve TX FIFO refill Paul Mbewe
2026-09-30 14:56 ` [PATCH v2 RESEND 1/2] serial: sc16is7xx: refill TX FIFO below trigger using fresh TXLVL Paul Mbewe
2026-09-30 15:09 ` sashiko-bot
2026-09-30 18:24 ` David Laight
2026-09-30 14:56 ` [PATCH v2 RESEND 2/2] serial: sc16is7xx: reduce TX refill rate with half-FIFO trigger Paul Mbewe
2026-09-30 15:06 ` sashiko-bot [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=20260930150607.2BAE11F00893@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=paultyson.mbewe@ziehl-abegg.de \
--cc=sashiko-reviews@lists.linux.dev \
/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