Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp25955795rwd; Mon, 3 Jul 2023 03:30:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlHKCutQDywnD4dT4GXdMbJfBlF3CVgguDxRGWNFxhRpW3kTWsReCB+KbbixqzC4iarWT+TE X-Received: by 2002:a05:6808:f14:b0:3a3:9ae0:efec with SMTP id m20-20020a0568080f1400b003a39ae0efecmr4546131oiw.14.1688380253147; Mon, 03 Jul 2023 03:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688380253; cv=none; d=google.com; s=arc-20160816; b=ScbnTmuAkRg/zuU4llSH+6lYs/NwhEngwBmjBJMAJsxw7CLc3g14sWNm/NkG1y3Pxd /4CYNZc/aUBvmTSx39PoxQu9Q9N5Os/d8Zt3fwT6DPZlHE/GgokRENm4xbbNGP2S1tPg ep9QNH6DenPN3MFBBC2u3UzLQhbR5jDMmHAuNpamzLMWoNFa7I1yMJyfZFTpcsA6mhkn bivLBWzB8CJzsVgOvYToA42dNuh5h5/zu9E83LoO898d+sf2geCSLL1oL6hzHa178afL qskk8Cw2ka0piXOKPepUxh8uGh/tawJuncUtRxn96nvUJiBZ6w3lxaGkC3E+UXQEZde2 rjXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=evH9FssxAVDWuosG3wF0geBaPl42ihY9Va8nTcwYQk4=; fh=K5r5Q+4rKnzIOJ3GJPzmZBb0Xg47tjXJG5evJS629/I=; b=IHFlW9+3YfvaNYNJW/8W0XaUuhmJXF/hJDRgP6NhCm5qXVbM+ODHvtrLSZ+0mlIUkx ji6KhG5H5hqQE/7a4CBSP3fkWSeD4saElmxwfCOvJhArk3RAZQ8t/Ej+sQ4x2L06x/Kd p7SSXisUCzuatDWxnl0RuhFulV7dCVAmE/p7A95iTMksjsAtvzDyT4N/uHBs1jHec2lL rZPaBfqpXpEjwhWZUoAbveAsfed4DJrNlr/Ruft2/mDX3PSeJicNIUKES4aA71cSCvQT fLvYnSaO1WIxs/K4aY7OyphfvdrAm+ChFm66k5DKPZ7XYxuy6pkdnfvIfHj8INPX5Rea iWnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=XGb6qm4+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y72-20020a638a4b000000b0055b7662a5absi5651940pgd.692.2023.07.03.03.30.40; Mon, 03 Jul 2023 03:30:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=XGb6qm4+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230318AbjGCKVd (ORCPT + 99 others); Mon, 3 Jul 2023 06:21:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231251AbjGCKVQ (ORCPT ); Mon, 3 Jul 2023 06:21:16 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E794BE; Mon, 3 Jul 2023 03:21:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID; bh=evH9FssxAVDWuosG3wF0geBaPl42ihY9Va8nTcwYQk4=; b=XGb6qm4+6EvTbcwEm2H5OprpeV+r77KKVrY7nAOjvIOT6XAUTWG2rnI6S7aAss+aDKsVcta5Z1x T4JPgD/zZMhCubNS6zfcPjUbhV9m+Y+zePvqVp27wxzSVkPCZ7z6PiFEMPYCPpa4Z8Yp5p6hAm5Lv 7kZlteiF0dhw8fWH35EaflvEKAaV2dVQ44ID2GjJIrevdWhYjZEwqm7RwjOr9Wmpt0W9yZbhqgs3C aPwatGYlzSkw/yXHA/VZ76jcBPpTPwJknlybrr15ZcJSd1DAUjHJt+rO4qMH98RIhOcujUIj+XtCl U+wn/hSIJuwNhEpv7RouKmDQwc8p89Blcigg==; Received: from sslproxy02.your-server.de ([78.47.166.47]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qGGgD-000N94-Mb; Mon, 03 Jul 2023 12:21:13 +0200 Received: from [185.17.218.86] (helo=smtpclient.apple) by sslproxy02.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1qGGgD-000Kxt-7r; Mon, 03 Jul 2023 12:21:13 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: [PATCH] i2c: stm32f7: Add atomic_xfer method to driver From: Sean Nyekjaer In-Reply-To: Date: Mon, 3 Jul 2023 12:21:02 +0200 Cc: Pierre-Yves MORDRET , Alain Volmat , 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 Content-Transfer-Encoding: quoted-printable Message-Id: <48234852-3206-4F73-A7AD-EE6EBE83D774@geanix.com> References: <20230509132159.4160984-1-sean@geanix.com> <9BEDFE6D-AE5E-46F1-A1BF-A19C6F5130F6@geanix.com> To: Wolfram Sang X-Mailer: Apple Mail (2.3731.600.7) X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26958/Mon Jul 3 09:29:03 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 3 Jul 2023, at 11.50, Wolfram Sang wrote: >=20 >=20 >>> Will DMA actually run in atomic mode? >=20 >> Atomic is mainly(only) used for writing a single register in the PMIC >> for the stpmic. >=20 > And this most probably during shutdown... >=20 >> Guess that will not trigger any DMA use. >=20 > ... so I'd be very surprised if DMA is operational that late. I think = we > can rule that out independent of I2C messages to be trasnferred. >=20 Yes, I=E2=80=99ll submit a V2 without the DMA functionality. /Sean=