Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp308203pxv; Wed, 30 Jun 2021 06:13:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2qprahZYArbXj2peq7CSCvMZST3mK54oNgwLHfyARv5um0ZOwrSI6Yx1zWxb5UyhaPb6v X-Received: by 2002:a05:6402:2691:: with SMTP id w17mr47361861edd.353.1625058787994; Wed, 30 Jun 2021 06:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625058787; cv=none; d=google.com; s=arc-20160816; b=g1K3XkPJB69IlfEoChEIimpWdjTFWotI6V9+cOku8uBfH8bE7NNCYYfbQp+uGe8Hfu m1GdhwMh5fYDA3m1xoMDVU38gkt+vReIw6xfOtVYrK1kPIk3lvf5ztWW4daBw6uUng+O AdH7TwG+d5N9bwDRIJai8C4YU2zAx/JBBnPWQpseqsZOjs8DJWsIe8hkUM0iD4+k6bBP m3U5SfKLZhVwRLETfT+dZx+JeYMFqMc24TdJkdpsKXdpym8d/Y3Z/8ULMJFnspU5qS+K 2J7DqMpEJrhAnEdOCuJ3SSrkGv7dkDLC+/E847+dbDTwyzQBPYdJYpUiyhlN/8k6Pf7J ZFeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:to:from:date :dkim-signature; bh=H3KL+ZFSxOlQG3AC+pLdhHar+qjF/Zg5vofpMCp/YS4=; b=xayA8h3J/gi5xlU4twWzJpDgontAUH6z1qZl5kvInTYDUXLRO661dnj7oOOkhIJypB oATxKfhttgkGDEUgje/eBD3Z+V3EIcaY/7/JBND1Bcv7jvfdVoXtzHR32CCtQfOpMPi2 4trqEBMspE4xLnPxIzNLZElbw2zOy2CsYcOzG2z+ttsmGNaievAWid+BTClHA2I7TerU HsU1wz78JXEyOn2b5GWG5MXloubu7X1A/obUB9+Zv/chSzzVHYu9OPE/y4Tk1nozj1Cm COHPdPavSjTPz0CxWPXAqQK03+eLcIM9yIpR4Rvt1c5fmsVIhrLJzkMiD20zLTIrwVwE yH5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=BXeU0cVv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id en10si19659708ejc.118.2021.06.30.06.12.42; Wed, 30 Jun 2021 06:13:07 -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; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=BXeU0cVv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234797AbhF3NOH (ORCPT + 99 others); Wed, 30 Jun 2021 09:14:07 -0400 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:35560 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234481AbhF3NOF (ORCPT ); Wed, 30 Jun 2021 09:14:05 -0400 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15UCuWkL030029; Wed, 30 Jun 2021 15:11:21 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=date : from : to : subject : message-id : references : mime-version : content-type : in-reply-to; s=selector1; bh=H3KL+ZFSxOlQG3AC+pLdhHar+qjF/Zg5vofpMCp/YS4=; b=BXeU0cVvxT3vr5DLBRkLa2pE+zO7mbFCgDTOfBV9xvbHbLuSwkO3liuisOGHiu5CPrUV R7y34ZsaFQbzrjyBlh8Bd7WBWVN8DaiMGEwoSig03+3IegBK0Ts83HOfPz2mfMGpmzTS ww6B+IOrJ44pbF3j9IqLSUnpOS7AqQ2hBSt9TAcAG+L7/e64VnIzgWKIwtsIT1Gf16Uk 50pmQRG0mBirGlrSDYbX+qE9UGsvrvYbOPWdn2UmS2LJoRxqBW4ipsHSq71hnLYTQ9vM O8T34vmSZxztK/Y4GOKcdI2Xzy6woBzkfitom1kCzgc9lbtANqf5sNm7VJhonTsWfl3Y uA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 39g4kpxuat-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 30 Jun 2021 15:11:21 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 6D21F10002A; Wed, 30 Jun 2021 15:11:20 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5986222D61F; Wed, 30 Jun 2021 15:11:20 +0200 (CEST) Received: from gnbcxd0016.gnb.st.com (10.75.127.50) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 30 Jun 2021 15:11:19 +0200 Date: Wed, 30 Jun 2021 15:11:18 +0200 From: Alain Volmat To: Wolfram Sang , , , Pierre-Yves MORDRET , Maxime Coquelin , Alexandre Torgue , , , , Subject: Re: [PATCH 7/7] i2c: stm32f7: : use proper DMAENGINE API for termination Message-ID: <20210630131118.GB12109@gnbcxd0016.gnb.st.com> Mail-Followup-To: Wolfram Sang , linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Pierre-Yves MORDRET , Maxime Coquelin , Alexandre Torgue , linux-i2c@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20210623095942.3325-1-wsa+renesas@sang-engineering.com> <20210623095942.3325-8-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Disclaimer: ce message est personnel / this message is private X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-30_05:2021-06-29,2021-06-30 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Wolfram, thanks for the update. If you are ok with that I modify the patch to partially rely on _async / synchronize whenever needed and push it again separately. Regards, Alain On Wed, Jun 23, 2021 at 04:03:57PM +0200, Wolfram Sang wrote: > On Wed, Jun 23, 2021 at 11:59:41AM +0200, Wolfram Sang wrote: > > dmaengine_terminate_all() is deprecated in favor of explicitly saying if > > it should be sync or async. Here, we want dmaengine_terminate_sync() > > because there is no other synchronization code in the driver to handle > > an async case. > > > > Signed-off-by: Wolfram Sang > > Eeks, this is called from irq context as well. Broken patch :( >