Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4031804yba; Wed, 17 Apr 2019 03:08:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQ3wDO0Uh2sxsYv04GMqxEjLWu7RAMfszz0Hw50Q0k98yy33Yy1Fh4OcM/DOz54RNrK+L5 X-Received: by 2002:a63:1e22:: with SMTP id e34mr4022160pge.69.1555495716869; Wed, 17 Apr 2019 03:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555495716; cv=none; d=google.com; s=arc-20160816; b=Z2NRWQlHE7PlCVs/klJmlfJ4SnbzMiP4mTn4/rJ1UaEGvId6gUmvEAm2SE+OurXYfz x4xeEljG3oudADZWcPsLtmuTPrcIlwRV8xMgkzaCoUYqXOjXFMPnQRZISMuLLejrdbI7 PcwNTcDKJOZfnixYNuO2R26YxNLneariJ1eqaASUrCgGN7Wj2J620qg5UgUoUAfFm1vt C1x+KT55fA4sShCiaLaRBvmbmcgFYar91Vm4/cALkGIfG5jJM/omOk0a9PY91OTKNzd7 kV6DAJRAA4EF7oj1bNF7crGvyO4bISx1bVlLmp/1vpmlPR4aJHwP9tIqSEWAxlrXM7d+ 0YkQ== 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=QYIks60hdE4WO6Rq1SXRB11FE66oXzDr4KTQf2yL8j4=; b=GVGM8RMe+7LgjZC3ua2IvflYppr89X54MEQrEj1KgK5sf4Nk91uhl69iz5C78uPvsB sKQslgXohqGJh9a/UTfuRRvIdPTQT200tj2zJaNu1Hv7yTxWI+FzWKn98v8Jr54WrzU6 nHKMwUQcAdDvaAd5ZIBxPHMY0OP4Mwk1DZSD3IgsFQvXASaUm6YBoz2zAsBujPx32uWT I/mGVPA3rBGiNQ9L0Ck6oA8QciTj/RiChl1XjaesSPE1BoKQPblb4kICEsOin+/1jUTS x/mHhdNyjjGXooGTuG/+hm024iMIjoNHC8d2TD5IjaAC6uwKGzu5Uh7Tk2FtDQy0YUtf YA4w== 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 d39si27626635pla.304.2019.04.17.03.08.21; Wed, 17 Apr 2019 03:08:36 -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 S1731746AbfDQKFa convert rfc822-to-8bit (ORCPT + 99 others); Wed, 17 Apr 2019 06:05:30 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:35831 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729039AbfDQKFa (ORCPT ); Wed, 17 Apr 2019 06:05:30 -0400 Received: from xps13 (aaubervilliers-681-1-42-238.w90-88.abo.wanadoo.fr [90.88.160.238]) (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 8745020000D; Wed, 17 Apr 2019 10:05:27 +0000 (UTC) Date: Wed, 17 Apr 2019 12:05:26 +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 4/7] mtd: nand: Make flags for bad block marker position more granular Message-ID: <20190417120526.1fd9130c@xps13> In-Reply-To: <20190218104122.18788-5-frieder.schrempf@kontron.de> References: <20190218104122.18788-1-frieder.schrempf@kontron.de> <20190218104122.18788-5-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:45 +0000: > From: Frieder Schrempf > > To be able to check and set bad block markers in the first and > second page of a block independently of each other, we create > separate flags for both cases. > > Previously NAND_BBM_SECONDPAGE meant, that both, the first and the > second page were used. With this patch NAND_BBM_FIRSTPAGE stands for > using the first page and NAND_BBM_SECONDPAGE for using the second > page. > > This patch is only for preparation of subsequent changes and does > not implement the logic to actually handle both flags separately. > > Signed-off-by: Frieder Schrempf > Reviewed-by: Boris Brezillon > --- Reviewed-by: Miquel Raynal Thanks, Miquèl