From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 453AF33CEB9 for ; Mon, 1 Sep 2025 12:26:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756729581; cv=none; b=G+D7z79WUf2vHoMt8iJj1Td31gWbuz85EAoZtRMBWrP9SkOMwiYpj0uYmvcckC5Ik1Qa94Id+vzs1xJ7O3CpIHcElGEk9KWiPCUq2J5yNO0S7Qa2yh4xNi+AeF6kHZvVyfBPfr1fTLSPA04w+d1qDXxUqFUaF9KwSPV7MAYnwps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756729581; c=relaxed/simple; bh=db8Pz8o8SabtY36Ay8X4a6pVUBM5KdqCKCYYeKmX6oo=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=LsVsXepemTLVHosOXFshY99TOJTFXmIfpdYl8GFnOM5dEVFgUnnevhePS2af+U4bogX/8UHXIHuy6XLwUeqG1NZwDTT7GSpjJ9ScsyCmwi3P144zGGVzfVlVL3w9yi6QnOEGwBPKFQToSsm5T4ModlrfTHgVM2Htl4VMoEoEyXQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=bFhzcgjy; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="bFhzcgjy" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 66CC24E40C66; Mon, 1 Sep 2025 12:26:17 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 3E86060699; Mon, 1 Sep 2025 12:26:17 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 533BE1C22D935; Mon, 1 Sep 2025 14:26:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1756729576; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=SFNATNLdkkhOB5Wp70sKdHDjY39hB6qXWiRzlnD4aTQ=; b=bFhzcgjyq8a1r+ZKtRxUtY4dg0rai4FuY7GOmJcUuWg6W3UMSRflyHOmvhZi4nyF9sV40q CHwCU7T5UCZAtb3g0f1aeq+gNSERRaebP/u2QlruxkarvrEt+ZMX4ciwccjhsAlBt0XtIO valKroBjETgrkxYAuOqZeipXma1Fww4vmArdEwJUx+SPh/o3LPd9qHyaPFv/pzGlHxt/SI 6ZDBWED6Sm73oezo8vcc7U+2gOFmLESBSpyFbafu4ab1f4sFoWV2i9JOlO+AP5DYBWFSym tuBQm967OYg0BNnmTRuX8wIIm+pcp67E7KpWUCaknN2n4C3Kiowqxa9WH8tF9A== From: Miquel Raynal To: Richard Weinberger , Vignesh Raghavendra , Maxime Coquelin , Alexandre Torgue , Christophe Kerello , Boris Brezillon , Christophe Kerello Cc: linux-mtd@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org In-Reply-To: <20250812-fix-ecc-overwrite-v1-1-6585c55c88b0@foss.st.com> References: <20250812-fix-ecc-overwrite-v1-1-6585c55c88b0@foss.st.com> Subject: Re: [PATCH] mtd: rawnand: stm32_fmc2: fix ECC overwrite Message-Id: <175672957522.48300.12612690456292698217.b4-ty@bootlin.com> Date: Mon, 01 Sep 2025 14:26:15 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.14.2 X-Last-TLS-Session-Version: TLSv1.3 On Tue, 12 Aug 2025 09:30:08 +0200, Christophe Kerello wrote: > In case OOB write is requested during a data write, ECC is currently > lost. Avoid this issue by only writing in the free spare area. > This issue has been seen with a YAFFS2 file system. > > Applied to mtd/fixes, thanks! [1/1] mtd: rawnand: stm32_fmc2: fix ECC overwrite commit: 811c0da4542df3c065f6cb843ced68780e27bb44 Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then). Kind regards, Miquèl