From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 83E68C001DB for ; Fri, 4 Aug 2023 13:06:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ap4d61roJdM+SfPepEKzaBiAzV3Urvm3P/uIsRh3dQE=; b=JEU30hJPFR3ygb NjlsZg88Tm8rC0wmcYzkk6wzPaGSeFWda3cWuUnlvKGYTS3QHZmOCPDAcaeHiBfoqBZ1yApBom5Gw l3wrZHc+Mq6thrpIg55UJn7p85v4UAxpTzB3EE17tlKunxnv62eUY2uV8O7hdXt2/sQKVq+6YwCxZ y++jwWYszU0mK4hLC9Y8lkcVi6ouf2TYWh0WrSnupUM5AUATYJhU3twu2TQzpaCO1x/N+Ux8m4E7r dNEA2tPsFZfKB5LUH5PflEjDL/81ys00f0LtZYcQEGFDuUoWsPxmRfgvsbAuluIuKfH7J6x/Z5dYj 5lOdl/kl+2fsoqoIt8dA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRuUu-00CSlp-1E; Fri, 04 Aug 2023 13:05:40 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRuUr-00CSlU-1n for linux-arm-kernel@lists.infradead.org; Fri, 04 Aug 2023 13:05:38 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EC68A61FD3; Fri, 4 Aug 2023 13:05:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D31FCC433C8; Fri, 4 Aug 2023 13:05:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1691154336; bh=CMmrQBOMwR0aByOYeSTrPYxAkxl+tK2+Yy4ucbFVepY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=D1Ep/aX1YfrLsVLG16EHNKOMgzJDmwOS7a3oXTfVP4t5UZ98vesrovc3AqG/nV+ua zkRweltGyiyd5druyJ+Cydf/yV+EcdLmBC6exbz0mqYMM5OGXGBwCgiADB1WA88qtm fucdckWGxZF46V/XbPfI42XaT5T1/9q/XTwinVI8= Date: Fri, 4 Aug 2023 15:05:33 +0200 From: Greg Kroah-Hartman To: Valentin Caron Cc: Jiri Slaby , Alexandre Torgue , Amelie Delaunay , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 6/6] serial: stm32: synchronize RX DMA channel in shutdown Message-ID: <2023080414-props-senior-c40a@gregkh> References: <20230803130134.155355-1-valentin.caron@foss.st.com> <20230803130134.155355-7-valentin.caron@foss.st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230803130134.155355-7-valentin.caron@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230804_060537_643663_2D2364F2 X-CRM114-Status: GOOD ( 10.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 03, 2023 at 03:01:34PM +0200, Valentin Caron wrote: > From: Amelie Delaunay > > In shutdown, RX DMA channel is terminated. If the DMA RX callback is > scheduled but not yet executed, while a new RX DMA transfer is started, the > callback can be executed, and then disturb the ongoing RX DMA transfer. > To avoid such a case, call dmaengine_synchronize in shutdown, after the > DMA RX channel is terminated. > > Signed-off-by: Amelie Delaunay > --- You can't forward on a patch from someone else and not sign-off on it yourself :( Please fix up and resend the series. thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel