Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1001068imm; Wed, 18 Jul 2018 14:43:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfUAIR9ad6bIYRlbQFWnX6RdFo4qjXqmI7MeFBLLOodh1pQb//mFxCc49U+/fvNiHkhBoHG X-Received: by 2002:a63:1350:: with SMTP id 16-v6mr7325233pgt.214.1531950199139; Wed, 18 Jul 2018 14:43:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531950199; cv=none; d=google.com; s=arc-20160816; b=XtxdUcYEZGqzjeeBV3Hqft3SI5g4BA0lV1Mpa7KGBmhtenEAN/60o6xG2elWiIJihS nfRVNOtjwdgWv857+FHayB9+U1vjZnrhLY+RAxN1SxcKRGwGe3DVsF3yq8coKM5Iib52 v+e3itMxEDOdbbEMAHpU3rsB3QNB/Y+jwtJ3hgufmxSL24KJhIZp4krMVD8OshXr/h+9 qpLcHG8PMtTS8YbCI/oqTUYTv26Cg43J1v7WdAC1sPzlypOKxe1u/SvxudL6bt5o5iNC ArhPFZlGtQGE9Tmqvds+GS8ZZ5R8bNCBk4O0LHvEZIKFNAc8taaCosTEWw51Nh8rCszC yOeQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=TmLacfQCnIRPUCqpk2473Zl8xGRs420c2dQWWOUseGc=; b=OHnrobA+Y/dubzQ/m6WzVmvjUcITfvnUh+JWZC//VW2q2pka4qGKdF1fspICy43bXs mEZgyBKblWzMtZR1sfsAZRjUH2hPF/02N9aggMcn0I55veWr4ezY0T7nkxHTqbPH+ozz /216CpiMDWOXumSIdalHQibQeSYhwq/gSw86qlcvsXrc1P+b28y4trpAExDTGrcccSS8 e1R5vjtDycn2RYGC+fHDWllZY1D8havtOa9+OY8DqfVvZVY+fNE+b75kkJX9u9rj23DC owvxMKVDERUgZWDIZMyELEgV1B3Rc9gDDDNsEWMc/j8jiscqyDsftbIuliJPlLVau+DO cQbA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w65-v6si4056962pgb.377.2018.07.18.14.43.03; Wed, 18 Jul 2018 14:43:19 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729861AbeGRWVg convert rfc822-to-8bit (ORCPT + 99 others); Wed, 18 Jul 2018 18:21:36 -0400 Received: from mail.bootlin.com ([62.4.15.54]:41732 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726992AbeGRWVg (ORCPT ); Wed, 18 Jul 2018 18:21:36 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id B519A20731; Wed, 18 Jul 2018 23:41:45 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from xps13 (unknown [91.224.148.103]) by mail.bootlin.com (Postfix) with ESMTPSA id 23899206ED; Wed, 18 Jul 2018 23:41:44 +0200 (CEST) Date: Wed, 18 Jul 2018 23:41:44 +0200 From: Miquel Raynal To: Boris Brezillon Cc: Abhishek Sahu , David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Andy Gross Subject: Re: [PATCH 4/5] mtd: rawnand: qcom: update BBT related flags Message-ID: <20180718234144.158217f2@xps13> In-Reply-To: <20180718233637.49a39751@bbrezillon> References: <1530863519-5564-1-git-send-email-absahu@codeaurora.org> <1530863519-5564-5-git-send-email-absahu@codeaurora.org> <20180718231526.38046099@xps13> <20180718233637.49a39751@bbrezillon> Organization: Bootlin X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Boris, Boris Brezillon wrote on Wed, 18 Jul 2018 23:36:37 +0200: > On Wed, 18 Jul 2018 23:15:26 +0200 > Miquel Raynal wrote: > > > Hi Abhishek, > > > > Abhishek Sahu wrote on Fri, 6 Jul 2018 > > 13:21:58 +0530: > > > > > Remove the NAND_SKIP_BBTSCAN to use RAM based BBT. > > > > Unless I am understanding it the wrong way, NAND_SKIP_BBTSCAN will skip > > the scan of the on-chip BBT and will scan every block to construct a > > RAM, based BBT thanks to the BBM. > > > > So flash based BBT is already unused and removing this flag is a > > mistake, right? > > ->scan_bbt() is also taking care of building the in-RAM BBT based on > BBM when no on-flash BBT is provided, so I think it's the right thing > to do. Oh right. Then doing so is harmless. Thanks for the clarification. Miquèl