Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2234013rdh; Sun, 29 Oct 2023 06:49:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEWkCW/lBGwzlAPOfF93weWruZThUPShI6I7x2gsHRyb+81H8B93V5R7mqNs2FcL3LPBhvh X-Received: by 2002:a05:6602:14c5:b0:791:1e87:b47e with SMTP id b5-20020a05660214c500b007911e87b47emr10550590iow.15.1698587342200; Sun, 29 Oct 2023 06:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698587342; cv=none; d=google.com; s=arc-20160816; b=g7O5GC3JVa2ElI4UYxAWkkBhJiXd4NHnpWCoEvtG0EXirQ4fB72mA5IiZRCa8EWsZh oPTIgu4kL6jkY2ZS9SznQY5Srx5T+q94OyLc1xt09wqZpMlJMzXppUvGd4M9Oy+DjiWL 9QygffYri0QyLsd0y+XmP6Pm3l/Wlojof3FgJ1Y6GepNkoSXk7lNVkj1r8p33uoagJpI wITjTmREEjMAZrnJluPUbJlizNIJlVz+3G8gtkFl+1wz8O/zgLZHN3czDebv/eMD8un0 r3A8/WmxeEq85lygLlI0rmgTQvFLHqwEgKRdV22CdpSx1Nwvpj9gs7PV62QUNPJLL3uZ CEgw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=4C29Y/0MMpQE3H8sEiOwcDim+jc5OpB518WeaoXpI/E=; fh=Xw2Vtal8IG9kVp+FPIvCP7hRx+fk+ovWTjL2HntTKtg=; b=ixb6kC5Nt65C7422yZLlKZ9vYhBSfSz6u0dRfK9IGfmc1hDPrKn+oqHT/zG3z1+oep AwyU2xv+C7kyvN+j2JxVHgvaSPyjXIjGlfVVrsTsM68cb9JxfFDEIpxhInXrljkrXeM1 PcAq0Wyo0rZWWvvDIBIG50UVHsBuLlC3epcgRHeYJBdas+qlmJYdwel8yZ5mn+B6X7zB Jv86YxTnJTPSUDja351MT2Sjwo6gGkPbIflh+pdzbr+Kn1qTELKxp3ifBxkfvL//j4S7 BQZKJsclG/FC5hbB0bkCu+GM+TS6ARmZWQlNRzHAakv1kP2LP0dhvAc19e9zz/JEUdjt Hh+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="IKfUb/fp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id 125-20020a630183000000b0057cbd803b30si3743855pgb.654.2023.10.29.06.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 06:49:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="IKfUb/fp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id BD62B8065E3A; Sun, 29 Oct 2023 06:48:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229533AbjJ2Nsw (ORCPT + 99 others); Sun, 29 Oct 2023 09:48:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjJ2Nsv (ORCPT ); Sun, 29 Oct 2023 09:48:51 -0400 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::222]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 127D2BF for ; Sun, 29 Oct 2023 06:48:47 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 2CC5F40004; Sun, 29 Oct 2023 13:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1698587325; 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=4C29Y/0MMpQE3H8sEiOwcDim+jc5OpB518WeaoXpI/E=; b=IKfUb/fp+gNnT0EgVAJT4mDaUzIvFqi0GL14YuLu0gcJIgJ9VLkvLjrf6f4+enHf9HYe1/ m0WdhpBfoT3ZUbKb7ITGwBxwDlc4h7Uy1DM1QdEAftS99S32qhKWZHONgKqt3b3cMbGSH8 xW9BF3362EjglG4vCTjh1lbaNqJUP5JUbo701XH/oxg4D31txgGSwBdSQYsvMWvkI5zxD0 6eDb7dAj60PkCNYW3/AJUKU3b/wYzqZZcfowTV029M6nKCJOQ98QsRxkGRE+scMPPzCbZy YjS3k+Ds3aPdyqtkSb3EgTqfSMOMw2/VREmYUHTnfNsHI9728FFTcZUJuHgEUw== Date: Sun, 29 Oct 2023 14:48:40 +0100 From: Miquel Raynal To: Chukun Pan Cc: linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, richard@nod.at, vigneshr@ti.com Subject: Re: [PATCH 1/1] mtd: rawnand: add support for TH58NYG3S0HBAI4 NAND flash Message-ID: <20231029144840.484facee@xps-13> In-Reply-To: <20231029072005.6097-1-amadeus@jmu.edu.cn> References: <20231023095451.65c4c0ec@xps-13> <20231029072005.6097-1-amadeus@jmu.edu.cn> 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 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 29 Oct 2023 06:49:00 -0700 (PDT) Hi Chukun, amadeus@jmu.edu.cn wrote on Sun, 29 Oct 2023 15:20:05 +0800: > Hi Miquel, >=20 > > Any way you can detect this and fix the parameter page at run time > > instead? =20 >=20 > Sorry but I don't know, I know very little about this. >=20 > Thanks, > Chukun >=20 It's more like a request than a question. Please fix the parameter page at run time by registering a ->.fixup_onfi_param_page() hook in Toshiba's nand_manufacturer_ops structure. Thanks, Miqu=C3=A8l