Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4175765pxf; Tue, 23 Mar 2021 04:50:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyI3aeiH+GLnxdOIbzvza/tTKfTl/FEZUGM05N0nN9Gz1aZ34sSYyWW80ykB7sbklUfkYO X-Received: by 2002:aa7:c403:: with SMTP id j3mr4186941edq.137.1616500259324; Tue, 23 Mar 2021 04:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616500259; cv=none; d=google.com; s=arc-20160816; b=kg+AnKk1xal6C8xVAJIfbjQoxEGMr7JeEp01SUjG1MrUVH4uSZwMw8cIQFYLOFwCxt xEKiDRhnj/D2TPiM8/0AGxCtxT2uF55juu57rhQ6FJ+nzg9ASKx68V/pQWoT9JYXXrqz PzzomZfJHKC9dObyBofGYrsApXnXcptQYnwqCfjynzpb+wOy64p/jL6JcUYNpjZmISdj LQ8KTrFzwTDOVf1hNgDi9XbDfeEdz9EBTjNm858EM0M80mepA6eDzmOd0lZipyjqJU11 b+Rzu2tNgjnXm7ksXZcWCiK6Ejydbo4M3WOkZfB2uGnHBptiVDfR0A+hAJ61ZdF254pP fBSQ== 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=F419BnJhxixFSvZMAKXs4tvDppivStl9M/Uz5fVRylI=; b=vk38GCXCgpdUARoZqFvqO6hQhYvAALmSVIqyQNJzsfm8Hg6luAyalPZ8tT5V/bnxBh o/lOgfH9w36yEzUoXrXpPVRkUcTRgUmPJfIIddWuV+G7PE5Rd9Xnsmkxe9rbns/l4K/1 WoAo6ag1zpt5wj8zbCYPqfTJfsd7MHW1nQKcmuDhIG7IhXZbWyku/8F8K3HXn14iWoJV ZD3Dh5pBgRsxDRzHA1XSuR/nCpdN8yomRjm5Frhra7kwomALE19pHdK2e6hBUkX1/aB4 DSsao5xb5QOb7r7Zmbpzhu5TK7H1CiwXCstlmqVOgB3JWskcvalMaSi3rvMha5mvykiu jkoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=Wy1rSrxI; 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 h16si3444083ejk.221.2021.03.23.04.50.36; Tue, 23 Mar 2021 04:50:59 -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=Wy1rSrxI; 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 S229884AbhCWLr1 (ORCPT + 99 others); Tue, 23 Mar 2021 07:47:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbhCWLrW (ORCPT ); Tue, 23 Mar 2021 07:47:22 -0400 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D038C061574 for ; Tue, 23 Mar 2021 04:47:22 -0700 (PDT) Received: by mail-qt1-x82d.google.com with SMTP id x9so14624518qto.8 for ; Tue, 23 Mar 2021 04:47:22 -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=F419BnJhxixFSvZMAKXs4tvDppivStl9M/Uz5fVRylI=; b=Wy1rSrxIYeID7CuQYaMS0MZRvHoWezSWSA2aD+o8OrBl8/dVc6qlnLFUuRe+cIiWVt lCwdLHNDmrodLM92ArNQMJP9p+EhZSMga5iNEhfXsMUM0LYG1drnVmbUt7ZH/qDHVyRT 9uh8/1gAsQSryCHTjufM8BCuLbB8XjfhmVwG0= 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=F419BnJhxixFSvZMAKXs4tvDppivStl9M/Uz5fVRylI=; b=qNhmwF953hwfa5VnqX4aMoyDT9LiQibfdMqxhbYCMR+puKut83+sIWe/SYLdS6bJFc dQjy1T7d/XaUoXDkbG4Y7xLH72vZeyd7t44A20ymNUhYJ3ZMae/YUf0QMAHxZFBBKABg HyhLvMZig6Ofe21okFSDq2Bki5yDn3z9U5ETYGNbw7BB3t+zryrgmxeL5xVPYxOB+Cfr oRTHT/dX7rgNs7Z4lz8m4ncbeeyW2M7YF1G9qBckLWl1mQ8zPLtaekBlISR4BikKi3jc Fam/rSlU2jPgmGWZjhRFdoXOmI6PRZTdk22JmuCFsz8F0eMneL8yIkPihSLx+hr9A/ym LSNA== X-Gm-Message-State: AOAM531Gkw+ewxBAVwFinKbQuBeR61K+zO8TfF5WatFqPq07yxM46bT6 Q1KJ9RJb8e6JXbsM5OI4i/Ll6W06I+MHNtPsx0B3q/jmHBQKBQ== X-Received: by 2002:ac8:7f53:: with SMTP id g19mr3907305qtk.249.1616500041105; Tue, 23 Mar 2021 04:47:21 -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> In-Reply-To: <20210323113233.3523d66b@xps13> From: Daniel Palmer Date: Tue, 23 Mar 2021 20:47:10 +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 19:32, Miquel Raynal wrote: > You can run nandbiterrs -i /dev/mtdX > > You'll see if there is ECC correction or not (and its level). These are results I get for both of the nandbiterrs tests. # 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 # nandbiterrs -o /dev/mtd1 overwrite biterrors test Read reported 4 corrected bit errors Failed to recover 1 bitflips Bit error histogram (883 operations total): Page reads with 0 corrected bit errors: 845 Page reads with 1 corrected bit errors: 0 Page reads with 2 corrected bit errors: 0 Page reads with 3 corrected bit errors: 0 I guess this means ECC is there and it's working. Thanks, Daniel