Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp753611imm; Wed, 29 Aug 2018 11:16:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYAlLa0xrRmkOJjTPu9tQFf+P7d+nlNa78QPBAf88a3Bz/9U1RKy5+/QbSzKbi6CAx7ibRO X-Received: by 2002:a63:d244:: with SMTP id t4-v6mr6497227pgi.335.1535566617458; Wed, 29 Aug 2018 11:16:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535566617; cv=none; d=google.com; s=arc-20160816; b=yyCpbzKa5fvXMpwBTACPeFeRzQyI1V5yJWPLI3iZ6mCHuQwu5ntuD5lyzSiJCBRXNr VGMF0GPMaZRrLUnFJOQW5DKNjhnM3TpgqINfRy7LmwE6qXyzJtPZyE22TcWy5zior4Ah ut0i0qRCG4MkWNsa5NsAeKhL4CDrq7WklPNxcJyXdfRf5wKcTlsnF+Q826WrDB9koTUy MkGbVm44Ek3eFUV9TgXP4SWCPRgQSWKLeEHB5iY3pNbj+PpkzOeLJ/uL1Wpvs2TbjzIE y8B0gsBB6nAXoroouzNcMbHw1J4awBCaKX/MkDFTdnhXrGNs13fpDlnMWWI8sjziy6f6 v5aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=aCazvnBEpnm0Gyw6GCjF0KHSnNzsP+NrH/ddpIW4/7M=; b=pvmlz+co7+RwIoPFDPRT9ynSRWqnV+umJXCmehts4yXKegJAJIs0e6daL0m/6HyBOo 2D3ipZi3WqKZa2iKnpNoNS3bxug7XDnEqd66v1OhPeEibuBboG0Rg3P1slRERhrG254J 8YfCCK8/2nUgD60q3qBCBpwzlkFdDjGcbtJlzubrSjPKggH6AOOmWx2e0AoEUDWWXY1D 79sODk5B4wb4uinxAw2qVTpjKIdgPyf/c5Mx4B2/yNt8M97tRkZUBPfk0KVgWCQIFVRa PaHj1vRlgeH+KmKUm8MehiwPBhDh5U286K62H+unjk2gJune2ga9x9U5jtUaHo3ejM7j 6Y9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U0zIZOjs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4-v6si4683640pfb.52.2018.08.29.11.16.42; Wed, 29 Aug 2018 11:16:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U0zIZOjs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728353AbeH2WNO (ORCPT + 99 others); Wed, 29 Aug 2018 18:13:14 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:36159 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727399AbeH2WNO (ORCPT ); Wed, 29 Aug 2018 18:13:14 -0400 Received: by mail-lj1-f195.google.com with SMTP id v26-v6so5143794ljj.3; Wed, 29 Aug 2018 11:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aCazvnBEpnm0Gyw6GCjF0KHSnNzsP+NrH/ddpIW4/7M=; b=U0zIZOjse7NTlkw8aL1Xf79IgHi5J6GzaD7VdAcm5GcPzTlIfhqyAPHBu6dGbRAnKd 3oZrCFUXOn27H5zbcjg3e4vxdQEP9GQ2IQ5QbrgUiYYSOgFuFI9sKoQUSa5u45NqE4Q9 CpcWfQ/Zycm3FXRug6ou3jUZAvvjXqDGdGPU7d/zgDgBJRgCRrbllyZWzvL+MXDteDeG f1JPhJOVcBAYf5fHUGBmZwhrbac62d1ZJJW613XeO2uvZaXGkrhq83yVVlNzqUfbr0oz 1RssNhfaCVr6z6O5wzyHWfaFo1QFdPvlRsFsUzwfWXmd0ao+6cS3FbrdfO5dUWkNFHGe 64Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aCazvnBEpnm0Gyw6GCjF0KHSnNzsP+NrH/ddpIW4/7M=; b=jG0AsTcaJvg2xjgGIMGR6kleJl2+ppRl+myZXqUQtahDs7NpG5yGKXO2Bl4ljVf4/Y 8kr66+m5c1QVy1fmxY8RthGSu8O7/9vRFx7m1Xsk9ALzrVDQVR3iJsLY3zO1phzcNDTq 48wMCaegU8HmENHWmTFXA4ofJA0u7iEyy0hn+PH4lndbXJ1moPtVTPWRTxXGxb8C187w Uz6e6+y40cW/WfTc3b6/K8ujYSHma1vgFEBmxqTZCRSBQWz+mb3Q0YLxVoQg9NzM1UFW ivXiMTUh8LDiXC2koE5R9GYQXkKV2XZ9HYDe/7h0LE7oukdVeX500InXRjXO9E86C18/ x6Ug== X-Gm-Message-State: APzg51Dqf2NNVzVBZ0kNMpsTFYICALcFaAWrue5g459YVSBZwgJI7yc3 QF1us+AnCaeveqH7w6FK0no= X-Received: by 2002:a2e:9f4d:: with SMTP id v13-v6mr4896917ljk.42.1535566506354; Wed, 29 Aug 2018 11:15:06 -0700 (PDT) Received: from z50.localnet (93-181-165-181.internetia.net.pl. [93.181.165.181]) by smtp.gmail.com with ESMTPSA id n3-v6sm799786lji.96.2018.08.29.11.15.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Aug 2018 11:15:05 -0700 (PDT) From: Janusz Krzysztofik To: Linus Walleij Cc: Jonathan Corbet , Miguel Ojeda Sandonis , Peter Korsgaard , Peter Rosin , Ulf Hansson , Andrew Lunn , Florian Fainelli , "David S. Miller" , Dominik Brodowski , kishon@ti.com, Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Hartmut Knaack , Peter Meerwald , Greg KH , Jiri Slaby , "open list:GPIO SUBSYSTEM" , linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-mmc , netdev , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-serial@vger.kernel.org, "linux-kernel@vger.kernel.org" , Janusz Krzysztofik Subject: Re: [RFC RFT PATCH 0/4] gpiolib: speed up GPIO array processing Date: Wed, 29 Aug 2018 20:16:20 +0200 Message-ID: <1595423.PPW7Q1vFt0@z50> In-Reply-To: References: <20180813223448.21316-1-jmkrzyszt@gmail.com> <20180820234341.5271-1-jmkrzyszt@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, On Wednesday, August 29, 2018 11:06:21 AM CEST Linus Walleij wrote: > On Tue, Aug 21, 2018 at 1:42 AM Janusz Krzysztofik wrote: > > > This series is a follow up of the former "mtd: rawnand: ams-delta: Use > > gpio-omap accessors for data I/O" which already contained some changes > > to gpiolib. Those previous attempts were commented by Borris Brezillon > > who suggested using GPIO API modified to accept bitmaps, and by Linus > > Walleij who suggested still more great ideas for further immprovement > > of the proposed API changes - thanks! > > > > The goal is to boost performans of get/set array functions while > > processing GPIO arrays which represent pins of a signle chip in > > hardware order. If resulting performance is close to PIO, GPIO API > > can be used for data I/O without much loss of speed. > > Hands down, this is a very pretty patch set. I'm a big fan already. > > This is mainly because it fulfills the requirement for libraries > to be narrow and deep, which is what we want. > This refers to John Ousterhouts software design philosophy, > here is a great lecture if you haven't seen it already: > https://www.youtube.com/watch?v=bmSAYlu0NcY > > Let's get this into v1 and get some testing and merge it for v4.20 > ASAP Please hold on for a while, I'm going to resubmit soon, with the comment from Peter Rosin on i2c-mux-gpio addressed and the error discovered by Miguel Ojeda in hd44780 fixed. Thanks, Janusz > so we get some proper testing before the v4.20 merge > window. It would be excellent if some of the current users of > the array API could provide tested-by's or at least ACKs. > > For example ts-nbus.c must be a big benefactor. > > Yours, > Linus Walleij >