From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_PASS,URIBL_BLOCKED,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 347E1C10F0E for ; Mon, 15 Apr 2019 12:11:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 033922077C for ; Mon, 15 Apr 2019 12:10:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Qb6AwI4L" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 033922077C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=the-dreams.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+d8WTsRAxv7GAd+Jb/PL/s7jum0mf0Kkgv+D5UaqQuM=; b=Qb6AwI4L7k1+cdQs0NnNm/XOc I8aSH0BmmyBc9lTW2eWcOdyG7Nwjfz0f0Z2yeqoo7oQzGHRSEY2KbN1VOPuBQuCAbMrlYgwie4U5i NdvRVSAxXeBSdwmE4oZbejZMywyTLU4KEqC/QgHcwU/ofVMdMYFAD1a0XfbwybN7dsxseluVMkMRa 6SDI9+KTj6FubANu9uQ41/Md7ilaB4WFbSxP6PrYLShyJh5Pxvk4T9RnwLqwB6TX+RUKV8x4ThTk0 mek+Wzk2aXRBuLoUvpqAQ4aZW5JcXxSkY2Twhn4VwodCZzZPyVUvcpkvH5VFwzH8fPpJ5oCYwRdwU /dOLHePnw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hG0Rt-0000kr-17; Mon, 15 Apr 2019 12:10:57 +0000 Received: from sauhun.de ([88.99.104.3] helo=pokefinder.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hG0Rp-0000kW-Qw for linux-arm-kernel@lists.infradead.org; Mon, 15 Apr 2019 12:10:55 +0000 Received: from localhost (p54B331F8.dip0.t-ipconnect.de [84.179.49.248]) by pokefinder.org (Postfix) with ESMTPSA id 18A742C0114; Mon, 15 Apr 2019 14:10:53 +0200 (CEST) Date: Mon, 15 Apr 2019 14:10:52 +0200 From: Wolfram Sang To: Wolfram Sang Subject: Re: [PATCH 00/12] i2c: core: introduce atomic transfers Message-ID: <20190415121052.6fqyffpgvd4ljvzi@ninjato> References: <20190403124019.8947-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 In-Reply-To: <20190403124019.8947-1-wsa+renesas@sang-engineering.com> User-Agent: NeoMutt/20170113 (1.7.2) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190415_051054_174206_A4523CA3 X-CRM114-Status: GOOD ( 15.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andy Shevchenko , Linus Walleij , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org, Stefan Lengfeld , linux-omap@vger.kernel.org, Peter Rosin , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============7614149460139931328==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7614149460139931328== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2zrottfhsaoyamy5" Content-Disposition: inline --2zrottfhsaoyamy5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 03, 2019 at 02:40:07PM +0200, Wolfram Sang wrote: > This series adds support for very late atomic transfers to the I2C subsys= tem. > It finally reached a state which I think is ready-to-apply. This is mainly > because of two things: >=20 > a) we decided to respect the current locking scheme and to not give atomic > transfers a priority. The code needed for that would have been either > incomplete or very invasive. And we cannot guarantee successful transfers > anyhow. See [1] for the discussion and other write-ups for design choices. >=20 > b) thanks to a discussion with Peter Zijlstra[2], the conditions when to = allow > atomic transfers became much clearer. The new helper i2c_in_atomic_xfer_m= ode() > adds readability, too. >=20 > In detail, changes since RFC v2: >=20 > * dropped coding style patch because already applied > * added new patch 1 to drop in_atomic() and have better conditions when > to enter the atomic path > * added support to the mux-core > * simplified omap conversion a little > * added new conversions for ocores, stu300, and algo-bit/gpio > * typo corrections found by Simon and Stefan > * added tags to drivers > * dropped tags from core patches because that part changed too much >=20 > All tested on a Renesas Lager board (R-Car H2). Sadly, the i2c-sh_mobile = driver > cannot be converted now because of other work needed first. I tested with= the > i2c-gpio driver, though. The other driver patches are build tested. A bra= nch > can be found here: >=20 > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/i2c/a= tomic_xfer >=20 > I am happy for reviews and comments. Please note if you review (especiall= y the > core parts), I'd like to have a short summary of your review even if ther= e is > no proposed change. Like what you did, what you think about it, etc. Some= stuff > in here is subtle, so if you went through the effort to double check my > assumptions you should name it :) >=20 >=20 > Finally, a big thank you and credit to Renesas for funding this work, of = course! No major critcism voiced here, so applied to for-next! Let's see how this series does there... --2zrottfhsaoyamy5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAly0dMwACgkQFA3kzBSg KbYY4hAApGC2YILoXcStCZBF2oIFh8J8yxZF1GCl4EzMAONs5aoXCoV2xomtv/7Y J7F44kQYHVt65lnMAnTX+Q+EmnI5PNzmgzjQEbQYE6vIOw9TJ2RZD7S2s+F5pj6Q PNweo+l6qO4/lPTrcOCGymgu2NW5upqjDDKdBo445aSDznSeuxT3tNxadLrINy4R BzyClWBaV0RPBYS3Fr2wVPkIEZOznRYAEZx6En5oP9IknFXIMhwh9QYQjkPagvgA Zsc8BzxomC3spUsgbQZ3ivJXcIcjSR12lDVTHz+Nk3YnJdOXIyXWupSmyTcslMXq 2mou//sGg5GYtD3h4Arx1XRtdF+NHgxQoKAh1oXuPjg55On84YQ32r6bs5j7rQN2 2b0wENsxIEJTvVo8XJpfPiMES6CLvwomSErO1h7SejO5djJWNFIMZiNw8u2ubFO/ mQs7O/7UcuJ0j/P3UiR3hgPXxsrMvm6OnpcLsWM18x7KhwVttKgTJbduj66+vB26 oZ7thpvQ8gp5TaMYip8EBJJ124T9YHqrt+We52ZVjxsQ4Q7cBYLiuB1tLAFxExZw cNr5woDJVVsIw9RBoFmph+WyU0Q8eigjfAiZ3MfNnhfeWtEIMY7PPQT0Mu3WhVy2 203X/YVUBlqQwcQenxLse5bp95KKb7EKFlAvnTlnguYGWfmjPqg= =2/JU -----END PGP SIGNATURE----- --2zrottfhsaoyamy5-- --===============7614149460139931328== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============7614149460139931328==--