Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4029811yba; Wed, 17 Apr 2019 03:06:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxU+gjlPil3QwWmzu/P9sGThHVIwonyDRkCl8AOMXSJE/kVE1MQYjgffFwOAkoROhd3LK2I X-Received: by 2002:a17:902:e110:: with SMTP id cc16mr1236314plb.147.1555495568045; Wed, 17 Apr 2019 03:06:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555495568; cv=none; d=google.com; s=arc-20160816; b=0qe/zTKqLAX1BmdQZ6UWwFTgZwlgVpnM8N8IVErMVQ55c4nEkAmTCrEkPszuD8FRa5 vnPskLJYPEbKRQBsMODbO5PK72cbQp4O1dCLIvtdgQ1uDJE1nIAJxZrdmYiMdt4AONw7 ZvLa15/hOKAqZmQByIiqFe/CDIUww+NA9gSueoDG/ubdHwbWOcykNayiJEXSFAL7El2V CsPaJdcm79ku7/XfuDDthfompn4FYA5kA23hykuRukise+2b6QegB4fOg11yB+Qyae88 kRThs+/V4/MIajNtOvGnVzYSDIJt8Jt+Zqg/tAPkOU2UsYchhI5+l3CAHGkleongxq6l 44PA== 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; bh=YHFZRVKC2Hn+dZ/w++yAuyfOiDT2Pnof7rjyEprMR50=; b=CdvFi3EvkUciqNsLA/uXugPHW4cy1ICi8m43KXuC9DLXvj+LdU+hZjTOc4AvP6lc9W J/OUSQmZjLyMreo6x7ZadUutxv0ESl8r1B9EemPCzE1Aw4Oaorhu0Cg2AXz4eTr0eSmb HLsJiWncalOi1Ddy2HIneH8YP6ww/XA1AhWt/uJa/4YgiGlyM96BJhz8P1u7FBNCp1xc +TzFts0+w87b1ov05n+LrBu/F1imZpLoaFG5hovPnLchlWhkbH5hU6YNaTFfiyO1qvfC bKSyLNTLLRi0BAv8LO9g6eAj37lLnlP+2azUTU4U1r/RaC+WNWZQMk0jUhCtJH25qskN ciPQ== 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 i3si50038616pgh.458.2019.04.17.03.05.51; Wed, 17 Apr 2019 03:06:08 -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 S1729779AbfDQKDh convert rfc822-to-8bit (ORCPT + 99 others); Wed, 17 Apr 2019 06:03:37 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37727 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726237AbfDQKDh (ORCPT ); Wed, 17 Apr 2019 06:03:37 -0400 X-Originating-IP: 90.88.160.238 Received: from xps13 (aaubervilliers-681-1-42-238.w90-88.abo.wanadoo.fr [90.88.160.238]) (Authenticated sender: miquel.raynal@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 521AEE000E; Wed, 17 Apr 2019 10:03:34 +0000 (UTC) Date: Wed, 17 Apr 2019 12:03:33 +0200 From: Miquel Raynal To: Schrempf Frieder Cc: "bbrezillon@kernel.org" , "richard@nod.at" , David Woodhouse , Brian Norris , Marek Vasut , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v4 1/7] mtd: rawnand: Always store info about bad block markers in chip struct Message-ID: <20190417120333.3dc535e3@xps13> In-Reply-To: <20190218104122.18788-2-frieder.schrempf@kontron.de> References: <20190218104122.18788-1-frieder.schrempf@kontron.de> <20190218104122.18788-2-frieder.schrempf@kontron.de> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; 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 Frieder, Schrempf Frieder wrote on Mon, 18 Feb 2019 10:42:39 +0000: > From: Frieder Schrempf > > The information about where the manufacturer puts the bad block > markers inside the bad block and in the OOB data is stored in > different places. Let's move this information to nand_chip.options > and nand_chip.badblockpos. > > As this chip-specific information is not directly related to the > bad block table (BBT), we also rename the flags to NAND_BBM_*. > > Signed-off-by: Frieder Schrempf Reviewed-by: Miquel Raynal Thanks, Miquèl