Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4964235imm; Tue, 7 Aug 2018 10:12:15 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzPk0pgAV57bpzcea2fuLrJNXDmVLmlJjgYPGNLo8LcOm63O/5L48Th0rMxWznG+H0HvrCp X-Received: by 2002:a63:1c13:: with SMTP id c19-v6mr1630761pgc.332.1533661935784; Tue, 07 Aug 2018 10:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533661935; cv=none; d=google.com; s=arc-20160816; b=DGrtzzDzsowIapiP69vADGbFT9GkvKFAPZDyPqmhj/vLrQzdVJmdo1bMkurfKgJjPf /5B9UzQP7kQ74e7O2s9z6/5MvobwsDvE2yBx+us3KsiicG+WnQQY/6UWaBTfmMSz+XgQ m8vtuBignrczO1hvsVI1B21sN7ZE9xTdYyhcyMU1q8bl84wvUYRRElqCe/dYKN+g8R4S qE9PBt8eRTRoR+KJlDU2D1DWUyro6IX9hiW8PYsrF2ZSVz26N9nqmMAk9lLEQ8M+58Wp PP+iEl4JMssIY9si5aB49ETOm+QvpT7sK6JEqpPtmLUrOppxol6kbDgItDSsKHbfiZhB RoGw== 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=TEmzIpIJeMrr/tbenoFGx1EzF3o0ZISrz/y0iiZYYJc=; b=jeuHONOG1MuoBW8FvBnfrUBoTNI792VHQ7fnOp9L03iMP++1R2FiKao3m4SH6rS6os //ZjlALzMmGLE4RhbRzB3b8tU9uj2yXyxUbdPJ97l+THxZ/TN+P0eDaUEap4Zs8/y+vz Eszh0yFv5zyQDvJsDB3GdXKavnwJ21RfBLrorS5K6RIJVTTuMExKnezpPJw5tHyQsjfD ai+NHnQok53WaUtg2awoRiQH8tujaPOb/sT6ExmyPilSkILP1D+Vs3s+R2V+rckL3qSs Jq8J9313WQoRcKdkOopPCX20kWU78UXNEL9bGlUd8Xf6eGXno70Qv32w2BDPHsDXlkym 5cBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E2j2hXEs; 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 ay1-v6si1341506plb.266.2018.08.07.10.12.00; Tue, 07 Aug 2018 10:12:15 -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=E2j2hXEs; 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 S2390070AbeHGTZl (ORCPT + 99 others); Tue, 7 Aug 2018 15:25:41 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42009 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390037AbeHGTZl (ORCPT ); Tue, 7 Aug 2018 15:25:41 -0400 Received: by mail-lj1-f193.google.com with SMTP id f1-v6so14004052ljc.9; Tue, 07 Aug 2018 10:10: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=TEmzIpIJeMrr/tbenoFGx1EzF3o0ZISrz/y0iiZYYJc=; b=E2j2hXEsNrz7WNhQbvmTnlaID86uTIVE7wC5KjXGn64d/DthsNiXGvoyDuVSTEWY+F BPTxnlhaik2yYSOANh+oNBeh1WXAC3anJ/g0PAvoZzRM3WTGrfFnTTbctPtexddCAFcP nSPfYpuz2FhYHZgDAW6Squ7zpw1q3MaEjIHeSggBZHx+EARbHEg5K2uvK4fUS9ttWTRq c+OHw1ad8sDGSIP3Dq94rRLnftWvZKtNimoCJOscBB7BgXX0e0B3DLs6vJVaQh67zSWh incW7WhrCH7/1cJxgfA4xlgB5XO1Mr4Y2xBJHeb/PO2HE8Gg2mo/aDaBcA/0yhhlYehb SpEw== 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=TEmzIpIJeMrr/tbenoFGx1EzF3o0ZISrz/y0iiZYYJc=; b=crrOxGUkNO1N1cnFNf3QUJEZgrWp4QOXp8DrDAvuhaKYy/gYGBXB7u53qVtWYel6rI 6fm75ZzewqKH2irsswMIw1yDITuheBmd5XcvHXTI9joS1k2cVDb2oHpKAVVHl9Hao+vL 77o9A80+PoOq0SBJf+ohN31dPUpYcTDanK03/b0gQrT4fXDTe4aJLaw7CfjTaphc0jPp b4k2Ud78sSGGU2XAbydlNrCa5/zHv5aQR+txdW50SJRodtzXOJv+xiUgy9pjcDDTcS1p lAFv7cxvJd//sNXKZNkpMuA7dwYI+/BbX/65LI6qr7puluiBACPxQyyqgtq1CFw10Czj TvPQ== X-Gm-Message-State: AOUpUlE6Jj+ppyDiKbNYmvRe35Ur+Cy/1rUdFdM+snKTDfSarXfnhmWM nUxm2Yg7Lf/8zKtnOIeOTSM= X-Received: by 2002:a2e:1301:: with SMTP id 1-v6mr15545786ljt.56.1533661822563; Tue, 07 Aug 2018 10:10:22 -0700 (PDT) Received: from z50.localnet (93-181-165-181.internetia.net.pl. [93.181.165.181]) by smtp.gmail.com with ESMTPSA id f18-v6sm325264lja.85.2018.08.07.10.10.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Aug 2018 10:10:21 -0700 (PDT) From: Janusz Krzysztofik To: Boris Brezillon Cc: Linus Walleij , Jonathan Corbet , Miquel Raynal , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Tony Lindgren , Aaro Koskinen , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-mtd@lists.infradead.org, linux-doc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik Subject: Re: [RFC PATCH v2 05/12] mtd: rawnand: ams-delta: use GPIO API for data read/write Date: Tue, 07 Aug 2018 19:11:22 +0200 Message-ID: <1593487.Cmi0mten1c@z50> In-Reply-To: <20180807190627.4340aade@bbrezillon> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180806222918.12644-6-jmkrzyszt@gmail.com> <20180807190627.4340aade@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 Hi Boris, On Tuesday, August 7, 2018 7:06:27 PM CEST Boris Brezillon wrote: > On Tue, 7 Aug 2018 00:29:11 +0200 > Janusz Krzysztofik wrote: > > > Don't readw()/writew() data directly from/to GPIO port which is under > > control of gpio-omap driver, use GPIO API instead. > > > > Degrade of performance on Amstrad Delta is completely not acceptable. > > Can we have numbers along with information about where the overhead is > when using gpiod_{get,set}_raw_array_value()? Yes, as soon as I get physical access to the device, probably this or next weekend. Thanks, Janusz