Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2374418rdb; Mon, 5 Feb 2024 04:53:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6RWERuqYvUDcy9x1PpHxuGEDTinYjk6nz64HwpIZal5VcvcImnAAI7GSfoRtnD+5Vbgjq X-Received: by 2002:a05:6a21:9703:b0:19c:a795:c04d with SMTP id ub3-20020a056a21970300b0019ca795c04dmr8338171pzb.18.1707137612900; Mon, 05 Feb 2024 04:53:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707137612; cv=pass; d=google.com; s=arc-20160816; b=i2WsRWKbPp7T14YKme7EacFPB+sHEpo8f/OfJqgj0h3RTvG8com9QVrIOsvvjCisam DrFPG6Nnmnfe6hxv06XT6xPxOdt1nbRbA/ZuSg5W2Zt/eRiX19rvhPdem3f3DFTAVZ9J gilYmjiODpfDWRuXJXq+M9qdQG2JnAkrIJ2vGdKQeqfiZHSGGcWDJIGWLK+YozwqDNIM vqtk4XRwqt7tiQqD4kqiAWsH2EvX9Kx4onXQlvA/AFumBzJiP9yBxtDG+ZDNFxg5jQlG C5BUeDcGcyXoqXKRKSxFwyGrsZhhGlfhQSKILWyCO5suVLTfGWRoeQ24AXiZ9dRFoOP0 skFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=ET8uh9uAOFr1YPquku+zPAdYd3BxeGgKu/GKeuvI1dQ=; fh=MIIADWKsi5z3dlwaFbsGSm+FCoEZsiCy99Lo6nt7rlA=; b=leXYO9jW6KaCKSkEHqHk/os9EMBzn2HffLL1PHxS3tEKW16fq3SoR7jEE07nDqxp68 ZUpkh6C1M8MK7fNfasvvA+r6dHu6ndbiTAVx/fU5RgYh+jZf3HKAAQfDaorrREQ6HGZ+ Sr1J2xfJ/3Ndgt8dvZgVlaFXyfyKk7tTac6BtkaquFxuWHawM973s3eehCyqWm8kcN8h 1g7edMKAExcbs14ZqneAQkPUAxoW7XVeFisrH4TDBbNeF+O7o8lNa1/pJXU/mHkiwZfd IWLEfOUg0YH8APVB3jjXXHtfdMH9nFnjkQmFXo4kfNPDPNEk5aIsmi5UmwqgDyRJWFS2 c6Uw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="nk9NB+l/"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-52654-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52654-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=1; AJvYcCVmepm2iab92J72+6dJc5jTLpFvKDOCfKMywuw78nQ7X5BXhuUUO8s+5rWdVvffsTd95AZ5brBnjARr4tKY9WaLOnkOBIr72VqWe+YnfA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t67-20020a628146000000b006e03d6e64d3si2342914pfd.175.2024.02.05.04.53.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 04:53:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52654-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="nk9NB+l/"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-52654-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52654-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8AA0A2833E6 for ; Mon, 5 Feb 2024 12:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C5812C688; Mon, 5 Feb 2024 12:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="nk9NB+l/" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 3E8772C1AF; Mon, 5 Feb 2024 12:47:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707137254; cv=none; b=q8TCPtV5erTa0LVkKEYVy0n9zrQtDqJVooWYxeUwENiz3KVjb89AQymPYSUOjEOCJCG0mQjV0KaqiE4DZWqZyjN6Tc/NY5fgh/Ip1HGUfTHG79bRo83fKFYSn/FCOMy1srr67TvcpcZLsjrys65WFj0wvTRbJKmDlLs2Vx6qTNc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707137254; c=relaxed/simple; bh=ET8uh9uAOFr1YPquku+zPAdYd3BxeGgKu/GKeuvI1dQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=onHOpgKa8skMFJFn6NqgmToi5Skvy1lwLyL427yIKKgB4UZpAw/Dqy6afmdPgZ81YFzifJhbE83ptXh2SlffcQpa1oInBl8Zl5/yqiLcm6ssBp2Lht1cR88bbetBBMU37Zc10uCFjg0V59TEynW3S0L0EylzqhaAzqM2QqssxtA= 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=nk9NB+l/; arc=none smtp.client-ip=217.70.183.199 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 Received: by mail.gandi.net (Postfix) with ESMTPSA id 54F75FF809; Mon, 5 Feb 2024 12:47:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707137249; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ET8uh9uAOFr1YPquku+zPAdYd3BxeGgKu/GKeuvI1dQ=; b=nk9NB+l/NSbIMTT/Tpo2f9/5lMu1OD78Y6BO3XwTeIR4IVWsTC4+Y++4u1czEx4/H01pA0 T+AFMxAFFvURxe30z7+4hP7BTVprwEgaFDwXJvkhFaX26iNoXzQbed6vOdSBfk0C1uXaq3 XqJpzwUQ64NUYbLBKSHXJs/lBWGdL+VDrLPwDsLlPMa3kSJ2P6CZk262p/oin3S9NM8M7/ tb6NVJwuAGZyN3JddIwVjzwLIWcVpHGyCxMmE+/eML/Ro6CqzDo7neJ++PjPzlyrXoBQ1T CWDA5OyemRWk12U/e0XYlctTSyMIceNj29Ri5fQ9Fz2iQYWcH3s94fsZBCOUvg== Date: Mon, 5 Feb 2024 13:47:27 +0100 From: Miquel Raynal To: Elad Nachman Cc: , , , , , , Subject: Re: [PATCH v2] mtd: rawnand: marvell: fix layouts Message-ID: <20240205134727.50a02e10@xps-13> In-Reply-To: <20240103133740.1233405-1-enachman@marvell.com> References: <20240103133740.1233405-1-enachman@marvell.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) 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: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi Elad, enachman@marvell.com wrote on Wed, 3 Jan 2024 15:37:40 +0200: > From: Elad Nachman >=20 > The check in nand_base.c, nand_scan_tail() : has the following code: > (ecc->steps * ecc->size !=3D mtd->writesize) which fails for some NAND ch= ips. > Remove ECC entries in this driver which are not integral multiplications, > and adjust the number of chunks for entries which fails the above > calculation so it will calculate correctly (this was previously done > automatically before the check and was removed in a later commit). >=20 > Fixes: 68c18dae6888 ("mtd: rawnand: marvell: add missing layouts") > Cc: stable@vger.kernel.org > Signed-off-by: Elad Nachman For some reasons, your patch reached the lkml but not linux-mtd... At least it does not appear on lore nor patchwork. Can you please resend? Thanks, Miqu=C3=A8l