From: Vinod Koul <vkoul@kernel.org>
To: "Tomasz Moń" <tomasz.mon@camlingroup.com>
Cc: dmaengine@vger.kernel.org, Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
NXP Linux Team <linux-imx@nxp.com>,
k.drobinski@camlintechnologies.com
Subject: Re: [PATCH 1/2] dmaengine: imx-sdma: restart cyclic channel if needed
Date: Tue, 15 Feb 2022 11:11:24 +0530 [thread overview]
Message-ID: <Ygs9BNzoutsDEfP/@matsya> (raw)
In-Reply-To: <20220117091955.1038937-1-tomasz.mon@camlingroup.com>
On 17-01-22, 10:19, Tomasz Moń wrote:
> Under heavy load resulting in high interrupt latencies, it is possible
> for imx UART requests to completely fill DMA buffer. When DMA channel
> is triggered and no SDMA owned buffer is available, SDMA stops. Thanks
> to the autoRTS feature, there is no data loss due to the SDMA stop if
> the UART is using hardware flow control.
>
> According to DMA Engine API Guide, DMA cyclic operation is performed
> until explicitly stopped. Restart the buffer after handling channel loop
> if the channel was stopped by SDMA.
Applied all, thanks
--
~Vinod
prev parent reply other threads:[~2022-02-15 5:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-17 9:19 [PATCH 1/2] dmaengine: imx-sdma: restart cyclic channel if needed Tomasz Moń
2022-01-17 9:19 ` [PATCH 2/2] dmaengine: imx-sdma: fix cyclic buffer race condition Tomasz Moń
2022-02-15 5:41 ` Vinod Koul [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=Ygs9BNzoutsDEfP/@matsya \
--to=vkoul@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=k.drobinski@camlintechnologies.com \
--cc=kernel@pengutronix.de \
--cc=linux-imx@nxp.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=tomasz.mon@camlingroup.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