Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1001683imm; Wed, 18 Jul 2018 14:44:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdPQMrRZuJTuMujbYP2SPN2HGKiLdTVh1ME1bcvCXK2OL9V6h/63E1Nn8kafySbDO75aAxr X-Received: by 2002:a62:1c16:: with SMTP id c22-v6mr6825795pfc.148.1531950251271; Wed, 18 Jul 2018 14:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531950251; cv=none; d=google.com; s=arc-20160816; b=azHCkDDzL7hc8hwU0ZUMAW7Dp6qUpsfjK3eBIeXZT51wy8i28pXBk/stlY6JbWWsTN 4mnJqUs1/fszfVcCdvKSD/dHXQmjtRFW85VtCdG9YO6I+kku1d6jVLy+v7uPqgU2jmSy 26KT7i7/QAQ4XFAWCavp7xzynX2j/7YRvmajrjG9KLRp6h7w0paMutoBoQ6mncXLTuV6 RjBf7mbjggQjYATP8ich8CxTlbLK3pkn++aw0DlNt5aZrQd/lnQ+X+j69+xWO0BajdUj pTfv5Hf/3yrJ1ASZ/EwR2eLWdcI5kVusOI8J3vGNTKqBrwuctms+gJ9sMvOhBs8+DVb9 Do4w== 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=tiK/3zqkizuF4D06kfga+NBZXPzDAb6ctCsVlX36weI=; b=XhdnpDt/Vhmjcv3iOUP9sl2mhR/xSeOdml/HGpOuFW6JythEwzJV2cIf3WQtvjinFV 8WvbVUlyiCc2bclPB+o/F60I4h2Y+GwBxp5/me3/thP+mSO3XuDSU9WVRfQuqv5BD1ak A9RBSyAyDOkfAp/Ol1ihLkI1FYBDOMcRzrMgkVaLJ373Fs7cAUEdsaYNyekkg5/t8Wge MQsiPA+lMurXWLeklK0+ltkWyVsVVKHOZXpT3A6GMrxcsnUPj0AOTnYNxZO8YxctdlbC VQuXe5EPMPZE+eMmdOaHTRrq9udkmBgqmsrQ/SWnSXNXh1zB7XHHzUPEttl9AoLndK8S FvcQ== 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 b9-v6si1214379plb.313.2018.07.18.14.43.56; Wed, 18 Jul 2018 14:44:11 -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 S1730600AbeGRWWs convert rfc822-to-8bit (ORCPT + 99 others); Wed, 18 Jul 2018 18:22:48 -0400 Received: from mail.bootlin.com ([62.4.15.54]:41776 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730255AbeGRWWs (ORCPT ); Wed, 18 Jul 2018 18:22:48 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id F192020731; Wed, 18 Jul 2018 23:42:56 +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 5C8DC206ED; Wed, 18 Jul 2018 23:42:56 +0200 (CEST) Date: Wed, 18 Jul 2018 23:42:55 +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: <20180718234255.4e51c188@xps13> In-Reply-To: <20180718234144.158217f2@xps13> 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> <20180718234144.158217f2@xps13> 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 Abhishek, Miquel Raynal wrote on Wed, 18 Jul 2018 23:41:44 +0200: > 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. Could you please update the commit log to reflect this aspect? > > Thanks for the clarification. > Miquèl