Linux Serial subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Kryštof Černý" <cleverline1mc@gmail.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: [PATCH 2/2] serial: 8250_dw: Select U6_16550A for 64-byte FIFO
Date: Mon, 09 Nov 2026 14:51:54 +0000	[thread overview]
Message-ID: <sashiko-outbox-205133@kernel.org> (raw)
In-Reply-To: <20261109-8250-select-u6-64bit-v1-2-04bc8332fa34@gmail.com>

> From: Kryštof Černý <cleverline1mc@gmail.com>
> 
> DesignWare 8250 ports that describe their FIFO in the CPR register are
> always configured as PORT_16550A, regardless of the FIFO depth. On
> UARTs with a 64-byte FIFO, such as those on the Rockchip RK3328, this
> selects the 16-byte rxtrig_bytes table {1, 4, 8, 14}. The rx_trig_bytes
> sysfs attribute then reports 8 bytes while the hardware triggers at 32,
> and writes to it program the wrong trigger level.
> 
> Select PORT_U6_16550A when the CPR reports a 64-byte FIFO. Generic
> autoconfig already assigns this type to a 16550A with a 64-byte FIFO,
> and its rxtrig_bytes table matches the DesignWare FCR RT encoding.
> 
> The FIFO size, TX load size and capabilities are still taken from the
> CPR, and the default FCR value is the same for both types, so the
> hardware is programmed exactly as before. The port type reported to
> userspace changes from 16550A to U6_16550A.
> 
> Co-developed-by: Miroslav Ondra <ondra@faster.cz>
> Signed-off-by: Miroslav Ondra <ondra@faster.cz>
> Signed-off-by: Kryštof Černý <cleverline1mc@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261109-8250-select-u6-64bit-v1-0-04bc8332fa34@gmail.com?part=2


      reply	other threads:[~2026-11-09 14:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09 14:40 [PATCH 0/2] serial: 8250_dw: Fix RX trigger levels for 64-byte FIFOs Kryštof Černý via B4 Relay
2026-11-09 14:40 ` [PATCH 1/2] serial: 8250: Add RX trigger levels for U6_16550A Kryštof Černý via B4 Relay
2026-11-09 14:52   ` sashiko-bot
2026-11-09 14:55   ` Ilpo Järvinen
2026-11-09 15:37     ` Kryštof Černý
2026-11-09 21:34       ` Andy Shevchenko
2026-11-09 14:41 ` [PATCH 2/2] serial: 8250_dw: Select U6_16550A for 64-byte FIFO Kryštof Černý via B4 Relay
2026-11-09 14:51   ` 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=sashiko-outbox-205133@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=cleverline1mc@gmail.com \
    --cc=linux-serial@vger.kernel.org \
    --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