Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp968557ybx; Thu, 7 Nov 2019 05:24:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwf/kPnehy/83TD6WjzkChIFY9sAXBUUsB2H9A5Uts7RkmLjdUE2Cr7NX8YKheoif1eOXQ9 X-Received: by 2002:a17:906:3490:: with SMTP id g16mr3054433ejb.189.1573133074501; Thu, 07 Nov 2019 05:24:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573133074; cv=none; d=google.com; s=arc-20160816; b=iE5YsPsZY9uSXmg8hemH0fAdNx42bNdznLAqttGF8faTkq0QSnjuZEJs3yf7LDWmfq Zjjgqup5HjMZ+luonaw9z/Y5kQXUB46Tj9fekQEPcJLAipeyoyqEca9aawOvVc9kZSEw jUG7AlpYwAoe+Nbi/BqGLXetvB9UAOttE4/rQRVpap7Vwy8eBsg3aKudghOJFK5Rk4hA gzW1FrY80WDoGXrtqwNF/awZxkqEOql8j4dTayW5zeCM4Yknql/4WVML9PrdouknPzPn mJAb5ctSa+yQCq8qA4rxdV8jTBcl2LhK9a3DQntllqr5r5uvOZbyOM8KEAfqifba5H1M S3KQ== 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:date:cc:to:from:subject:message-id; bh=1eXclq0GhilFFjFso5kMhfytaPIA+0FN+UtYK0UMxz8=; b=VqCS6xzlGVhxs8MDvtNCPgJEarKjWjhtBQcvPSmvswmWa4T7CxgHt5XMpSdPved3Vq stMMcff+veUJ0PZF55t/wJWp01DMhb1cEbInDH5ccT+zoFFxl6zrKe7+x3yLR21NgcU0 fG5KPPV7kcq7LufojFJhY+KwPeG4+Al2Q3MPRyE2p9oXe/vXnHs+SYEUeF1EUDBBGpSi zJUl9JeCqHREP1RQ/oNU4sFFCXNslv76dYFrUUb0+Xcw63Wvu5FRNYMSRkDqnkgyzt/Z 36lF/paRNJm8mUnH7yp+WcFfxO5geq38nJU20ZNHgq53itmzk4zmzGJ5KaeMRn3RM4FL QuCg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l8si1394755edb.234.2019.11.07.05.24.10; Thu, 07 Nov 2019 05:24:34 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388679AbfKGNX2 (ORCPT + 99 others); Thu, 7 Nov 2019 08:23:28 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:47611 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730980AbfKGNX2 (ORCPT ); Thu, 7 Nov 2019 08:23:28 -0500 X-UUID: 28b3cb1bd4964f4eae1273d818736ca6-20191107 X-UUID: 28b3cb1bd4964f4eae1273d818736ca6-20191107 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1384943116; Thu, 07 Nov 2019 21:23:24 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 7 Nov 2019 21:23:23 +0800 Received: from [172.21.77.4] (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 7 Nov 2019 21:23:16 +0800 Message-ID: <1573132996.8833.3.camel@mtksdaap41> Subject: Re: [PATCH 1/2] mtd: mtk-quadspi: add support for memory-mapped flash reading From: Yingjoe Chen To: Chuanhong Guo CC: , Mark Rutland , , Vignesh Raghavendra , "Tudor Ambarus" , Richard Weinberger , , Rob Herring , , Miquel Raynal , Matthias Brugger , Brian Norris , David Woodhouse , Date: Thu, 7 Nov 2019 21:23:16 +0800 In-Reply-To: <20191106140748.13100-2-gch981213@gmail.com> References: <20191106140748.13100-1-gch981213@gmail.com> <20191106140748.13100-2-gch981213@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-11-06 at 22:07 +0800, Chuanhong Guo wrote: > PIO reading mode on this controller is ridiculously inefficient > (one cmd+addr+dummy sequence reads only one byte) > This patch adds support for reading from memory-mapped flash area > which increases reading speed from 1MB/s to 5.6MB/s This may not be true for all MTK SoC. Which one are you testing? Joe.C