Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp373721imm; Wed, 29 Aug 2018 02:07:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYlA4PFHdSPHCr/nRq286n0Ka1mte4MH8ssWB03cWHghBMn7/HW78FpVzlZjVBb8vXxRKyd X-Received: by 2002:a63:2b82:: with SMTP id r124-v6mr3423815pgr.159.1535533677847; Wed, 29 Aug 2018 02:07:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535533677; cv=none; d=google.com; s=arc-20160816; b=Gvs5p2odwFKnqaocVbuW41kTivUK/Vt3xX1/cZaU2UvJ6D4fC55YgVinG8mX1FGAOT zRDk3mNmgyzLrwesrIxv76li2LPbXy6cXeEReCOjwwSPhGEY3M3m9e4PJxIxM2zD7TFk 4oBysiRmwBmbuGNxV39Erhq4uL0WnQbOsyQdUJ5lE7gZJo+n31oJzZ5D+GZfQBDrkzvy XwwphHR0E6QZF+9NaqPwZz7DrM2fWdU6J1Vs5nJz+fhNxDoWVkgVf8eAB3lH7dy8yq23 xnzwT4tWZUUyrKjxe5EJeKOfz4JjYIVPT1zShdlgeY3SP208cqtcwr3CMgXe2/80UHvq kAig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=1nCCW7PjC30hwiANm30p2mlSlsyygQ9x7haCF7BG4DQ=; b=OE7y3iSQUhU2n1FNLHblZ5Iy3rQBEh617pBEabfP6twh4HXxZwnEdOLOilBz1ukpUZ r6nPWXA8C420sBQb+GUC7v3xS6lIHdRwMgwxYMflvs+TXv7vo+z9zw8fYYPSIfbngy1f 4CLODOnkrcBD6rI1NsNDUOwjIwCdXPwYf3Z9ew5cOvXNHe6Q7KELpcoW62czo00xt+un qDRoiUEiF49MBmYfXrj4d0xtDznbwcrw95j9soEex4/Vc3kSgHuvN6XU8DmPR4UVgLpI 78FKoge7H5C/aOFh1CWNzYaDOuPVcoYUyNQYpBmzNRbYwuIqIsntX9f+gK9T+wbm/eq9 6sGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QyYZvu0I; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a140-v6si3391678pfa.61.2018.08.29.02.07.42; Wed, 29 Aug 2018 02:07: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=@linaro.org header.s=google header.b=QyYZvu0I; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728016AbeH2NCa (ORCPT + 99 others); Wed, 29 Aug 2018 09:02:30 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:51471 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727976AbeH2NC3 (ORCPT ); Wed, 29 Aug 2018 09:02:29 -0400 Received: by mail-it0-f68.google.com with SMTP id e14-v6so6652696itf.1 for ; Wed, 29 Aug 2018 02:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1nCCW7PjC30hwiANm30p2mlSlsyygQ9x7haCF7BG4DQ=; b=QyYZvu0Iy1V6hrQ2yG/lChI0ukc/LtQgG9VFhAOHn62Mw7W/nxp2Aj4u0ZfAHd28WY fY7HMREv/wfFv4MBCIEUT4//npLBmsOcW3Y9/OsxXSP21He4Tn5+QQtHb4xmSwlBG/WJ ZdCG8Z2iHwu6JzqoZq/vWfCtsSmEMpujWDW/c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1nCCW7PjC30hwiANm30p2mlSlsyygQ9x7haCF7BG4DQ=; b=jB8NY3Kp8xaGn2AzPigWEUnMvfqyvti/8o2FfevLT4r0JVmjEbTdEeUe1A+1RnuUDv KQSe6n4zxvZdon6kAdJzQ8DwfROQT6aZLj9L/FIcRu5a5IwKVMH6DdS0ibWSAPeMp4Rv oCHD8VTRMnlJkvJn1awO3DNmRvxwe/iwin3SKmfjnbfNEaEF9tFoAPASD2X/WdDoQXBp v4M8UlCss0ght732rugm00PRdLAptw/IDEhxZn9Yo5Xc6dasoqKvT9fTkpYS0v6CgSOR h5JPzh9Cbs+xcqsdk5sjUYsPNgvEe8ZYadhIIY2IlVcLpcQZuWCVxPpT+Q9wMzUshQ5Q EmFA== X-Gm-Message-State: APzg51BqiBjhINEu3dwzxeQY2ooB7tR8QFOthqNoAN48AIbg/egaN4qY jUTcA8SHa68Zfcj0lzLBLAB5YRMZ6PQfNWdbVfSutw== X-Received: by 2002:a24:144:: with SMTP id 65-v6mr4257633itk.62.1535533594134; Wed, 29 Aug 2018 02:06:34 -0700 (PDT) MIME-Version: 1.0 References: <20180813223448.21316-1-jmkrzyszt@gmail.com> <20180820234341.5271-1-jmkrzyszt@gmail.com> In-Reply-To: <20180820234341.5271-1-jmkrzyszt@gmail.com> From: Linus Walleij Date: Wed, 29 Aug 2018 11:06:21 +0200 Message-ID: Subject: Re: [RFC RFT PATCH 0/4] gpiolib: speed up GPIO array processing To: Janusz Krzysztofik 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" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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