Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1461126pxx; Fri, 30 Oct 2020 10:27:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPFvgsN8oR47WRujrRu0DLmFk9jGCaBrNGIUQru0Bw5/JNgT9ZnveJcMI+GPIcvk5iulB2 X-Received: by 2002:aa7:df04:: with SMTP id c4mr3497643edy.290.1604078864703; Fri, 30 Oct 2020 10:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604078864; cv=none; d=google.com; s=arc-20160816; b=e/9lGFBlyJqoywQJVAYLRTkQTVTKyNQeaexOKGJc11z9Be2AI45+y3knbN3bdz4qkR QRDzjiyOTW2/1jW5Glfp3vzaVImaNSYtgjIsEQYHmWLPCpQxSGdp0jhhyMiRQsRDYaws n6B/BUoqKAIW00Lu4KbIjuHi5fCCpogr2U9GQ4TdPJKOrt7cPvSP79xGQYN08lNtXDmW 5cfDQl/gere9hOAWI72KCUW3KCXxBNwK+db12bE9YQpjNVcjPYJkdf5tbxWCRpbfZBsO 6b20HwUxt+tuJASS641fziuFz8DLLExtPVp46jyXpJG26WJE1zxlOgZlKbIKv10IYlyz YbqA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=apOviQvvenggwTxHiSc9QvM0kljm9y+t043dEjroEuY=; b=DvnAXV8fZQfwPCgZRw28ssi8nbKTIVvWhbvBGK+v1AeFB0YNPtwIIhsliWj2XfnLsH jCp3ycXGDOYMoKh3dgccJQ3EkyIk37F/RdCnT4EyDJ0JtTKsrBKpMQ/Y1A5m58YnlSj9 s0/sXjF2yiOp6WJXCt9th2LvJQf8faWDG05J67Tbg2JtcvvBYN0euC1Q3Qg+bHp/DALB UVJi2Ro7mSGL/QmimcAbut/bnJGvgkaG7UhTJHPUOloiTUxiBA6g5MDogTLZ2U+RN+hI vnjK28zHl0/mqgKVNxbSb/WyHJP1rP8ymr0AlHUY8Zog0L6kxi2bp43RcaPU+H1BiIfk Sn6Q== 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 z1si3605325edp.20.2020.10.30.10.27.20; Fri, 30 Oct 2020 10:27:44 -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 S1726272AbgJ3R0E (ORCPT + 99 others); Fri, 30 Oct 2020 13:26:04 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:49101 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726072AbgJ3R0E (ORCPT ); Fri, 30 Oct 2020 13:26:04 -0400 X-Originating-IP: 91.224.148.103 Received: from localhost.localdomain (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 80C97FF807; Fri, 30 Oct 2020 17:26:01 +0000 (UTC) From: Miquel Raynal To: Christophe Kerello , miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH v2] mtd: rawnand: stm32_fmc2: fix broken ECC Date: Fri, 30 Oct 2020 18:26:00 +0100 Message-Id: <20201030172600.28845-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <1604064819-26861-1-git-send-email-christophe.kerello@st.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: 9efac6ce7f621c405d49a091e3e367be4250a27a Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-10-30 at 13:33:39 UTC, Christophe Kerello wrote: > Since commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework user > input parsing bits"), ECC are broken in FMC2 driver in case of > nand-ecc-step-size and nand-ecc-strength are not set in the device tree. > To avoid this issue, the default settings are now set in > stm32_fmc2_nfc_attach_chip function. > > Signed-off-by: Christophe Kerello > Fixes: d7157ff49a5b ("mtd: rawnand: Use the ECC framework user input parsing bits") Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks. Miquel