From: Juergen Borleis <jbe@pengutronix.de>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: gregkh@linuxfoundation.org,
Troy Kisky <troy.kisky@boundarydevices.com>,
linux-serial@vger.kernel.org, nandor.han@ge.com,
fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org,
l.stach@pengutronix.de
Subject: Re: [PATCH v2 3/3] tty: serial: imx: remove imx_disable_rx_int
Date: Mon, 23 Oct 2017 10:26:31 +0200 [thread overview]
Message-ID: <201710231026.32595.jbe@pengutronix.de> (raw)
In-Reply-To: <20171022184956.exmjlpcbzkvlp7xg@pengutronix.de>
Hi,
On Sunday 22 October 2017 20:49:56 Uwe Kleine-König wrote:
> On Fri, Oct 20, 2017 at 02:25:11PM -0700, Troy Kisky wrote:
> > On 10/20/2017 2:20 PM, Troy Kisky wrote:
> > > Since imx_disable_rx_int is only called by imx_startup,
> > > let's integrate it into that function.
> > >
> > > Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
> > > ---
> > > v2: new patch
> > > ---
> > > drivers/tty/serial/imx.c | 39
> > > ++++++++++----------------------------- 1 file changed, 10
> > > insertions(+), 29 deletions(-)
> >
> > While testing this series, I noticed that sending a break on the serial
> > port caused
> >
> > imx-uart 2020000.serial: DMA transaction error.
> >
> > Is that normal ?
>
> I remember that Jürgen (added to To explictly) hit this or a similar
> problem before, maybe he can commen?
Yes, it hit me on i.MX53 after DMA was enabled by default. The driver
currently doesn't handle the "break" event when DMA is active. In this case
the DMA callback returns with an error (that's the message you see, but
it's not an error in this case...), the driver clears the flags and drops
the (break) event itself.
jb
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2017-10-23 8:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-20 21:20 [PATCH v2 1/3] tty: serial: imx: disable ageing timer interrupt if dma in use Troy Kisky
2017-10-20 21:20 ` [PATCH v2 2/3] tty: serial: imx: remove dead code imx_dma_rxint Troy Kisky
2017-10-20 21:20 ` [PATCH v2 3/3] tty: serial: imx: remove imx_disable_rx_int Troy Kisky
2017-10-20 21:25 ` Troy Kisky
2017-10-22 18:49 ` Uwe Kleine-König
2017-10-23 8:26 ` Juergen Borleis [this message]
2017-11-04 11:39 ` Greg KH
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=201710231026.32595.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=fabio.estevam@nxp.com \
--cc=gregkh@linuxfoundation.org \
--cc=l.stach@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
--cc=nandor.han@ge.com \
--cc=troy.kisky@boundarydevices.com \
--cc=u.kleine-koenig@pengutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).