Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3161780imm; Fri, 20 Jul 2018 11:12:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeb1BOy0iSvtecjmvGHQIWbYWzLnDpTX9PvM+2S+Jv9Xuxm9pXFv32J1oDYnwfmQ0IrN8CV X-Received: by 2002:a17:902:8a4:: with SMTP id 33-v6mr3002355pll.343.1532110334469; Fri, 20 Jul 2018 11:12:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532110334; cv=none; d=google.com; s=arc-20160816; b=emIYmtkP7FPPxGkTkQhIVRC9lk6Kl5BEE8uT8ugHD/98YHJh3EH9NIQyDr65VWGukb aPOtI1zdRkiO5ftdYqi8H9mEROYLGOP7257ioDtaSRBR84Q5hxznHdGBvOpk1KU+q3Dz kNchlodSvbqNY6Qd9xGx4va2n/UPA5nk4av/yXcI9n294xsRUpUVqgBEL0kZeYrlJKjQ cSJ1AJha8WeEgQ5lOsAexSXZHWBdCYjBc0AuOabUNbEqdzvL1jAplewHSiQIuj9uXRQb cjpz82Cj1GcEqP9313BMjjhz2hWEKSI6zBcqJH2pvdAQKa2caod4A+hgKMlVyC0zy5jQ smjQ== 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=ss7aZ3CMIPwJqH0yomHHNKktQe1KwIatu0svinrzdaE=; b=NO03qrNmNv5a5vfNMx/QFh/JSK9fW9qIuA/pGzVfxsZGnADW6uLVpHOH8b0gycnnG4 tKj/sVJewtSLRUZIg+aOE+Nn38ENVKLvydqC8k4v8LddES3hYzX/oxUJNBi9MGxLeikY T7nP/C89HFHq639NZbq7tNZdZ9TXd9xvr/2I4Uf7Xhw13vAv8xQ6SDU0j26nWw+Ul/ct 7uhRN2V/Kyr7zlCaMXvSEY5soqeKKKhPc+N+qPHzGsP61IJJ+youHHiScyBMCFZDnP0B /zPICl6sKv3HX8dbL9IJ9Ql8UcFTibcDRdmmmcU6szxG+mELmedR5nqPvupnqe8LuIme nXzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TIOtAs2Z; 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 a24-v6si2050219pls.353.2018.07.20.11.11.59; Fri, 20 Jul 2018 11:12:14 -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=TIOtAs2Z; 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 S2388286AbeGTTAu (ORCPT + 99 others); Fri, 20 Jul 2018 15:00:50 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:34597 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388180AbeGTTAu (ORCPT ); Fri, 20 Jul 2018 15:00:50 -0400 Received: by mail-lf1-f66.google.com with SMTP id n96-v6so2385405lfi.1; Fri, 20 Jul 2018 11:11:23 -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=ss7aZ3CMIPwJqH0yomHHNKktQe1KwIatu0svinrzdaE=; b=TIOtAs2Z4Kf+IkASxAiR71Fw5DW3ufFGTy1ajBCQWND+Rsod7RarkukZ4P6Q+F2qeU 8i68EJsn7YF1VAoXVIzFh6AyS3RCBpqpGabWoReBVqQRsQTkXxoFAcrZeggjOu2+T0eJ eWkSKN9FZG/APrzvzSUdrAtOoNoHkIFRuHYTl/GgTKa3tijZS0kHMlKv6RaTs8QySHWM PhfFEy3J6Z2PdcnMOkhq2zN4wCf90asG2QWRUn1TymcVSek519bbrztj1qY6sLti/yE/ axzIUG8+xXCvrHYQ//ki0ZKprxw3PFU14qQJ4nanGzYYBMb20AJ0tczSwAM8DqJQt5Jb Xkgw== 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=ss7aZ3CMIPwJqH0yomHHNKktQe1KwIatu0svinrzdaE=; b=t7Hq/sU4cUwFBr4nNcJ3N+WB+h756jxkckiTGw1TMjCVlJ6ntymAyA2a3EFGn5Uzcx 7exrADTzEG9wk/aB/Ta609VnqVeNSU+Ut4bUmlbvtBCtENFH0jttEMQ002wZiRYIudlE sxsxpzXi22aoqri4IZflfmLdLjADiAGVF29qPIPSe/mOxRwnZwuDT++nGiedwWRTnpDr Jrz21fJzQBl48P/NfN+qTo27XFsBnxi0WVmAI076oqoO1HuLsTakKjaXH5zuE83Ro3Dv n3ETsAMUnBLqGY5B6XHjnS6R8Vv62k1B/VtBSa9Hwu1qluLZzFBLWvcM/bm1byl9K3Uy xydw== X-Gm-Message-State: AOUpUlHzQDFlydgtp3SpIg7d+AFI22nPxnDSJQ3hLE/t3HbG7pXGaWue zMiOLubMUYXpfJGFrhfa6c0= X-Received: by 2002:a19:de4e:: with SMTP id v75-v6mr1942029lfg.14.1532110282920; Fri, 20 Jul 2018 11:11:22 -0700 (PDT) Received: from z50.localnet ([31.0.82.186]) by smtp.gmail.com with ESMTPSA id l141-v6sm383286lfg.55.2018.07.20.11.11.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jul 2018 11:11:22 -0700 (PDT) From: Janusz Krzysztofik To: Boris Brezillon Cc: Miquel Raynal , Tony Lindgren , Aaro Koskinen , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Linus Walleij , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Artem Bityutskiy Subject: Re: [RFC PATCH 3/8] mtd: rawnand: ams-delta: Set port direction once per transfer Date: Fri, 20 Jul 2018 20:12:05 +0200 Message-ID: <90128326.sKM4evrj8F@z50> In-Reply-To: <20180719082318.290abee1@bbrezillon> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180718235710.18242-4-jmkrzyszt@gmail.com> <20180719082318.290abee1@bbrezillon> 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 On Thursday, July 19, 2018 8:23:18 AM CEST Boris Brezillon wrote: > On Thu, 19 Jul 2018 01:57:05 +0200 > Janusz Krzysztofik wrote: > > > In its current shape, the driver sets data port direction before each > > byte read/write operation, even during multi-byte transfers. Optimize > > that by setting the port direction only on first byte of each transfer. > > Sounds like premature optimization for something you'll rework when > fully switching to the GPIO consumer API to control the DATA bus. Indeed, this optimization was crucial for getting acceptable performance of data transfers over GPIO. I'm only not sure if there is any action in response to your comment expected on my side, e.g., did you want to say I should modify the patch description, or change the order of patches? Thanks, Janusz