Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3471519imw; Mon, 18 Jul 2022 08:39:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ulwIbGN0FIuu5ALnXAxlBuCeZHCrRUwbcj4M6L/5VTpfqOfM/s8QqJnXx+9y6tbsZLIl8v X-Received: by 2002:a17:907:2e01:b0:72b:7497:778 with SMTP id ig1-20020a1709072e0100b0072b74970778mr25069644ejc.530.1658158788062; Mon, 18 Jul 2022 08:39:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658158788; cv=none; d=google.com; s=arc-20160816; b=kzQ6X1ssyUKiKZbQc8VQhIjZigrATdoFTGbYxwxIhyNZKEuA3V5584lhXT+5PAAkJd 9eym5FudvzrOiEsQ6WLeWyxn+LQtxaitrmzdMqATYPc5gfPbXTFsxRf44Vm8sCUr2SjD RVV0v7Zyp2jDwx7qRiVkS7N2Lw55CjNNryLW8j9qrq8fJl41d10nmOiUQQSDVvHs4wx1 1zKLjq3BdyNGiRaIRg8Yc/hkOnEnjTWSnZ2O5Ecq9Ft6L32qyJHTEB+O40KZdcmGJy8R sZuLlqZ/fAxhjPdmpsyHjAq9srYeUurGENHCaavARBG3tEieFrE2f9tY3c6G+Q4nNhLp EP6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=GLp8K++n9KMgI9eZk9401SwTQ2J7JPpZzm1JjFRZrUQ=; b=sJrXxyqz8Hh/URUHfbrAk71MZEVgmw4R+xW+Whgq3/iGjWob5dxiC3u72+RLSGrfVI jVI7UjGeW08pvf8bAI+oF4yfcZhAoTrJSJz79Ha4dZ82jrEIGZ5XJ14F71HjWLpR8Rz8 zpAk1EAuj9lBqaFS1sFuuJ4TWwlFyVa2idlg83/ixsAab3yw4X8/WUGg+bzpVucRbUhq qSbdyV5o06oqShwhohHh2J+h6gwy9t62Kn9arnQgfKnI/N+UitrzowVKj3DqLyxJIBv0 rUjNtTDfY5HfZcoeKGPexFjf0fLI+1SnVOBLD24vXJMA6gX2HpCKjikIKpk7mwltRYya KmdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=BGJvgeBA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa12-20020a170907868c00b007269af37e73si11094201ejc.685.2022.07.18.08.39.23; Mon, 18 Jul 2022 08:39:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=BGJvgeBA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231316AbiGRO5M (ORCPT + 99 others); Mon, 18 Jul 2022 10:57:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234755AbiGRO5J (ORCPT ); Mon, 18 Jul 2022 10:57:09 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E395F2610C for ; Mon, 18 Jul 2022 07:57:08 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id y8so15670229eda.3 for ; Mon, 18 Jul 2022 07:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GLp8K++n9KMgI9eZk9401SwTQ2J7JPpZzm1JjFRZrUQ=; b=BGJvgeBAvkSdbeQGW/dHUHI0Y88d1+TbTCt+BW1YVWT2SBD5nDHWgK/ab6P0qWFGDL 7I3zL/jX7wt5o+UtASkPTwY0XxD7p0aK/BeiZFNzxWEjX0xw/sGBqR1KvxFGooNGyS04 V4y8FN0I9rqIVw2ic7edFAbFgJ5xpw1j/LJGxwQG8pQE9xL0fLUepfRRzHupDW0ZxHh8 rwa03d7VKVaQhngb7IaaSLG67qruEXWzPxEurtQshqOK8hmJ2SCANrng5EBfjYgZDYPE tLtHPf6K5lA9e8ZPSJG5kbl1VjOfStYp8q4WB+pbiXD3S+3Anx46fV6BCq9xTc2kEWx7 9Y/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GLp8K++n9KMgI9eZk9401SwTQ2J7JPpZzm1JjFRZrUQ=; b=NZRXq7JDbVsedgNBAu1nqLzKpj/p1R7oMvyCZnlAPfKNuy96ruAhpioAi9KasCFqDp pDEna35Rqh3TdCQ4P/bUxde+dPCyFor7Ud1wq2m4nchkFuUGbE1VRrsj/ZTcxgEmVRsl nk1NY+amit7Y0y+ESKPz/iMQL42BRanS4UTV9mtFh8TfFsPoUVxJXSS95TAOcLFp/V2Q Uh41glDw4dU35RsfQS32id4wT1lqkQVmoVtdMfGJXps0dsQKpdYeyN2McZrxzXON9W5b ASXLQLIWDW+obs9Zk0VIq9F+Ij6TQV/GJn831LYb7WbaTFzOkppHGg6j9joEtfuV+srv TjMg== X-Gm-Message-State: AJIora+i6+7YsS+H1ZfhnzssPb3o9wB9Zw2gsVF9n8diVvlYm7BlHw5i 7Ls8Vu4QQs1VVaKh+Tzbhf3g+t0Hbruq/Vy05iItHMgMCBs80A== X-Received: by 2002:a05:6402:42c8:b0:43a:a1ee:a097 with SMTP id i8-20020a05640242c800b0043aa1eea097mr37145301edc.150.1658156227476; Mon, 18 Jul 2022 07:57:07 -0700 (PDT) MIME-Version: 1.0 References: <20220712163823.428126-1-sudip.mukherjee@sifive.com> <20220712163823.428126-4-sudip.mukherjee@sifive.com> In-Reply-To: From: Sudip Mukherjee Date: Mon, 18 Jul 2022 15:56:56 +0100 Message-ID: Subject: Re: [PATCH 3/3] mtd: spi-nor: issi: is25wp256: Enable Quad Input Page Program To: Michael Walle Cc: Tudor Ambarus , Pratyush Yadav , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Greentime Hu , Jude Onyenegecha , William Salmon , Adnan Chowdhury , Ben Dooks , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michael, On Mon, Jul 18, 2022 at 8:39 AM Michael Walle wrote: > > Am 2022-07-12 18:38, schrieb Sudip Mukherjee: > > The flash chip is25wp256 supports Quad Input Page Program. Enable it > > in its no_sfdp_flags flags. > > Are you sure, that chip doesn't have SFDP? Even the oldest datasheet > I've found [1] mention SFDP. Yes, that is what I expected from the datasheet. But from the driver code, spi_nor_init_params() is calling spi_nor_init_params_deprecated() as 'parse_sfdp' is not true. and looking at issi_nor_parts[], I can see is25wp256 is not marked with 'PARSE_SFDP' so it will skip parsing SFDP. The same datasheet also has is25lp256 which is marked with 'PARSE_SFDP' in the driver. I tried to add 'PARSE_SFDP' to is25wp256, and I can see its mostly working but its not using Quad Input Page Program. I guess this support was not discovered from SFDP. -- Regards Sudip