Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1643201

Re: [PATCH] imx-serial: RX DMA startup latency

From Sascha Hauer <s.hauer@pengutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH] imx-serial: RX DMA startup latency
Date 2017-05-17 12:10 +0200
Message-ID <tI441-1Iw-3@gated-at.bofh.it> (permalink)
References <tH0Yx-1y5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, May 14, 2017 at 02:35:15PM +0200, Peter Senna Tschudin wrote:
> 18a4208 introduced a change to reduce the RX DMA latency on the first reception
> when the serial port was opened for reading. However it was claiming a hardirq
> unsafe lock after a hardirq safe lock which is not allowed and causes lockdep
> to complain verbosely.
> 
> This patch changes the code to always start RX DMA earlier, instead of
> relying on the flags used to open the serial port removing the code that
> was looking for the serial file flags.
> 
> CC: Sascha Hauer <s.hauer@pengutronix.de>
> Signed-off-by: Peter Senna Tschudin <peter.senna@collabora.com>
> ---
> Tested on iMX53.

Tested-by: Sascha Hauer <s.hauer@pengutronix.de>

(on an i.MX6)

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] imx-serial: RX DMA startup latency Peter Senna Tschudin <peter.senna@collabora.com> - 2017-05-14 14:40 +0200
  Re: [PATCH] imx-serial: RX DMA startup latency Sascha Hauer <s.hauer@pengutronix.de> - 2017-05-17 12:10 +0200

csiph-web