Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp997804imm; Wed, 18 Jul 2018 14:38:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpczFvJecf99Zlb9prazfczFD0DlBVh1cQi7OAhwndY8//Io+QFiFuAFQ3uGDGZjr2HTiOwc X-Received: by 2002:a62:ed5:: with SMTP id 82-v6mr6879639pfo.198.1531949919782; Wed, 18 Jul 2018 14:38:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531949919; cv=none; d=google.com; s=arc-20160816; b=Wr/imX2r1Tc53gIFv7LQSgRFW3Nlaff1vdGbPI3cJTBvSCY3XFXuwvLGWVGiHXEc9u sTOoS+ueGXZj4weLiAvAwjwwM4drx+cItK343Ci6ZH43dWJtxMzCBYbLFELXELYT2dYk Fm7EqvOJj0wJW6QACEb5gAYrW9hOF+zKxLSqt+qH3iP2b3+0fhoNxtnjPzFFTZ7mv4tX kON/mZh2RkFv9K7Ui2P0w3Vt/BMp7idxpcQhwwB1lRYysMKOAYn+yUd+A2EZDD6CG77R SVQulCe2EgC/OBfQqvbr+h7vxNZB5e3GC1op+XABYT6c0UcDnQH1yu3woGM17r2dv5Yy JpzQ== 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:subject:cc:to:from:date :arc-authentication-results; bh=nSjpdf2X4s8jbFxLezy3N9UaB6nuQf0sQxDkm/uIlU8=; b=TUTWBvnRuP4taZ8+HHbspjUK0IyXiZRWUOZSHPpU2RhPzzKclxAtTvRxTw8pi8L8n2 UhDx2qenOGDBF3GUR4Q8LV4IhZYZ3mvXSUWm2ei1+5xQ6VP2Bz43dj7SVkJLgqap4/nQ tbjhwRaUaAp+s6tGk91bNYDCquwhPJ3EQe4oQnf7Mb6RirRCCvNbd6dLd86YqRqIr4po YjLWc5oKSX8X803i+XUN1UphbGH71ES5xAUTQ2QCn+BVMKfhIGB5UWMGjB8bZYb9WO1b mJ1xlHewtsBmNt3Oc8hcIhT9VzMdprbTK2UzUsPlCxqJgUgwfBjh9hS3NpD0fm05rBLc pVMQ== 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 f32-v6si4359372pgb.506.2018.07.18.14.38.01; Wed, 18 Jul 2018 14:38:39 -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 S1729753AbeGRWQ1 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 18 Jul 2018 18:16:27 -0400 Received: from mail.bootlin.com ([62.4.15.54]:41431 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726923AbeGRWQ0 (ORCPT ); Wed, 18 Jul 2018 18:16:26 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 4A796207AB; Wed, 18 Jul 2018 23:36:37 +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 bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) by mail.bootlin.com (Postfix) with ESMTPSA id ECA6320766; Wed, 18 Jul 2018 23:36:36 +0200 (CEST) Date: Wed, 18 Jul 2018 23:36:37 +0200 From: Boris Brezillon To: Miquel Raynal 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: <20180718233637.49a39751@bbrezillon> In-Reply-To: <20180718231526.38046099@xps13> References: <1530863519-5564-1-git-send-email-absahu@codeaurora.org> <1530863519-5564-5-git-send-email-absahu@codeaurora.org> <20180718231526.38046099@xps13> 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 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. > > > Flash based BBT is not used since bootloaders > > doesn't have support for the same. > > > > Signed-off-by: Abhishek Sahu > > --- > > Thanks, > Miquèl >