From: Quentin Schulz <quentin.schulz@cherry.de>
To: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>,
linux-arm-kernel@lists.infradead.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: rockchip: Disable DMA for uart5 on px30-ringneck
Date: Tue, 21 Jan 2025 10:41:42 +0100 [thread overview]
Message-ID: <2be46f44-6c81-417b-b0b9-7325cb0f7c10@cherry.de> (raw)
In-Reply-To: <20250121092255.3108495-3-lukasz.czechowski@thaumatec.com>
Hi Lukasz,
On 1/21/25 10:22 AM, Lukasz Czechowski wrote:
> UART controllers without flow control seem to behave unstable
> in case DMA is enabled. The issues were indicated in the message:
> https://lore.kernel.org/linux-arm-kernel/CAMdYzYpXtMocCtCpZLU_xuWmOp2Ja_v0Aj0e6YFNRA-yV7u14g@mail.gmail.com/
> In case of PX30-uQ7 Ringneck SoM, it was noticed that after couple
> of hours of UART communication, the CPU stall was occurring,
> leading to the system becoming unresponsive.
> After disabling the DMA, extensive UART communication tests for
> up to two weeks were performed, and no issues were further
> observed.
> The flow control pins for uart5 are not available on PX30-uQ7
> Ringneck, as configured by pinctrl-0, so the DMA nodes were
> removed on SoM dtsi.
>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
We should backport this to stable releases too, so please follow the
instructions from here:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#select-the-recipients-for-your-patch
Essentially:
Cc: stable@vger.kernel.org
in the commit log and we'll need a
Fixes: <commit hash>
trailer as well with the commit hash of the commit introducing the issue
(likely the one defining uart5 for Ringneck for us).
Considering that UART0 CTS and RTS are routed to Q7 header but only
usable when Haikou exposes UART0 on the DB9 connector (via the SW2
switch), which is NOT the default state (and in any case not supported
by our current device tree), I believe we should make the same change to
the uart0 node in haikou dts for Ringneck. What do you think? Can you
send another patch for that one?
Thanks!
Quentin
next prev parent reply other threads:[~2025-01-21 9:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-21 9:22 [PATCH 0/2] Disable DMA on secondary UART on PX30 Ringneck Lukasz Czechowski
2025-01-21 9:22 ` [PATCH 1/2] arm64: dts: rockchip: Move uart5 pin configuration to SoM dtsi Lukasz Czechowski
2025-01-21 9:36 ` Quentin Schulz
2025-01-21 9:38 ` Heiko Stübner
2025-01-21 9:22 ` [PATCH 2/2] arm64: dts: rockchip: Disable DMA for uart5 on px30-ringneck Lukasz Czechowski
2025-01-21 9:41 ` Quentin Schulz [this message]
2025-01-21 10:28 ` Łukasz Czechowski
2025-01-21 10:45 ` Quentin Schulz
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=2be46f44-6c81-417b-b0b9-7325cb0f7c10@cherry.de \
--to=quentin.schulz@cherry.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lukasz.czechowski@thaumatec.com \
--cc=robh@kernel.org \
/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