Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4287200pxf; Tue, 23 Mar 2021 07:19:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIPWLcfO7uwb7+qwrGL9WogAUJeo7lSO8u2R7GnMM3VRsFJv37brgOxcX7QSn1KC5FpH0o X-Received: by 2002:a17:906:c9d8:: with SMTP id hk24mr5270285ejb.480.1616509193215; Tue, 23 Mar 2021 07:19:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616509193; cv=none; d=google.com; s=arc-20160816; b=x5pBIiR3Ko14ikGcFNcVh8ypo87U9SpSMsQZwYH1suDsFT3CSt85V0nK6xmXWBMuWM 49zwsPIww1M6hb1AF/fteUN6XRZoUf7EBggDA+qh7j+CdxoPftazrSB3hkVgUzBlGt6k X94cmGLDTxKF4hlFQO2Y45t15cXJNTrn1CUc9qR/M4Shg8qJK5vs3o0jtUiuQbzUsGUj iwwsAOL8BZ88gY2UotPYHuS2siFU463dqLr28XTKX6vJdtdeQKYj/DtnqXNzFRqOQV0i qnDb0SqNMNvSAG2x8EhUPEPJT2S26kgNelcehslBogQAOm2UBcqc2ZIr2DVh/CnfsSj9 LctA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8meLTlZiRn44+DNLKrLTAm0jlzGdfeXlOKDf3nF1S5M=; b=EAMnP3bFMqFsYH8pjqJi1yslxmEoDe9WPRKzzt0WVGYwZIhZZXVFmDuMsfbevU6yaz HL8oxgH9XNT/yYt9EccslUO34aNkAfvcF0+vE7ZMIZzIBM8aR0ck8NEyTJS7e0mauKOw Ef5/cnHjYmGeQ98WKOkUOkKs427KNjdNL4RXkBq0Sdd2GkLf3ODuYAfC8DilZVCYh3A4 znmAM5j5XyRXCcZ47uYgqFoVlSBM6e2oxd3fz3OPxXxjBHiDmOFk5aAoOUlfQx8YZuZp jAiEk73OUE8mothwYLrpYX0U6RBq3kbzu1oWfJ7Wes6CZ1xj40DFY9Sm2vPj4MD24RKu vKEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=n+CyHXpC; 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 hd31si11892282ejc.257.2021.03.23.07.19.29; Tue, 23 Mar 2021 07:19:53 -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=pass header.i=@0x0f.com header.s=google header.b=n+CyHXpC; 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 S232209AbhCWOPM (ORCPT + 99 others); Tue, 23 Mar 2021 10:15:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232155AbhCWOPM (ORCPT ); Tue, 23 Mar 2021 10:15:12 -0400 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC8B4C061574 for ; Tue, 23 Mar 2021 07:15:00 -0700 (PDT) Received: by mail-qt1-x834.google.com with SMTP id l13so14953825qtu.9 for ; Tue, 23 Mar 2021 07:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8meLTlZiRn44+DNLKrLTAm0jlzGdfeXlOKDf3nF1S5M=; b=n+CyHXpCvNqgjqFQCw1Ureb1Am9mXfUzWPryDTmL9fn8N185+8k0ujfQ90CxHy+7gw UuBUGTldeK/8XlUoY9uQctm+OnklBCyJkoRD5xytOFFWWh0e311QC6oG4Hm5YIOK20Fp 1u8Wa6FaiMd6Y1rqA7D3tAQurFqw+XEnoo9Ok= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8meLTlZiRn44+DNLKrLTAm0jlzGdfeXlOKDf3nF1S5M=; b=D+TOwQ0rtm32/Pf2L8fKWA9jaAEmkiHuGVJuYuodJxfZOrKdyVkWz06e4vrH4eOyY9 4m4s2z4HHnQOCnMEKY8I1lunxxTH6HqNFqrki/mmYfUfS1RxtrA0Q2Hs4xk7JFPhhMRr 500Dsee7kCEzs9hJZUdyh+WbmBl7gOS6KciJmM8lS4Wi+kZL8cdArX2Xt2x3Yqsttu1k Z5AI3/heHQtTVSZU0Dt8spDZS6e0wRWvbfKqhN41XESALpzgm5b9BYJMkzFf7VUfvT5E DIvC4i+TZJNtOk/2cLESDmWqC7vLoDxw83JClsvoeRh0Rs/0Q7dlOQNXE9oYXBwKl1vu dmbw== X-Gm-Message-State: AOAM530hrdOqV/UIfs9BLUvXLym1E2J6WBWkMPedOHCD4wL20sH5uDjw +21xhDs8yltKtiXGHhm0XOC85qeqqV/rGE13MVdyhg== X-Received: by 2002:ac8:7f53:: with SMTP id g19mr4492681qtk.249.1616508900014; Tue, 23 Mar 2021 07:15:00 -0700 (PDT) MIME-Version: 1.0 References: <20210213095724.3411058-1-daniel@0x0f.com> <20210215112409.1a755bf0@xps13> <20210215121653.4edd86c4@xps13> <20210322193213.18520b9a@xps13> <20210323113233.3523d66b@xps13> <20210323150603.6b942a60@xps13> In-Reply-To: <20210323150603.6b942a60@xps13> From: Daniel Palmer Date: Tue, 23 Mar 2021 23:14:48 +0900 Message-ID: Subject: Re: [PATCH v2] mtd: spinand: add support for Foresee FS35ND01G-S1Y2 To: Miquel Raynal Cc: linux-mtd@lists.infradead.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miquel, On Tue, 23 Mar 2021 at 23:06, Miquel Raynal wrote: > > > > # nandbiterrs -i /dev/mtd1 > > incremental biterrors test > > Successfully corrected 0 bit errors per subpage > > Inserted biterror @ 0/5 > > Read reported 4 corrected bit errors > > ECC failure, invalid data despite read success > > This is not a valid behavior. There is something wrong with the way ECC > status is read/retrieved. The read should indeed report 4 corrected bit > errors, but then the data should be valid. Here it means that the > introduced error appears corrected but in fact is not. > > We need to understand what status are available and write the > appropriate vendor code. Ok. Glad we checked then :). Before sending again I will recheck how the ECC status is read and fix that up. Thanks, Daniel