Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.84.56 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796117581; b=PF93Lf9jO0hikBNsAQ2wWT/6hmmd/+lGFV3mDdZIO4qslgxzd8+Pg2xpXqB4EHJSbbNe 864WllOMxtDdEdy/L8nytKnSbkDyMkCi+fpLzu+6CMruFiDjvidVt+dbpSDzQs7F5KPkW eK27ulln5UwI5XGVEnxD/C1ADeDp9emRaY8UyxqUNskSGm+ZeTJ8M+wR5lctTf5shVorh C3aoMX6deSTbZo7t8umGcCpNckMFUxQM2sp9bHIUzwP7sGiVfZzYXVn0PP+4D0duQOWd/ Ab0bFbGLj6RoL2VhJlaMr3HCUt0LXKPYLKxYHRVZyTRiVLTNmerP7md+HTL9IwFu/qQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796117581; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:To:Cc: Subject:In-Reply-To:References:User-Agent:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding: X-Last-TLS-Session-Version; bh=1/GLHNs9XCP6L+5HO5bNrQKvdoTkvboK+nwOv87ymjM=; b=id6TY0nJvjpXUzqGc6SR3Pu+GNpVB7gsF3Syg5cPaHUqnvZOy+r/s5TsFTLy0T4XlG1T N45VLABZgjLBIz8QKZBJEMyy9NbcLDtTC4imw6mMj1ZHHpu02al9AMIfaRuBrdpu8zxcg k6GdEVC6Y3He0mU++HlO5ii2ehuMCo01CkRSLU/xULa8Qg0jSaKMeZc4jxl/f2jQ57w6D hJByRkDqe6QJlv0/f7OuGdSZ8Wtl751ALfB59J3RRGOCiKKL4bw7uKe+rLyLrDRFF1ZAm YyTyDx3uq1zPXZvyMkFOD0paqwtxuL/g1dzfvoNyYNUULj0WT2w79wuyiEaSguSEGPA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=S8bVXK+M; arc=none smtp.remote-ip=185.246.84.56 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A68F0606A327 for ; Tue, 1 Dec 2026 09:33:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A68F0606A327 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.a=rsa-sha256 header.s=dkim header.b=S8bVXK+M Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id C87D71A189A; Tue, 1 Dec 2026 09:32:58 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 9C2A8603CB; Tue, 1 Dec 2026 09:32:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9D63F11EA073A; Tue, 01 Dec 2026 10:32:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796117574; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=1/GLHNs9XCP6L+5HO5bNrQKvdoTkvboK+nwOv87ymjM=; b=S8bVXK+MHKpP79i79+LepDsebB2o7o6ckbfhGkYoJg9xBAntLuf5ZOfObaFsJ+SYdiU/Z3 vGpOOQrIPUS2fjqFo7Jw009UnidBntOU/CuOd9g3Ldwg9U8CzrFmIS/T2appoA/g0gIex7 sxIc3LAMs81t3Lx9flemWLW1udidasyM4KRz7aVYwXsoO5MbFBCriC2F3mr0+aHmC7bzov TmKROXQhUPsSoujh3ftuvyyko6nwAip5q8l8sNwqLVqFxQOrgP9YuGMsL3XbA8Q5kgzA2V kpoR6CdmdldcrHM89o0AVkYknYvjaAJqOwhlzPzYUVncZ4AYRDekkIKHkJ7GUg== From: Miquel Raynal To: sashiko-bot@kernel.org Cc: =?utf-8?B?VsOtdCBLYXrDrWs=?= , richard@nod.at, vigneshr@ti.com, sashiko-reviews@lists.linux.dev, tudor.ambarus@linaro.org, m.felsch@pengutronix.de, linux-mtd@lists.infradead.org Subject: Re: [PATCH v2] mtd: spinand: micron: add support for MT29F1G01AAADD In-Reply-To: (sashiko-bot@kernel.org's message of "Fri, 27 Nov 2026 23:57:00 +0000") References: <20261127234301.262679-1-vitkazik@vitkazik.cz> User-Agent: mu4e 1.12.12; emacs 30.2 Date: Tue, 01 Dec 2026 10:32:49 +0100 Message-ID: <87tskx1h32.fsf@bootlin.com> X-Mailing-List: sashiko-reviews@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Hello, > In spinand_init(), when nand->ecc.engine is NULL, > spinand->eccinfo.ooblayout is still installed on mtd while > nanddev_get_ecc_conf(nand)->step_size is 0, leaving mtd->ecc_step_size > as 0. During device registration in spinand_probe(), > mtd_device_register() -> add_mtd_device() -> mtd_debugfs_populate() > calls mtd_ooblayout_ecc(mtd, 0, ®ion), hitting This is the chain that is problematic, we shall not attach the hardware ECC layout for the NONE or SW cases. This problem is orthogonal, so I will anyway take the patch. Miqu=C3=A8l