Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp257374pxv; Thu, 8 Jul 2021 01:44:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ12jyIzeqy0ddn5VYWW0LyBJl1faaSwoGtkVv2xx44nHki+aI8SKwl7J1v1pMzCEZPwpc X-Received: by 2002:a02:6c15:: with SMTP id w21mr26093252jab.103.1625733855508; Thu, 08 Jul 2021 01:44:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625733855; cv=none; d=google.com; s=arc-20160816; b=D/aTsKqm6PlG8xzpDXjveTwWSo48u8ZTNvROXiF0ilLcQDSJbPHd8qRwUGXraklpMS V9rvJntPPQXYGkY8EIFrCguZxmwWblBROjb5ZAxnXGhloX6CiZpj96UCIMSgYB+DlBM2 5EdMDW8/uIyJZbpm0W4F/RHga4pg3wrrRMMm8WIcHrQsdF+tA8ko8+keXOvSU44tQaYx LlYYoIZ2qiq/a+QsKvNyQENklkIOdd/OwLTG9SWzzjBSGpXb/iIzT4JzzzwVRkdHmJIz 5fz4R+wHiSyyz+OBjMBuYM3Lty78pxUJpUOBzyG5TcdiQNXfvKw6/cVjT14wFJwUQKt5 BtSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=Mo5rn9t5Ua3HHAyBT6SB4bbVzAIQ4ApHmyY/cAc+fGM=; b=KupcB4+aZOJKLe9xgyQ37RFocNXEwD1MF5cBETE4LabDKYl3PnHznL+tp34ZR/J87h kEgyJvKwljAF8urrHmtSJr/7DU3jrag8YXVzxrMfM7Aa2kG/cvItqpVH9EckNYd0w8Q7 Xcte41AGsZRj81hf2olkBwg5fiO841WrW8vFCY6tNC/nRh6u0m3zxKNhFn26zoIr5Tic mY8npfI8ldEy6nFMo7zXUqC0WWwM8Pi3NZOXumllsV44pVMqpqyzHlRc2c7TpgbJrQl6 0syJKx/FTLBLLRFC+UNI2XaXfcDa4SoEblLZ/8PUC543r+eqws2GsE+mhpxqFKLO1yUL 5gWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@phytec.de header.s=a4 header.b=g7KaKGzI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v14si1734105ilj.0.2021.07.08.01.44.04; Thu, 08 Jul 2021 01:44:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@phytec.de header.s=a4 header.b=g7KaKGzI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231332AbhGHIpl (ORCPT + 99 others); Thu, 8 Jul 2021 04:45:41 -0400 Received: from mickerik.phytec.de ([195.145.39.210]:45096 "EHLO mickerik.phytec.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231192AbhGHIpk (ORCPT ); Thu, 8 Jul 2021 04:45:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1625733777; x=1628325777; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Mo5rn9t5Ua3HHAyBT6SB4bbVzAIQ4ApHmyY/cAc+fGM=; b=g7KaKGzIOouPYM4CIV10RQu2JKG+OHUm41+fDwxaCM+rioTxAmKPJp1CsOIr1v2N oTu9B5NBLgKjbvtiSDLzwlI0kUmsbT5zhqavLFQcgvlUW6Pg0hx6R3aUB08ML0Ys gWfstBFUvpoarc5/Aj+ZsIkR9Gq67aSe3sVIEOxzZwk=; X-AuditID: c39127d2-1d8f870000001daf-64-60e6ba91bb8c Received: from Diagnostix.phytec.de (Diagnostix.phytec.de [172.16.0.119]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 83.47.07599.19AB6E06; Thu, 8 Jul 2021 10:42:57 +0200 (CEST) Received: from Florix.phytec.de (172.16.0.118) by Diagnostix.phytec.de (172.16.0.119) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Thu, 8 Jul 2021 10:42:57 +0200 Received: from Florix.phytec.de ([fe80::a802:84f9:c56c:4c6d]) by florix.phytec.de ([fe80::a802:84f9:c56c:4c6d%7]) with mapi id 15.01.2176.009; Thu, 8 Jul 2021 10:42:57 +0200 From: =?utf-8?B?U3RlZmFuIFJpZWRtw7xsbGVy?= To: "ada@thorsis.com" CC: "miquel.raynal@bootlin.com" , "dwmw2@infradead.org" , "kernel@pengutronix.de" , "mchehab+huawei@kernel.org" , "festevam@gmail.com" , "s.hauer@pengutronix.de" , "richard@nod.at" , "linux-kernel@vger.kernel.org" , "dan_brown@ieee.org" , "boris.brezillon@collabora.com" , "vigneshr@ti.com" , "linux-mtd@lists.infradead.org" , "kieran.bingham+renesas@ideasonboard.com" Subject: Re: [PATCH] mtd: rawnand: nand_bbt: Skip bad blocks when searching for the BBT in NAND Thread-Topic: [PATCH] mtd: rawnand: nand_bbt: Skip bad blocks when searching for the BBT in NAND Thread-Index: AQHXab81XYl8ULPcl06Cu0VqfeH4Uas2DpgAgAEel4CAAYhKAA== Date: Thu, 8 Jul 2021 08:42:57 +0000 Message-ID: References: <20210625123821.207458-1-s.riedmueller@phytec.de> <20210706181308.1aa21d00@xps13> <2691583.eailiBHnQg@ada> In-Reply-To: <2691583.eailiBHnQg@ada> Accept-Language: en-US, de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.0.116] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJIsWRmVeSWpSXmKPExsWyRoChXHfirmcJBusuGVr0HWSyOH3mFJPF kb7NzBYTV05mtnh41d9i1dSdLBafrnUzWlzeNYfNYnfTMnaLh7OvMlocbt/HajF55xtGi7/b N7FY/D/7gd2Bz2PemmqPHXeXMHrsnHWX3WN2x0xWj6cTDjJ5bF6h5bFpVSebx+Yl9R435xV6 9P818Fg39z27x/Eb25k8Pm+SC+CN4rJJSc3JLEst0rdL4Mq4f7CTsWCfR8WXriOMDYwX3LoY OTkkBEwkFi69x9LFyMUhJLCeSeL9v2OMEM4TRomDz88wglQJCWxklNjWaANiswm4SHxu+8YG YosIqEss/P2bCaSBWeAsq8T7rTeARnFwCAskSvx/lgNRkyRx//EKdgjbSaKp4xgTiM0ioCJx u+sNK4jNK+AmcfnjZzaIXZUSLfNnM4PYnAKqEqsv7QCzGQVkJTob3oH1MguIS2x69p0V4gMB iSV7zjND2KISLx//g4orSLT1dDKBnMMsoCmxfpc+RKuFxP/eqywQtqLElO6H7BAnCEqcnPmE ZQKj+CwkG2YhdM9C0j0LSfcsJN0LGFlXMQrlZiZnpxZlZusVZFSWpCbrpaRuYgQmj8MT1S/t YOyb43GIkYmD8RCjBAezkgiv0YxnCUK8KYmVValF+fFFpTmpxYcYpTlYlMR5N/CWhAkJpCeW pGanphakFsFkmTg4pRoYCxj55D2t9Ny4gyJ/3d9ZY7P/Bq/5w3WNRe6TDsekdndXM9/avSaw 733P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