Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp824142pxb; Tue, 3 Nov 2020 13:35:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzAZ5/bIGrCc7goVE8NCiJxartxwKPE3n9siokBDloqtcMWMiaerXTd7uL+O7dxHLN0UE3E X-Received: by 2002:a05:6402:1148:: with SMTP id g8mr24847500edw.271.1604439305457; Tue, 03 Nov 2020 13:35:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604439305; cv=none; d=google.com; s=arc-20160816; b=Ezng2jCOVHfoAF0kERw1wcQD30ba5kMCIxEnPfuMmx8zuHBcAzXf8Yhlcz58PzaHnb O0BqI/u6kHxWMeXnMa23wfgSXWeDKbW4VS9aoyOtBVCETxQ2Vmw1EhlctBAb7ZNyIex2 tXugeRsOV4I8of2dD05y3SK2Z5KAL8Va7bWxz5CsHrTh2E3Y30AL1hgNvOiX5rbwMo6A rm2DEV/fTPQvDLBR5GEMa4TQ/rCv0xyc2p2cy1VgEoZmg/hxr5hjYwkvnNUfdiYEfLLo FNKYROj9I4tJlf+7OXymCMawYgjDoIBySQEf3j/rqHtTaORUnTyIe5jGpAQmuSb9Eean KCuw== 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=a7ZH9fyHYZTO/SRArO7XSMg0/aQU+bYIqJmSUVsuhCA=; b=xcYFrEAovgaJOVnvUCG6MPPQ3HzjiBKVYy5q+CWhZeUQsYfPeHyGjv6iXjvpHqXsVN 1bP0OoYseljQj17E241SC+Gd7oQm/PclIotCzSFeG0MPcrOK7PJ1vK+W1+bQS/U9QSyK lwhSbYOEQjKn3rl9sBfHOWD6rpp6T1kbLXn+AVgFepG1yvuQwgL6VkVRxyk1d1OXecsi P9Epiy3XLSP04m3oKD/XGbP/Y71iZ5k/vK5dC4g/OurkvHNLdt9AMcR/LvrRft+jPxUD amcICrmy6sbyqHp0W7y2f1hWqK7CAV5LF/PpVBR+fgoAdpQms1IeEuadeIe7ln1QGdeQ RdFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QTtwg4L4; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j7si13172635edy.250.2020.11.03.13.34.41; Tue, 03 Nov 2020 13:35:05 -0800 (PST) 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=@kernel.org header.s=default header.b=QTtwg4L4; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732918AbgKCVcF (ORCPT + 99 others); Tue, 3 Nov 2020 16:32:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:59640 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732129AbgKCU5W (ORCPT ); Tue, 3 Nov 2020 15:57:22 -0500 Received: from localhost (p5486c89f.dip0.t-ipconnect.de [84.134.200.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 90F52223BF; Tue, 3 Nov 2020 20:57:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437042; bh=a7ZH9fyHYZTO/SRArO7XSMg0/aQU+bYIqJmSUVsuhCA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QTtwg4L4/i86DoriZ3tYS9UO8SdYNdPyXWiI6EoauuBTIeuVHWnP26XFh7c0Rq1L+ GgIz9Uj1tNWnCbVSuQYAtd/ppNMWuddZbO32TkTXv71MqGsLvgzWEgp4k3AeCK16Ad iyf6nSlurOM/etk+w2gx0lPk1Gkmv10vscjFFcCg= Date: Tue, 3 Nov 2020 21:57:18 +0100 From: Wolfram Sang To: Cristian Ciocaltea Cc: Manivannan Sadhasivam , Andreas =?utf-8?Q?F=C3=A4rber?= , Peter Rosin , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org Subject: Re: [PATCH 2/3] i2c: owl: Add support for atomic transfers Message-ID: <20201103205718.GC1583@kunai> Mail-Followup-To: Wolfram Sang , Cristian Ciocaltea , Manivannan Sadhasivam , Andreas =?utf-8?Q?F=C3=A4rber?= , Peter Rosin , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org References: <1af37112fafd6cf069dfe864560f77996f57d80d.1602190168.git.cristian.ciocaltea@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m51xatjYGsM+13rf" Content-Disposition: inline In-Reply-To: <1af37112fafd6cf069dfe864560f77996f57d80d.1602190168.git.cristian.ciocaltea@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --m51xatjYGsM+13rf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 09, 2020 at 12:44:40AM +0300, Cristian Ciocaltea wrote: > Atomic transfers are required to properly power off a machine through > an I2C controlled PMIC, such as the Actions Semi ATC260x series. >=20 > System shutdown may happen with interrupts being disabled and, as a > consequence, the kernel may hang if the driver does not support atomic > transfers. >=20 > This functionality is essentially implemented by polling the FIFO > Status register until either Command Execute Completed or NACK Error > bits are set. >=20 > Signed-off-by: Cristian Ciocaltea Applied to for-next, thanks! --m51xatjYGsM+13rf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl+hxC4ACgkQFA3kzBSg KbYrHw//euNdIAgM/h+leoIrHtmx4U1t4ASeeDaSMNetrFYOEGWcHtzjDZkYMMJj 3jEzBhFGNGWPMixjn9JTUg3nIhnEMZ7VUklIUaIBRr9Ig/6AU3ymAHk1mFLVVcQo ZWKC1yCGr6BS910ahG4ydLI9JM4cECwBcxy6uAm4scKX8mqW7AJY8aPxv1bsA71R 9JbDkSYP1PwhslH0NBcubgSwrF8zP93PRGp6nVItqw4l9/7yLYunTNlwR8yNt1F5 t7p3u9Yg/JVBOklJDWyKOVRSqyYgfqzDdutVhXnXtUhyJcu6qf7XyioT1/XmMlmH 3qSemDshe75Un0dAM5a6nyRHoG4CG/Je7j2SQb5XfXO1gyuaUo1TCZOAqqy/BDWw GLX91vvGu7Y6sJCyHAGyZ5FLB3KOLwMWOTDTauHqzVgSlWFsuPOufvBBBeaAE/HB IsjK3KPZ+oFi7nAD5zjPi6pHF2/jOl0G6P6AN7vA4w+3SAtz6e9JsWfFWKlFmGV6 BaOexMaHHQ5WlJEGFrwoEwW2+8nFxf1tRk7yRI2GeL7CHykdsyx8vx5MXDmJwwnC HZA0NShfFaKS9lQAZVNg7NmTdHaJ70xfHCvBWU7oCgqJskhUaWGQ/Bga8Fsn/V12 z8IAa4ixpYWCtjVitRlo8bLDMk5KUCEg0CG9bNk+QVpS8cbA0fw= =IJ2+ -----END PGP SIGNATURE----- --m51xatjYGsM+13rf--