Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4865339pxb; Tue, 28 Sep 2021 05:58:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxht/K5HwgzWsF4rQrkCeRYRCyPPoISOhZq0OKn8R+lH7SZKbPoVp1fUhyjconpwQsciAM4 X-Received: by 2002:aa7:c50e:: with SMTP id o14mr7549198edq.96.1632833882349; Tue, 28 Sep 2021 05:58:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632833882; cv=none; d=google.com; s=arc-20160816; b=DIRHuLE/6E5eOWY7A7i+kpeKB7GHrBQOOnFqjrc9wVcQ+/jaTDsNfeKOnbw+VobTBx ChN39WhaUCtC9jnJzCm8l7j+lcDvFCJf/wOik6Gl6poP0exjkGOd5NihnI1zJ332HGvG dtV4kfQ3CHBMGztu1+gyNda19a1fcvF3fllnbPo8HcdpA+yLjl2WnBsxIfouobK9U985 GAUMYJSXxpVbrDbWqVx2LOXOgscv6dO0Mz87POsM7P48XQg9piGkch+V9w6B7bbhtjNq tlGGQJgFnrOsvZcTc0iMdxI4rEhCz1y86ERktw8VIVBKk+9gfXLLbdZdP/AtLR+LO4qQ L6fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=aLDYQtXiJcP8q8oI6TZiDSaASzR8bgsf2SINqDJIBBc=; b=Tlmc+82wi0soVQMZb2eqW4IOEOJ0+OxAu6ULJ8PUyrw2g2sBPq1CFHB12LjD6PkFbZ AANYckcbhxKhMS8SiQbqioXsszJsOW/JdjvxxuigBMFkRA8XZj8S9bFcLpNzTLVzbWnn LxitsGwCrNdi4sT3X0806SjB/Pnj3BwQX4nzEoltRFhO1svN82f/gHz3RqULm3W9vJMq mqf5hYF23usvDX0CWp8B0amb5L6Q4Scn1TycpfHg7aqaKqlj08BeC3orp4LmrXFD4pVI 20yte3jOYncDX4IMKZCAgndh8DBD5fLNVfrQPXKQ86iF7RofAv/dc8rpvWbaAeX2aIss 2mKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q1si20636062ejr.43.2021.09.28.05.57.35; Tue, 28 Sep 2021 05:58:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240780AbhI1M4X convert rfc822-to-8bit (ORCPT + 99 others); Tue, 28 Sep 2021 08:56:23 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:54645 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240731AbhI1M4W (ORCPT ); Tue, 28 Sep 2021 08:56:22 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 0356F20002; Tue, 28 Sep 2021 12:54:41 +0000 (UTC) Date: Tue, 28 Sep 2021 14:54:40 +0200 From: Miquel Raynal To: mdalam@codeaurora.org Cc: mani@kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, sricharan@codeaurora.org Subject: Re: [PATCH 3/3] mtd: rawnand: qcom: Add support for page scope read Message-ID: <20210928145440.758ead6b@xps13> In-Reply-To: <8765976685ca3a04af1c102a69c9ca63@codeaurora.org> References: <1631699851-12172-1-git-send-email-mdalam@codeaurora.org> <1631699851-12172-4-git-send-email-mdalam@codeaurora.org> <8765976685ca3a04af1c102a69c9ca63@codeaurora.org> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, mdalam@codeaurora.org wrote on Tue, 28 Sep 2021 17:51:00 +0530: > On 2021-09-15 15:27, Md Sadre Alam wrote: > > QPIC V2.0 onwards QPIC controller support enhanced read mode > > like page scope read and multi page read. > > > > In QPIC V1, SW is needed to write EXEC_CMD register for each the driver needs to (same below) > > Code word and collect any Status related to that CW before > > issueing EXEC_CMD for next CW. > > > > Page scope command is truly a page mode command where SW is > > required to issue EXEC_CMD only once for a page. Controller > > HW takes care of Codeword specific details and automatically > > returns status associated with each CW to BAM pipe, dedicated > > for status deposition. > > > > With this command, SW now can issue one read command for a page > > and upon receiving completion interrupt, can process status, > > that have already been deposited in memory through status BAM pipe. > > > > Signed-off-by: Md Sadre Alam > > --- > > drivers/mtd/nand/raw/qcom_nandc.c | 77 > ++++++++++++++++++++++++++++++++++++--- > > 1 file changed, 71 insertions(+), 6 deletions(-) > > Thanks, Miquèl