Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1822235ybm; Sat, 30 May 2020 23:07:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWIwL5TBM0Jnc7B9heQ83ZBnhMTBIt21NRT3/MsSJDl2zOUGwSJYD5Yr0AvxU56Gl6gWMi X-Received: by 2002:a17:906:bcf3:: with SMTP id op19mr14826056ejb.537.1590905248035; Sat, 30 May 2020 23:07:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590905248; cv=pass; d=google.com; s=arc-20160816; b=pm6Z2tnHFuO6e3wUyH4EEAzwWRscXUExvQ9BUov7UTCD2UaFZeGvrO39eBnQGfJDgZ XVc+FpvfWwwFMkwv0y4okM6E+d2vHNS9gTtpR4O64C6Grt7b3UNm4CM6GGA+kEMTaxdk y5dRVR8q6YVVuxHrBxrGLw7PfzRf5aryAEHBFN/tPfKEHNCPG+tLiqtBmS7Q3t8AQ3Ee emNJ7i1bWFEVH3A6mlmRVXsr4E/CJuEbQlvgFeTmoVDVbjroSCbKOAvOr+M9smKZfAe5 cASzReYo9lR9OZoBXLpGDxqODKYHesqnn0H2ajtG9sJOFTKhz+vjKloJJOpAIQmYuIHo lmfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:ironport-sdr:dkim-signature; bh=IcQ1hGTot9qFRDMlYFXhZJnwFSJtYgC/5d325K21Vek=; b=O+rsk/PMvZjMqkbCq2P5sAty002AUQD6umTFU2t+VXOjNEC7RWx+U4sXB33SQOpetY cd8/smGJVb1oah2cUWL2nCvNJXsXngoD6+IUlQWqgDNy0fcBDBG4no3gT2j/smHVLa4q jXxdFgSRikUDFOIuXafnKa+CyOf/NjScV0QdoyM2XLay9cCjxeA5ej6l3zMLPR9rpAw7 4zj+2RhZh1adfbUJDyt2agqY0xQke+Egj+5kwjer+MDmUWiPZv357L9Lrk4TewDCkGqV pWe80XVqg5k3MLIzZkiRvGwCUlImiEdkP9AgIsxTkegoB9JViKJCaCjM0WqQysJnZW2q FeBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=kTOvVW0m; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=eSEWuwxJ; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); 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=NONE sp=NONE 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 sa22si9368538ejb.157.2020.05.30.23.07.05; Sat, 30 May 2020 23:07:28 -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=kTOvVW0m; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=eSEWuwxJ; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); 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=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728900AbgEaGFW (ORCPT + 99 others); Sun, 31 May 2020 02:05:22 -0400 Received: from esa2.microchip.iphmx.com ([68.232.149.84]:33710 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725895AbgEaGFV (ORCPT ); Sun, 31 May 2020 02:05:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1590905120; x=1622441120; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=AYFeQ2K3ydH3cNZoW29Nr9yfRxwzJ4U3xF+FBO0TAmc=; b=kTOvVW0mxAIb6JeiTQZ2NeON4eqJP//3G8b4oTGQNt4UChCskHUflVA8 ZEbu3fk8rBpvK4FXdjOD7q34sFfqwZ4pxOuPEG8/tTEh81HybjZ1xjuuN dWtMqYVhoPy3Sa++/CAwU6fjohQsWcXa/OCxv1BBzO+ZuHsIA3kep3Y24 YUTcrpEfnts0Fw6AfiIIhYSSXjB6zlINPKnrdXl1xGV3YUe0jh9zozngO Tmf0yhaB/rHBCPQkr7QuP/qFMWeCXFmuUDmblNMapOhE4OqXqnI9EXG+k QjWDWYQFSAJMLq0FnUFMYogDVxoJVM1mPzeNTzk5E26yxiHCxASbQOBla g==; IronPort-SDR: QpNJbXEy4yX19uC5A7VJzQc5MKmZ/O8dvwyqPzaD0LR20FPf2K2BmBNNyRicpldbgJB0YUFPfP u26j8rJMnGhslwTwLqyOmaEU5VduX6BkaCSTOHjPCmvH5LpcdNMsXDRtAO5gJ0sK2tVK8FLLxr VKiUTuQgA+ynqGpAiu9nPJCgfeINr8bPrQPfYiYGgYn/Y1N0EoBdK7pNWk8tW5yel93FKCMY/8 sQYUgnc2vu+V3DgKkLA4nhJJJvWx7P65uOPUmeZ3fAwn+GT+sTF87SaCevjLqzGgZ/9/WHIFEE a8g= X-IronPort-AV: E=Sophos;i="5.73,455,1583218800"; d="scan'208";a="76883032" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 30 May 2020 23:05:20 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sat, 30 May 2020 23:05:23 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Sat, 30 May 2020 23:05:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VBUp5h4MzGH0HqV4uqPAp2Qgf9HjEnaXVd5awmtH0VtduSFJeH3SNaigJ7GxSXHSwxXF9KhXLQ16XMMqDCjhtfRc3cHike+0GFfHuFg/jeC8MmNCokVS9OYBoX15JXGJdRRHEGrwKycuL6qcsXKSF3BzPPH3fizAE5LTvHg/VXSb8elUkeQD77ddFeoicdKbtdku24OpHYWRhf9XkC6ID8N6/57gbGyoLR9ZCf60z6Ya37YKKnQDR4fPVszPXOUCOD/YmYmgB0TMqqI/CM6G008wCimov/xPwBKKJhpQ7bTDJbrLPahKYi3jaXIe92NLX4Qza3qBJ1qJv0770va7oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IcQ1hGTot9qFRDMlYFXhZJnwFSJtYgC/5d325K21Vek=; b=GqtfeWVaQeWU8ITkoNmoFfWjKS9fJrWGg4Q/6tYVsmQD34RFbWZxLQmCfQrhhHR9RPD5ZoB+w0iH37Z/WAZnLL48i/9RGMNZGJG6USv5lpu54c7qGr7sxIgERpgWp3443mMtvzlpNUBZbnzsnbrVaKB2CYqGsY00gQotGJA2TqEihyteOF77ebo0dacHcaww17T+j2VN0/doiyQSsHdScc0vDxtbpxyUUDlB7wS9ezEod4Um4bIoJPgARtja9tzJoFJ5qw6qfaSF8KBd9VS9VFiRr3aSTds6Uiom7CFlPirRzwuz/cnz9jHnZCwXtrl0RQYC7AjWFPow7AbPZ2lOoQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IcQ1hGTot9qFRDMlYFXhZJnwFSJtYgC/5d325K21Vek=; b=eSEWuwxJ9o7xCOWMcJFaQul9aRy5FFjrF+zbq6f6Axn0hiJ4aSowhFRwBg5knRidtkLaCFwP6Zfp1IZbNGLFPWz1aOdQtvp5OQO7vN6qCN9m6A1gcXjjpG7iT1Zk01GGpoMIHHQ2fbn2MPJD7UBa7zp6AqYh2O2rYkuEIKiAdcw= Received: from BY5PR11MB4419.namprd11.prod.outlook.com (2603:10b6:a03:1c8::13) by BY5PR11MB4257.namprd11.prod.outlook.com (2603:10b6:a03:1ca::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.21; Sun, 31 May 2020 06:05:15 +0000 Received: from BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::d847:5d58:5325:c536]) by BY5PR11MB4419.namprd11.prod.outlook.com ([fe80::d847:5d58:5325:c536%7]) with mapi id 15.20.3045.022; Sun, 31 May 2020 06:05:15 +0000 From: To: CC: , , , , , , Subject: Re: [PATCH] mtd: spi-nor: fix 4-byte opcode support for w25q256 Thread-Topic: [PATCH] mtd: spi-nor: fix 4-byte opcode support for w25q256 Thread-Index: AQHWNxFyeCOFTav6rUeke0dD3DMEOg== Date: Sun, 31 May 2020 06:05:15 +0000 Message-ID: <8831196.QsUNxFFoTD@192.168.0.120> References: <1586958510-24012-1-git-send-email-mantas@8devices.com> In-Reply-To: <1586958510-24012-1-git-send-email-mantas@8devices.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: 8devices.com; dkim=none (message not signed) header.d=none;8devices.com; dmarc=none action=none header.from=microchip.com; x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 38d710a9-4b0b-4537-0cb1-08d805289674 x-ms-traffictypediagnostic: BY5PR11MB4257: x-microsoft-antispam-prvs: x-bypassexternaltag: True x-ms-oob-tlc-oobclassifiers: OLM:773; x-forefront-prvs: 0420213CCD x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: C1qaW1fS9bn75emRgb6WMaGZEyBzRIuyLPVtyeuz04CTaPZqbhswiax6qU5Yu2sJRr1E+ZJ6Ao2F7UicYr4Mo7dLWsBRejJ/MkJVM2glwXYJqYI2teqyH6XUavPoi2hl/+Z3cbqAJyPxEHHYiDep9lfbtBroVnw7tOC8uZt7uNsBZXYBunfDaWt6f6ScyY5XG6D7qnD/EDFAQhCyHt3j2vxuIjaCS/FLjsA63bN6KLhjXkaO+F50hSJmzn7djZeyu3D13K9Ony1FeLGiNNQLMv8MTVX1ES2o+GWG1s5w44A+Jzva5bWyBuj9PiWhLAo81gX9DQ/3sPuX8LwTOmX/4zUaAlri+YBIPlu7Q7Bgs44sPqSd5dh5rNEy5MJ1/Rkw x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR11MB4419.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(396003)(346002)(376002)(136003)(39850400004)(366004)(66476007)(64756008)(66556008)(66446008)(76116006)(66946007)(2906002)(6916009)(4326008)(83380400001)(14286002)(4744005)(91956017)(86362001)(5660300002)(6486002)(8676002)(6512007)(9686003)(186003)(316002)(26005)(54906003)(53546011)(6506007)(71200400001)(8936002)(478600001)(138113003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: 9bkAcyr6olBL34zZgrSL/2cFf/0PqzOiqrovVS85rtzVKcWZUIQyLF8Oj1InbqBZHOxSZqisExEg37A85X5aLJIsji3mzKPekD9XJDF0pDCoTX3bcGT3CxJpOqWWlInvr/O1snOxHE7i3SGvKvNvRHKKzUqG94tZjSlO6PuT20clrpj2sQcjbEc0S3dhQL0Bwph+F0p1NJDm99lW9K+cpXhra1X8FXDGiPfog2OD0jaLvr6qnVFMJd/qJC71ZmLsnbnV1vOHHE9ZVOWOuti71E6rRnRK3MBaCgmUedsJC/cV0e/qStXxXW4kMNZigPxFSAJQm8qG6V1l9QpVRj4Xn2/dbJx6XN8/WV9kW/gxmdzijbHshOTIy6Qj+F9kU7UYcDtKbgtY0m3AcVYgyjFWIhGHSgfhDter+RpteloCgUFytNOzbGVRltSpSNjgkMQ+JkCIpw5ys9UyXlHM6og+X20ulnO+mUScPytV/6apPCQ= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: <68C345D1EFB94D4BB9AAFF4D78A4C685@namprd11.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 38d710a9-4b0b-4537-0cb1-08d805289674 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2020 06:05:15.2374 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EJ4ad+xpV/wb06NpgGcieEuh+dUDRllE5BmHe3U92D2zyHne4zQkKqxeBcWxROKeIGZtw8G6Jq/Fs1EB/a6jLmF/aiG2ya0dFmTVA+osd2w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4257 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, April 15, 2020 4:48:30 PM EEST Mantas Pucka wrote: > There are 2 different chips (w25q256fv and w25q256jv) that share > the same JEDEC ID. Only w25q256jv fully supports 4-byte opcodes. > Use SFDP header version to differentiate between them. >=20 > Signed-off-by: Mantas Pucka > --- > drivers/mtd/spi-nor/sfdp.c | 4 ---- > drivers/mtd/spi-nor/sfdp.h | 6 ++++++ > drivers/mtd/spi-nor/winbond.c | 30 ++++++++++++++++++++++++++++-- > 3 files changed, 34 insertions(+), 6 deletions(-) Added Fixes tag, plus other minor cosmetic changes. Applied, thanks.