Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp871280rdg; Wed, 11 Oct 2023 07:49:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHxXNOimuxbQfxMFaDLYc1Ir8Zz3WL28ts3KU+WMvNNYS/V3Nlq6sMXwIm9t9/jWopVcJBM X-Received: by 2002:a17:90a:4ce5:b0:274:c284:c83c with SMTP id k92-20020a17090a4ce500b00274c284c83cmr17904082pjh.48.1697035745564; Wed, 11 Oct 2023 07:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697035745; cv=none; d=google.com; s=arc-20160816; b=PDdR0sfU9CJegFZKcav7CYfdi4dehL7BG/SD6BRwLNAlq5lMXMIx4hT5uMTWFOUdnz hVJtAGv52tp7R03+nMlU3xoRCdgMca+eQ9NGDKdTgCuZ7C13o6gXlhMCKtvAaUjSIWag lxGmknRLHBrmQ9Jz8vL7CYYmb039HOMC/RAX1tCx+gyAnXSeuGyxKh/93sq6b9ykGeKA 4ubFR8hmDpNUSX2BcXX96jjsu/XD15JekkpxVE08oxpjqdMetPQKzeVY2ZS7tkjQT5ij tE1Z+IDM9YDx3J4VDiBfNXzJw6buYdNFvBYgHP3ckib4T1V/sHkTtoWIddEdloVWZkgv fnLg== 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:cc:to:from:date :dkim-signature; bh=UB4+HeZ2ctHuAdDSStXTcsIo1PGN3+WxqWufzfEOOhE=; fh=sbEU1CcSe6SxIZTNs/i/fgRsxj50CD3KTnGiWcYn9yo=; b=iaV3Nm8PkWZQAgGpuq2Ag7O6c3r0yY+oRrXymYecKxFR04acXCsHdkoe3bbqDSDrup IzpacofZ9EgozgA8nOj6biCUNSHcJuoCJ1jtUJI35vYpABDsdaRNjvly9Mbi3pahJwU+ GnIHN8dd5QfxhUyrHtbF4J6L48py3roMj7auTUPC0xHBHmYn2unxzRW94LGOZJw3xtnl xCyLYY3ZSLJXkds9fnAypUxwqk3ofSLB6d7WmLe7pQrb/7XkVxB3OarcsReqF6Hr6fdA TIs5DXEnbdkG2UBtk3v9KolCIlgAZVtYFvGHp16QvNvUmjEBsROSQ6KIECHgcyN+SuLZ XZjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ibM2p3Pd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id j1-20020a17090ae60100b00279016a2a2asi14525204pjy.135.2023.10.11.07.49.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 07:49:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ibM2p3Pd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 60FD280CF502; Wed, 11 Oct 2023 07:49:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346770AbjJKOtB (ORCPT + 99 others); Wed, 11 Oct 2023 10:49:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234751AbjJKOs7 (ORCPT ); Wed, 11 Oct 2023 10:48:59 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECC3394; Wed, 11 Oct 2023 07:48:58 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37C0CC433C9; Wed, 11 Oct 2023 14:48:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697035738; bh=UB4+HeZ2ctHuAdDSStXTcsIo1PGN3+WxqWufzfEOOhE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ibM2p3PdtWTWtKrJZ018Ia8+4VWj6mgBmyhGh25FqtzOEm2W+Vb3ozfRQ1mP99o+L U736adtuq5RXEUXxW4u7+2dt0gs63s4WUoXRmDkhmerLTVD8HX9dK/u4JUjAfQoWkm wNP9q5wKEi5FWdcy/tZumD74v1PmyFdL8/0aZB0CIzfo449gl3qgC63q9yUSsBphwK +dL/ssvbjKAdWaJ2h+WPvKVZ+Hl9Fr9atJDonMBb+xnSvV1dlZNUXnoUVWzi1AxfCV WDN+ef2e8oewDZXPUD0CdMRvhgbONrBJJ9glMnrNTiU2BQhw8nO4VqlXUerhBX3IyF wcxkZ1QpNSsnw== Date: Wed, 11 Oct 2023 16:48:50 +0200 From: Wolfram Sang To: Marek Szyprowski Cc: Gregor Riepl , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kamal Dasu , Broadcom internal kernel review list , Andi Shyti , Florian Fainelli Subject: Re: [PATCH] i2c: brcmstb: Add support for atomic transfers Message-ID: Mail-Followup-To: Wolfram Sang , Marek Szyprowski , Gregor Riepl , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kamal Dasu , Broadcom internal kernel review list , Andi Shyti , Florian Fainelli References: <20231006144117.4079796-1-m.szyprowski@samsung.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AVdLZ6OvLmwsPHz2" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 07:49:04 -0700 (PDT) --AVdLZ6OvLmwsPHz2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I guess that i2c core takes care of NOT multiplexing atomic and standard= =20 > i2c transfers. Atomic transfers are only used iff the system is in a certain state, check i2c_in_atomic_xfer_mode(). Then and only then, transfers are atomic. All of them. Neither bus drivers nor clients can choose them. --AVdLZ6OvLmwsPHz2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmUmtc4ACgkQFA3kzBSg KbZLRA/9GJeh1v2sMju/XX7WqJe3CjrSWTiq2qlGJ892PoHA8i+mAwSzCrMBE2FV +AxFcb2RGy0ON33TeKoeyfDe4iYcRTLqqElBvVd5JFq+nt3SdAH/Pz2gBTa7KYCr g7xL1e86yLPeVil0lVuuELZbbt1H1UpcCGZqy3G1p24GGekd0Y0CEECfaMbf6TPd KKILC+oo6xV2RLranqKgl3xijoWNLLRmrXVj+wgXk3o+JknlwjDfQUUvJiZzrH5M u145XHpmgEa3LkO5kKy+Xj/kBumrb5gzbKiERy2ANfBBkGi1GaV6nIYuwJJ5IOeP mPlR0N6ihhmiITPcumroZh/bDa5FinPYTsrB3im6ob40CbLN6x+Os2y1PazKusiG q3MZQjhRFnSA2ZkLhn5Xsni5jwz095XJaD7X3tdxHTZ9as6aEQ4UPQHVVGLqQZQM HlylRMsvToavOixirPfbQhgvbZz1J1JuVtHQ5vtXFWeDYqo9dr2xlFTDN+L5Tsmo XvENkvm3d5GxVDltHA+1MMYw/4fTp1ir4VLQPJHQJrpVVDD9jcL17+cYPDKFhANU lJLnD3zHCA78vxIohGG7j27vlRF0OFYqKuLTI9otcOpNXaZS6hnG4pZA5sdRlfPc N0ighPzITu2F3eSpp3jesGU8pNkV3ltyN6auYkdeIp9RHXJ4PM4= =1CQ5 -----END PGP SIGNATURE----- --AVdLZ6OvLmwsPHz2--