From: Francesco Lavra <flavra@baylibre.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>,
Kartik Rajput <kkartik@nvidia.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
Robert Marko <robert.marko@sartura.hr>,
Thierry Bultel <thierry.bultel.yh@bp.renesas.com>,
Douglas Anderson <dianders@chromium.org>,
linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org
Subject: Re: [PATCH] serial: tegra: remove Kconfig dependency on APB DMA controller
Date: Wed, 26 Nov 2025 17:45:25 +0100 [thread overview]
Message-ID: <97d8026590edd4911eb03d775b10f14ecc60ba6e.camel@baylibre.com> (raw)
In-Reply-To: <aScp6mooEKUkBkA6@smile.fi.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1759 bytes --]
On Wed, 2025-11-26 at 18:25 +0200, Andy Shevchenko wrote:
> On Wed, Nov 26, 2025 at 01:08:23PM +0100, Francesco Lavra wrote:
> > On Wed, 2025-11-26 at 13:20 +0200, Andy Shevchenko wrote:
> > > On Wed, Nov 26, 2025 at 10:07:59AM +0100, Francesco Lavra wrote:
>
> ...
>
> > > > help
> > > > Support for the on-chip UARTs on the NVIDIA Tegra series
> > > > SOCs
> > > > providing /dev/ttyTHS0, 1, 2, 3 and 4 (note, some
> > > > machines
> > > > may not
> > > > provide all of these ports, depending on how the serial
> > > > port
> > > > - are enabled). This driver uses the APB DMA to achieve
> > > > higher
> > > > baudrate
> > > > - and better performance.
> > > > + are enabled).
> > >
> > > I think this removes a good piece of information. Perhaps rephrase?
> > >
> > > This driver may use the APB DMA when available to achieve
> > > higher baudrate and better performance.
> >
> > I think this sentence would make it sound like the driver performs
> > better
> > if the APB DMA controller is available, but in reality the driver just
> > uses
> > the generic DMA API like most serial drivers, and there is nothing APB-
> > specific in it. If another DMA controller (e.g. GPC on Tegra234) is
> > available instead of the APB one, the serial peripheral will be just as
> > fast.
>
> OK. But this is not the case for Tegra234? Or is it and it uses DMA for
> UART?
Yes, that is the case, Tegra234 has just a different DMA controller
(TEGRA186_GPC_DMA), which is used by the UART driver as long as the
relevant device tree node properties are in place.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2025-11-26 16:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 9:07 Francesco Lavra
2025-11-26 11:20 ` Andy Shevchenko
2025-11-26 12:08 ` Francesco Lavra
2025-11-26 16:25 ` Andy Shevchenko
2025-11-26 16:45 ` Francesco Lavra [this message]
2025-11-26 17:44 ` Andy Shevchenko
2026-02-25 11:35 ` Francesco Lavra
2026-03-12 13:43 ` Greg Kroah-Hartman
2026-03-13 7:56 ` Francesco Lavra
2026-02-26 10:04 ` Jon Hunter
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=97d8026590edd4911eb03d775b10f14ecc60ba6e.camel@baylibre.com \
--to=flavra@baylibre.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=dianders@chromium.org \
--cc=geert+renesas@glider.be \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=kkartik@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=robert.marko@sartura.hr \
--cc=thierry.bultel.yh@bp.renesas.com \
--cc=wsa+renesas@sang-engineering.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
all inboxes | Powered by JetHome®