Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp715592ybz; Wed, 15 Apr 2020 17:21:46 -0700 (PDT) X-Google-Smtp-Source: APiQypLBGdsKr9sT/TzouMDmVclpFa/6A3NteQsrNyxMX3nVtuS3oRBnpM60PuP6fa2TLZHoz2Wr X-Received: by 2002:a17:907:41b6:: with SMTP id na6mr7154336ejb.119.1586996505896; Wed, 15 Apr 2020 17:21:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586996505; cv=none; d=google.com; s=arc-20160816; b=Y3pzpW3vwxbL8M7sCfgkXLiGGOiR5VOw6akU9yKQLLsa3biNRM+rrCKFMgHLv1nqsS FSWqHch99/4vK0rcFJTDqpCJVwYA8h2AJa5vceBRIZpndCzF8Nv+mTtlUWFJ7p2Ph7e3 sJvUuqCg+YidXnRyi6794A5e2F625oUib+uVeNiv63fE+R7bgBm/jOq5hyVfpG1mG/JB uThC0eZX5dO8xUsFLqbR0xojIRf5b5ifqh1fSVpb5/b1wGbq2bU7e+vakHHi8vd+ruAn u9q/hKHy5TyOHprvp9CfAUpXlvWVo0urbEOtNUa6Iw96YO/o5B3eOr544j0Y5obPOXnJ MgWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=B/eZ5JemsN0jz9TSv4YGX3o7NSTTaE4S8DnIz4P1hPM=; b=PRvLc1ws6nXWj9T9LNZWC5YnVzFKoX2806Rq7xefQ54b6+41F160yCBLia6w3blxim xgEajXoeSx0fO93lGqLGAq1LEnX90pZ9W3vCsHloIUhM5hVmwcM4jv4RZ9X/9yF9Rxlj 548DubjNkukjdRmtUQ6sP0BncPATYA1HBLuhwPnF6KZF+7vAkpmHO4MNuZMDXsGS0fvl NVZEIGJXEKFBQEq68/tvUHJyV5VPUZFzoyEqpuyfuEm9+xd03GLqdvPmBTyWUZdwQJTk 9Ps3MqQcXxE81Uu3ryci8iOPqGmpBr7xqN2SG4/qyYklCMHoJoW+aeTDtvGoOO8m4f8E giYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k11si8893418ejp.508.2020.04.15.17.21.22; Wed, 15 Apr 2020 17:21:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1416101AbgDOQbf (ORCPT + 99 others); Wed, 15 Apr 2020 12:31:35 -0400 Received: from sauhun.de ([88.99.104.3]:56520 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1416085AbgDOQb0 (ORCPT ); Wed, 15 Apr 2020 12:31:26 -0400 Received: from localhost (p54B33507.dip0.t-ipconnect.de [84.179.53.7]) by pokefinder.org (Postfix) with ESMTPSA id 549FC2C1FF2; Wed, 15 Apr 2020 18:31:24 +0200 (CEST) Date: Wed, 15 Apr 2020 18:31:24 +0200 From: Wolfram Sang To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Laxman Dewangan , linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] i2c: tegra: Synchronize DMA before termination Message-ID: <20200415163123.GD2830@ninjato> References: <20200324191217.1829-1-digetx@gmail.com> <20200324191217.1829-3-digetx@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AkbCVLjbJ9qUtAXD" Content-Disposition: inline In-Reply-To: <20200324191217.1829-3-digetx@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --AkbCVLjbJ9qUtAXD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 24, 2020 at 10:12:17PM +0300, Dmitry Osipenko wrote: > DMA transfer could be completed, but CPU (which handles DMA interrupt) > may get too busy and can't handle the interrupt in a timely manner, > despite of DMA IRQ being raised. In this case the DMA state needs to > synchronized before terminating DMA transfer in order not to miss the > DMA transfer completion. >=20 > Signed-off-by: Dmitry Osipenko Applied to for-current, thanks! --AkbCVLjbJ9qUtAXD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl6XNtsACgkQFA3kzBSg KbbADhAAqwvNfOD7mXtxEJtV3RcBhdYNCoJRUtxcGTAHQVpPbAXy6CzQPj/fYsAB rUFJEFrFEBBwxemI9pSRgzgR/k1cq/6lxW+S3rH0yaxmSwO0SH2UtctpHnCwI8zQ Uk5KwRs5b6jlNaSIWpraI3+7KKMc9n+vpHwqMZAqdqvadgkeyMyLrZq84zZJM1oH PB9HUFpEmvxfk0vpI2R7oOSEMYJRZ50z1AX0XfokWwrJ6seqPzDsET3MJLC1bep5 bLLFD4pHhQ2Cng0DuoEV0APFbpSuW78Yn9nnQY4NdWjE/7UWA35tCdxwsVWSIx0t Uqdm4TrYhhJ0neGXb2is8z18NRpsqu9Xyxq5GNFNIKqMeaMRJqy8qDrNfC7vJ4nS BdnlYUdQ1SH/IpoCntv7MFFBJ3c11xMKJ1BRXgmltDe+McV0yi5zYND2BIx0B0ZN sKe72nwPSalYNYsuCHg3K2wl+mMuZI+l1+TeVrWVK4AHY4RfHp188J/XfhuzJOXm PHSZ7L8wMx8b/4iez+J2JtAQCknI93f/tyXxEoCDJBD8Y2PANwzbI5LqVTxiIyq+ Bwu8bZy0q42hKjN7B2HkF8ynBtumNAZZPc5nlvhLCoG+IdnZKRdjEbvw4e2deQCH SHOCCRo+Q1FHRAeiicNlwsSeO0Yoyqz7LVyVBy3dyD6lwjHQReE= =C3tM -----END PGP SIGNATURE----- --AkbCVLjbJ9qUtAXD--