Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4132480pxf; Tue, 23 Mar 2021 03:36:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxa+H3JCSDkxnKZqS2OzSdw0QRdQZUCC3n15RB500yv7NwI1+bOsY1NnZMrGCV4W5z0HMJH X-Received: by 2002:aa7:d1d0:: with SMTP id g16mr3893868edp.358.1616495794051; Tue, 23 Mar 2021 03:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616495794; cv=none; d=google.com; s=arc-20160816; b=K2ECBiWFujaKqKshWAg0Ke5xVJY4oighaN6GaxML59cnufEtJfSAEifgtS74dvSaWB IWi5nsKV+WEuNLo42RazmxfieIIBqHme4x2Wlu04EEZ7wZFe1fYMRW9nKgaI9fX/1x8p FQz/1RsaWh0QoRIOXpbrKBKg/BwIqFFAMu2XYTVqC+ZmJBUW5bmOjRXQ2jCoeFYqj4WX UMBk96O6+1Kf8/czr9eF0aYjk8127hrP+TSHL3WFhtUwT5bAIcnAje3RKyGm18rCDl5X 0oXkIn8PZkePfRw+qYURewBVOP+wA0AdhPhLNwLFgpeKJC2VEJI8lDGnfkrEWwWm7AYB zzSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=XhuTlU/JupC/ZK4p6lZnGwrLrVkni4qkXcWkD6wEtsU=; b=HvVdSt5BWEtbj7l0K834uTxiWfkxHQpIJSklAt/fsCn+kXHbw8ziksLubX/efZG6jS G53L8KyQe1+He/0BiSAQA6fKvg08hunH1hbVsbCCxeJSFBYRrDk7v1bP+JJ6AAEuFi0h K6Gpljyz0sHEfbb3TJX1D6eZDxvdy+JHna/6ZOQ4ZkIkHEZK4ivwBIg/1aF2GH8kGLlw QCC0v3U31CZ3sBp8yOr2d7KDsgUZ9N51g7vns2jbCqV+EpzV3bn4OvnArNbY8Yv4iWl8 0NA9nljI0afcxenKNjIRIcyMTAb9u8alFXMMx8OCOjeSA9wNV/imAon6dOuC+UhNgxR6 cNwA== ARC-Authentication-Results: i=1; mx.google.com; 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 w15si14682694ejb.202.2021.03.23.03.36.10; Tue, 23 Mar 2021 03:36:34 -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; 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 S230063AbhCWKdI convert rfc822-to-8bit (ORCPT + 99 others); Tue, 23 Mar 2021 06:33:08 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:42523 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230236AbhCWKch (ORCPT ); Tue, 23 Mar 2021 06:32:37 -0400 X-Originating-IP: 90.89.138.59 Received: from xps13 (lfbn-tou-1-1325-59.w90-89.abo.wanadoo.fr [90.89.138.59]) (Authenticated sender: miquel.raynal@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 618D1C0008; Tue, 23 Mar 2021 10:32:33 +0000 (UTC) Date: Tue, 23 Mar 2021 11:32:33 +0100 From: Miquel Raynal To: Daniel Palmer Cc: linux-mtd@lists.infradead.org, Linux Kernel Mailing List Subject: Re: [PATCH v2] mtd: spinand: add support for Foresee FS35ND01G-S1Y2 Message-ID: <20210323113233.3523d66b@xps13> In-Reply-To: References: <20210213095724.3411058-1-daniel@0x0f.com> <20210215112409.1a755bf0@xps13> <20210215121653.4edd86c4@xps13> <20210322193213.18520b9a@xps13> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, Daniel Palmer wrote on Tue, 23 Mar 2021 18:33:54 +0900: > Hi Miquel, > > On Tue, 23 Mar 2021 at 03:32, Miquel Raynal wrote: > > > I think this shows that the datasheet is right in that the complete 64 > > > bytes of "spare area" is usable. > > > I have no idea where it puts the ECC though. :) > > > > Argh, I don't like when hardware tries to be smart. > > I'm sort of worried that there just isn't any ECC :D You can run nandbiterrs -i /dev/mtdX You'll see if there is ECC correction or not (and its level). Thanks, Miquèl