Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp810763iog; Wed, 15 Jun 2022 12:53:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s/su92UNJ/vf59ZRqavj41Sm7V92T5oX8LlYWqnPj7EMdsivy7jIFs/dOhGVmT7xOBW6FM X-Received: by 2002:a17:90b:4ac1:b0:1e6:7c82:9aee with SMTP id mh1-20020a17090b4ac100b001e67c829aeemr11909309pjb.234.1655322834111; Wed, 15 Jun 2022 12:53:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655322834; cv=none; d=google.com; s=arc-20160816; b=zfOfeI+eowDgBWqFf5ZUYF87bKH2AB+O0xY0hs3AcjSl1St8RW59UvhZUPfHq8mW+o NWnfPabASoWNkB9Q2Gv1iJV93Ya87aW1eVNSUD+sqDMGAWT2ZTlTBn91PvYbH9lkKuRZ ncAk5BHmnLre6Zo2R2TjanHUy4mMlpNQ3SnNLJhJRPujwmaRruHU4xuUjLNn4VenXi9I LkVCk4t4eO56UyyvnZibBZFIXyFzam4BzCW4yrcPeh/c1Ah0+56LcBVcBfbtvrrRrrQl MxKwfofiar1iQNHbXZb2BuXEUCPfsu2GVk+GLJaUx5sJrv4nzP4kCQWZ1HfPh+Sk+PM3 GArQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mjycc28titw6b3oBQHfrm902kDC3ORDO+qAz3zRHORo=; b=fqr6mppWZkl907SK8+Elx+9Klmd8yDOTL0N6TMjdivogkLzQIWWu4EaWR++RboYC4C 2DttU+9gtUD3j7JpRwttEICxanwsC0NCzqmCN/VldOerMpCevRn/CeOJ+V7BWtR3F/zq Lt48a3GK0PwMMN0YPtrDBHutBahnI42DyswoN7P7DUbCGzUJyGZ76nXWOu8ocMteLgEj vPXhzA966m6hjUGGWLf2kM843LrNR7Syx4K6r3fg3exvGHf+RGLTbpMPBejY8ecr89+V CosoF5jcwozsKg5mlpw88K1e2pV5pa3TPKquPe0+ugVaLvSphxepgEaNsA8jkwhMg4Mn IzYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l5mpo9Oq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w17-20020a056a0014d100b0050df0383302si15795pfu.255.2022.06.15.12.53.41; Wed, 15 Jun 2022 12:53:54 -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=@kernel.org header.s=k20201202 header.b=l5mpo9Oq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345113AbiFOTZw (ORCPT + 99 others); Wed, 15 Jun 2022 15:25:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232127AbiFOTZv (ORCPT ); Wed, 15 Jun 2022 15:25:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1FFC39B93; Wed, 15 Jun 2022 12:25:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 156A260AAD; Wed, 15 Jun 2022 19:25:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C7D3C34115; Wed, 15 Jun 2022 19:25:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655321149; bh=mjycc28titw6b3oBQHfrm902kDC3ORDO+qAz3zRHORo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l5mpo9Oq2B7L9BefUEXvKAxz7oDNd3WuQ52foZSGBOLylVRsnviPlu8IQ0tbcsDEI XQrTSo/+rXm/ayE33b7vLdirqWV/UeDv9XdQrx1z4RPgksJCJ3avwSkV2vqGU3FMEG XmiekWH92Sp0t1AV3PU20x/iQmOisOmaAF7NDUAWIml+SLo7Jhlc3XqTT4xvRorN1+ haS5yI/jKW6Sh0h2v/UZ8oAwiRMUCz4h3ZSDFe3VblTB1hJcIpTTCNQvB8QQ+BbXFP 7xJ2W61KR00XxJGhIm2lNzCyXhpkOL6nBgZE2v8YGAms7dNuCMflJfZUeNeYsPzwVq c5mwWneRLD50Q== Date: Wed, 15 Jun 2022 20:25:43 +0100 From: Mark Brown To: Oleksandr Ocheretnyi Cc: mika.westerberg@linux.intel.com, tudor.ambarus@microchip.com, miquel.raynal@bootlin.com, p.yadav@ti.com, michael@walle.cc, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, mauro.lima@eclypsium.com, lee.jones@linaro.org, linux-kernel@vger.kernel.org, xe-linux-external@cisco.com Subject: Re: [PATCH v2] mtd: spi-nor: handle unsupported FSR opcodes properly Message-ID: References: <6A852B9E-D84C-4F80-9C17-62BFBB98CC8A@walle.cc> <20220615191153.3017939-1-oocheret@cisco.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="h31YcxwvFtDq3oCQ" Content-Disposition: inline In-Reply-To: <20220615191153.3017939-1-oocheret@cisco.com> X-Cookie: byob, v: X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --h31YcxwvFtDq3oCQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 15, 2022 at 12:11:53PM -0700, Oleksandr Ocheretnyi wrote: > Originally commit 094d3b9 ("mtd: spi-nor: Add USE_FSR flag for n25q* > entries") and following one 8f93826 ("mtd: spi-nor: micron-st: convert > USE_FSR to a manufacturer flag") enabled SPINOR_OP_RDFSR opcode handling > ability, however some controller drivers still cannot handle it properly > in the micron_st_nor_ready() call what breaks some mtd callbacks with > next error logs: Acked-by: Mark Brown --h31YcxwvFtDq3oCQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKqMjYACgkQJNaLcl1U h9BXAgf+PejyCaMSeNp44aV3Jxkp2oUooVeKCeh7KO0RIFkhx53PKA9IT4E4gBQ0 2+bZxWUS+GVU5CHYqtn3rmaoiWLf9bR5+0JIPfWCGfUdkk7+/RR66ewMIc13LIHQ 9qxAPK/UtYGPbdTL94xkHpRGY8frBpWKIYDcQqGHyjR/b0aYXUedc/ixOLvz88Xs Shd7bECwsmrnpzRdKUS7hWI9iPYqNHgKNYHeV4ETupt3Krpka2A97JkXtpHEzIZ8 e0l3sfmhm3ligaCYcoavd4IIwnnRSWLkb2rdBbj4Rw3QkJ3ckUk8SNrR/csuHArF 9irMzdcw4uM9CpHtRqvr2KqmFMW/QA== =jVgm -----END PGP SIGNATURE----- --h31YcxwvFtDq3oCQ--