Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751724AbdIUS0E (ORCPT ); Thu, 21 Sep 2017 14:26:04 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:36015 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751666AbdIUS0D (ORCPT ); Thu, 21 Sep 2017 14:26:03 -0400 Date: Thu, 21 Sep 2017 20:25:56 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Martyn Welch Cc: Greg Kroah-Hartman , Nandor Han , Romain Perier , linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Fabio Estevam Subject: Re: [PATCH v3 4/6] serial: imx: unmap sg buffers when DMA channel is released Message-ID: <20170921182556.n7qael3fyorvkfki@pengutronix.de> References: <1506010697-22114-1-git-send-email-martyn.welch@collabora.co.uk> <1506010697-22114-5-git-send-email-martyn.welch@collabora.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1506010697-22114-5-git-send-email-martyn.welch@collabora.co.uk> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:5054:ff:fe2a:3aa X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 20 On Thu, Sep 21, 2017 at 05:18:15PM +0100, Martyn Welch wrote: > From: Nandor Han > > This commits unmaps sg buffers when the DMA channel is released. It also > sets to zero `dma_is_rxing` and `dma_is_txing` to state that the > corresponding channels cannot transmit/receive data, as these are > disabled. That's a fix for a race, right? The functions being fixed were introduced just in the patch before and I guess the race was there already before. It is best if you could resort your series to have fixes first. This way they can easily be applied during the rc phase while the rest waits for the merge window. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |