From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 167CDE75426 for ; Tue, 3 Oct 2023 11:56:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231849AbjJCL4N (ORCPT ); Tue, 3 Oct 2023 07:56:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231960AbjJCL4M (ORCPT ); Tue, 3 Oct 2023 07:56:12 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB1E3A3; Tue, 3 Oct 2023 04:56:06 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id A0C411BF20C; Tue, 3 Oct 2023 11:56:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696334165; 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=AjFIqqJD4tF1YqoMJRAP1nIBhemfG2Wgo5vBuPOAe/I=; b=UD+euMUZG1tvk6eZMPI2f1Ws9UgfMUmdMiaHYM5OkB//v1FCXct1X716hk8Kthq5AClhK6 qunJNbgDCHCr6zQDfXTwJu4nlLHoX04xDYy6jolq3AX2Il7mUZSnC54lqk5rZpn84Zg8IM VQpZxfq2pG4hKx7k3+oj59jgk/0i4VWLNmeLFWeC8j1J5HtBYrmvjLDwOnLmTRuJVat1t+ 6+fc4itbULghecLV6qmVm6DqR+t5hu53mkxxLH3FHlX8e6U9f6jTasyZ+QkApnkyr4itDA dirhEZbvkBGeVFc03i+8YZIRkDM8gXwpxkjfWr2KJAKziqkU7802GA4O+JC4vg== Date: Tue, 3 Oct 2023 13:56:01 +0200 From: Miquel Raynal To: Domenico Punzo Cc: Martin =?UTF-8?B?SHVuZGViw7hsbA==?= , Rouven Czerwinski , =?UTF-8?B?TcOlbnMgUnVsbGfDpXJk?= , Alexander Shiyan , Richard Weinberger , Vignesh Raghavendra , JaimeLiao , "kernel@pengutronix.de" , "stable@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Sean =?UTF-8?B?Tnlla2rDpnI=?= , Bean Huo Subject: Re: [EXT] Re: [PATCH v2] mtd: rawnand: Ensure the nand chip supports cached reads Message-ID: <20231003135601.6cf0d522@xps-13> In-Reply-To: References: <20230922141717.35977-1-r.czerwinski@pengutronix.de> <20230926132725.5d570e1b@xps-13> <20230927170516.2604e8f2@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Hi Domenico, dpunzo@micron.com wrote on Tue, 3 Oct 2023 11:29:33 +0000: > Micron Confidential >=20 > Hello Miquel, >=20 > Here is a short list of devices having cache read with ECC enabled. >=20 > MT29F2G08ABAGAH4, MT29F2G08ABBGAH4, MT29F2G16ABBGAH4 > MT29F1G08ABAFAH4, MT29F1G08ABBFAH4, MT29F1G16ABBFAH4 Great! Thanks a lot. It appears that even without internal ECC enabled we get failures on Micron parts, so I believe there is something else that we need to investigate. But thanks for the list, I will propose a patch preventing the use of on-die ECC together with sequential cache reads on all parts but the ones in this list (can be extended later). Thanks, Miqu=C3=A8l