Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1004985ybg; Mon, 27 Jul 2020 05:35:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz93k++J6aQY1Fv6ABtQDxeHzQf5czqNI1zGj4DwYrYOxIols2E4WOmREYGn153wp3cEi4a X-Received: by 2002:a17:906:a10a:: with SMTP id t10mr20360598ejy.377.1595853324117; Mon, 27 Jul 2020 05:35:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595853324; cv=none; d=google.com; s=arc-20160816; b=An8PFMiua74n3Kyut8fzdTHtwe4yTCpt0cXH1M5SU7geqa0/XqlMdccBGJyPsSB0qA m3g0jxRwMv9XFTuEz68CB6RiM8IhE7ZPZNRhukDf72dWIanTsEh2JCGUeZJqEhi9gwG2 cwpACvxvts0tbBvxY7WTlQ3S9hunK+C0KcXrPfcukItfq8XkInyzRfamnOyDweSUkip4 JcY1DprRI2ZivafbnkBCovYWT0a9dLupfC4rEr4EvYjkEd7NW3zrccTOCYbShlW30ZKX w5jfhK+ONyILxqzXPfepGJcGYvAqqGnYBzyRGvEWsqbfThQqcp37YZjUtbXooiJgmI2m WP6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:dkim-signature; bh=T/w7ILfxBLAMjR8fqVuqEOnTPW/22uNZd/XTOPGtWEY=; b=Z4Vy+R/s7+GjXTjtnId1NYYHv5Gp0gL45A3tJoBT06wj5bNykBaoczXJfe/FSo0LSn 2n01hYc1fKc8MTF9CTO/z9+Ij6fya9/zFIJ4iFwrKqAwHH3rF0lCU+6ToEchF6sA8xBT OTcsuu/TAx1P166vskvImv0zBeOkxH/vEBoBc13sfMc0/W+YWQDdsUa/V0U1aphzAlqA PYCMzaVs5mW3q5M/xqk0G7Roa+Uo6d7oSor7UklfLJBhjIkuBgycmytj6sEXo8uundxX BbwSTsHeMfrT2rQTGYeKV4OjYelOiJvAEfQoMFtAWRSoqsCBPm3iOKPYy/MPh1s7PClz iS5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=Eaug9JeO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d8si652496edl.399.2020.07.27.05.35.02; Mon, 27 Jul 2020 05:35:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=Eaug9JeO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728380AbgG0Mdy (ORCPT + 99 others); Mon, 27 Jul 2020 08:33:54 -0400 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:7868 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727120AbgG0Mdy (ORCPT ); Mon, 27 Jul 2020 08:33:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1595853233; x=1627389233; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XtilPSvSam8OEHgIiWTJY2vcTm66N/Xl5vDBzDpMN6o=; b=Eaug9JeOVT6MVqxckY4Dfe62jQJvNSp1IgY8dCrHEE7xnee4k1y2TQdf swbTFTIDrJJ0S68ukrwoKJTG7iM2JbO8Z4pIqX9lNc4CnVhd9De1XVGqr B1id/iz88OlBRqP+zgd7SRAgmaTuRZc8RgN4dScN5kM6OJQLGq+SjyaCZ 1q21tBVo+mZ6zMozaJI2YJExgFG3YxNJVotT82zdgWypEqYbmVHhOa8Pj coO0izG3blIv04hqurID81avWx0da7ci7dqHFHueMQwlfrOYfiEn6oIvU 4G5ZGRSW/fM+IlsdxoNdtxlpF2Q7I4MZfsSRdxOOo8nYe3Vrx02Xa9X5W Q==; IronPort-SDR: WzRxzmIqEwjn3JaGiYUZxaTqX8ngHZCOnPX4k+1ghOZUwwr/VCZ36GEziExP0+LsQPfwqfNm12 XhlWqR3ULbPlkmXno13cfltJgFvs6k77jtjCcmcM6fCKwkB67mihfsKxOs9zPxI7bsLkD6ucqv Syluogt7sywKkofN9cwT9LiRjZjJ1OgMJXKTMvSvSeHZjHfgM80h2o43+WBPIaUkNaVmrXMhpH 3ZwB/6imKuX5YouDwGSd2ksm0aiJc1BOt65jh4jTjdIM5B42CeaO0ndG9HAHdt/qDacktSH7r2 qRM= X-IronPort-AV: E=Sophos;i="5.75,402,1589266800"; d="scan'208";a="89236541" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 27 Jul 2020 05:33:53 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Mon, 27 Jul 2020 05:33:10 -0700 Received: from atudor-ThinkPad-T470p.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Mon, 27 Jul 2020 05:33:05 -0700 From: Tudor Ambarus To: Alexander Sverdlin , Vignesh Raghavendra , CC: Tudor Ambarus , , Baurzhan Ismagulov Subject: Re: [PATCH] mtd: spi-nor: intel-spi: Simulate WRDI command Date: Mon, 27 Jul 2020 15:33:42 +0300 Message-ID: <159585278400.156466.5298743072819361191.b4-ty@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <282e1305-fd08-e446-1a22-eb4dff78cfb4@nokia.com> References: <282e1305-fd08-e446-1a22-eb4dff78cfb4@nokia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 22 Jul 2020 16:01:36 +0200, Alexander Sverdlin wrote: > After spi_nor_write_disable() return code checks were introduced in the > spi-nor front end intel-spi backend stopped to work because WRDI was never > supported and always failed. > > Just pretend it was sucessful and ignore the command itself. HW sequencer > shall do the right thing automatically, while with SW sequencer we cannot > do it anyway, because the only tool we had was preopcode and it makes no > sense for WRDI. Applied to spi-nor/next, thanks! [1/1] mtd: spi-nor: intel-spi: Simulate WRDI command https://git.kernel.org/mtd/c/44a80df4bfce Best regards, -- Tudor Ambarus