Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp91159ybe; Tue, 3 Sep 2019 18:17:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkE+P8O+0ut8NPzeyX+2idZCIm0qcLL97qvDc2rSWSF1W5ZGlP9kbfZmu1jxsSKLX8y3xs X-Received: by 2002:a17:902:bc4c:: with SMTP id t12mr37366724plz.90.1567559821169; Tue, 03 Sep 2019 18:17:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567559821; cv=pass; d=google.com; s=arc-20160816; b=dRP4VtCyu0O8p9V6QLoW2NScSb5byFbJ3d8xu/BGTUwb9ugufa21F9+KVLnEZuDNs6 RBtw6s6ZOKXxqQyBO148Crjxjn6VU1/AnPco5jbgw4T7l7T8TWzXj2HrHGkCX608jj45 N0ULkm5UDNsoXcPjgsvacEQZWgB0bWtNqTQ4C8g3PFAcv5205qTjh35TzJUTYcQ6ITGO Pm7WdnPpCfjLEOmlZbliL2CDUpUINxY1IrMmACLyco2wC+1k8ZzTHWl4egpDoHhSW7GB f7XRfta7CuUJSUFY0qptw72JujIycJ8mNNcXmc1sSkGaBt+bRCNu/u/bmcum42rAM8EW W0Ww== 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:message-id:date :thread-index:thread-topic:subject:to:from:dkim-signature; bh=yhKbxrDv6pV6/jwfpDgjDpy7SHr7ReNflj8QLRj8dVw=; b=mQTEjwRz76h97bLmrxDhqAhF0hil1SKQmnbQA2yKk6eTbBcS2dtfeOKrZXyHDH5b39 w9riKyRTxOCHKmSgtgNLdpY5LnXq4bvPToOJYcyR60Q60FVKfKiwM0Q1oNj+b6hMeika 9zefjV/ecIcqNUmB4M3cx6sHT0lFs9P9YJLg8aBrGwdOWrzWAeCHTe0225iBH99QlFdg xUgb/qOTWh+auk2AfYOdVyhjj631336lmIuvdngOjsTeDKzM10R3mggBdtYXCSAU0AtQ ML4zR+tydkE5blIAqp3iKQ+UDn/A/HJNK1sS7JyKk2HLQvp0TfdYXequGwZ9/84ayDAH wvxQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fortanix.onmicrosoft.com header.s=selector2-fortanix-onmicrosoft-com header.b=GWbaQC2P; arc=pass (i=1 spf=pass spfdomain=fortanix.com dkim=pass dkdomain=fortanix.com dmarc=pass fromdomain=fortanix.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fortanix.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f17si15550051pgh.552.2019.09.03.18.16.45; Tue, 03 Sep 2019 18:17:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@fortanix.onmicrosoft.com header.s=selector2-fortanix-onmicrosoft-com header.b=GWbaQC2P; arc=pass (i=1 spf=pass spfdomain=fortanix.com dkim=pass dkdomain=fortanix.com dmarc=pass fromdomain=fortanix.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fortanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727834AbfIDBP4 (ORCPT + 99 others); Tue, 3 Sep 2019 21:15:56 -0400 Received: from mail-eopbgr730115.outbound.protection.outlook.com ([40.107.73.115]:55992 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726009AbfIDBP4 (ORCPT ); Tue, 3 Sep 2019 21:15:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hrNrVnWoEfVYulP33+2Z2QJbPZanE4J9VtCZfJYw/tvJYRa4pjmvBuTPighmeEj3Lab+RvyIjpqu37NBEZoaCnXn9ba3FA5LQZI2islVRnMScBgsu+AAaopUTAEEp5fueW31uw5oakryzAoZ5GDmxyDlLt73ry1W77YNr43sh7OZvC50tIBU5vqUQGZV+FZzgJSIu7WMohjUlb+gD3t6KRj8mjdFY1LzXJv1djNMkhSCihGhyYEJS/34FlI/rfbnqXcFl6Zi1G61clO74/NTVenf6u6GFZboA0ubmIHdw6lejuV1VZ7pYM+0XGnVkQKWaI5cLS7RdA2mohUlXbH3EQ== 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=yhKbxrDv6pV6/jwfpDgjDpy7SHr7ReNflj8QLRj8dVw=; b=ldjE4JCuuaQHiY40fzbpF9OjEHnPWSLeLEZqq89ux4wiEYSILPnWa1qK70IKLnllidl79U9qnvLwrDcIlu/Mo7ZgxufyoN/xA6OFJ9Q0uNKbLTw8AYY3PwqUzSHF3QKOYXJZVY6f5X0sppjr7eNp+pYz61POU9S7OyeFtRZQwSPSauMtbX7UxeavA2lDARC/fHE36pJp5zYFMIxDtWeEDx3LtGnQn5zg2TmjVPGLQnipJn/GSv6GdGV77ZaD8v3HbvGZIcTQD9T6gvCdje9xjH4jk78nEpZ1ND+WyLCTMhi6B+friyEffG7c+01PMKocTat2xn5IcIb0FVbIpLlapA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fortanix.com; dmarc=pass action=none header.from=fortanix.com; dkim=pass header.d=fortanix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fortanix.onmicrosoft.com; s=selector2-fortanix-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yhKbxrDv6pV6/jwfpDgjDpy7SHr7ReNflj8QLRj8dVw=; b=GWbaQC2PPace5wjJYswmK/K7T6ZZFefhgU1D67INBypX2qnOI5IEBAutyA2pFFTf+CoAJzW3Ne/xzjB9x08Hf0gb88mYBMfkNox++56ctPwUK/6Ue/NZtNnajcPEoFT/2TlWleQOuCnYlRwtXLLRRjiU/3I4bg3a7Lpfg24HcjQ= Received: from DM5PR1101MB2348.namprd11.prod.outlook.com (10.173.174.144) by DM5PR1101MB2089.namprd11.prod.outlook.com (10.174.106.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.18; Wed, 4 Sep 2019 01:15:14 +0000 Received: from DM5PR1101MB2348.namprd11.prod.outlook.com ([fe80::798a:dabe:a59f:bb42]) by DM5PR1101MB2348.namprd11.prod.outlook.com ([fe80::798a:dabe:a59f:bb42%6]) with mapi id 15.20.2220.022; Wed, 4 Sep 2019 01:15:14 +0000 From: Jethro Beekman To: Marek Vasut , Tudor Ambarus , David Woodhouse , Brian Norris , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH v2 1/2] mtd: spi-nor: intel-spi: support chips without software sequencer Thread-Topic: [PATCH v2 1/2] mtd: spi-nor: intel-spi: support chips without software sequencer Thread-Index: AQHVYr406/tKUl7vTUifobCqeM8uGQ== Date: Wed, 4 Sep 2019 01:15:14 +0000 Message-ID: <69f4a8e8-7889-8b00-0adc-7faaef6b42e4@fortanix.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BY5PR13CA0028.namprd13.prod.outlook.com (2603:10b6:a03:180::41) To DM5PR1101MB2348.namprd11.prod.outlook.com (2603:10b6:3:a8::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=jethro@fortanix.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [67.207.107.146] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 20173c8f-6e26-4374-98e3-08d730d55744 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:DM5PR1101MB2089; x-ms-traffictypediagnostic: DM5PR1101MB2089: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0150F3F97D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(376002)(396003)(346002)(39840400004)(136003)(189003)(199004)(7736002)(25786009)(3846002)(14454004)(2906002)(6486002)(52116002)(5660300002)(6116002)(81166006)(81156014)(31696002)(8676002)(2201001)(508600001)(99286004)(86362001)(6436002)(8936002)(305945005)(316002)(66066001)(36756003)(31686004)(110136005)(386003)(71190400001)(6506007)(71200400001)(6512007)(66476007)(66556008)(64756008)(66446008)(14444005)(102836004)(66946007)(53936002)(476003)(2616005)(486006)(256004)(2501003)(186003)(26005);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR1101MB2089;H:DM5PR1101MB2348.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: fortanix.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: qZLVY0xfUD9f189842mhNpmYXXlUj9X0qM8lbizMhbgacndDimgV8CIX3Q7fel33dzek/x+47tID1ReKrdx2opy9JkRahPi7pvPaZemklmYEZYtGWoAJaLiPvtR4OldB0WqcDw5Oq/pDYa4Mio76/nfRRTgZulUit7E6owENznD4/Mfygwcg3vjX2u4mJoE5o35rG7Cm3Z+ZS8Y0EqWL1aC9a4NJ0rD7g7qQGEE+sAQgjJcPqPcPPePnc+DygMfwY8eLsbqI/qAbPhZ4sDsSvUumWDmRgsnH8NUh0BKnA5z4Bhp4SjFEFK4d1pqwtChPlP4LWnEZkZ2vKj3yRnKYVVBUkK1V5yWjAZCFPe+45CLWjJliARgQHINq21b6z+9rS8muVfVmN5zXO4eN+Cqx8x/f7eWbLlDpejJ9r0Q1KL8= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: fortanix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 20173c8f-6e26-4374-98e3-08d730d55744 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Sep 2019 01:15:14.8444 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: de7becae-4883-43e8-82c7-7dbdbb988ae6 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6wp+6ATFyTT4ptWBVrTHBRSY+NR9TFPAhMkw8UGgjaENOFoV5FTlgQKThX+h0ZDrdiOcrKtlZ23ZxOIWMzxOsg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2089 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org U29tZSBmbGFzaCBjb250cm9sbGVycyBkb24ndCBoYXZlIGEgc29mdHdhcmUgc2VxdWVuY2VyLiBB dm9pZA0KY29uZmlndXJpbmcgdGhlIHJlZ2lzdGVyIGFkZHJlc3NlcyBmb3IgaXQsIGFuZCBkb3Vi bGUgY2hlY2sNCmV2ZXJ5d2hlcmUgdGhhdCBpdHMgbm90IGFjY2lkZW50YWxseSB0cnlpbmcgdG8g YmUgdXNlZC4NCg0KRXZlcnkgdXNlIG9mIGBzcmVnc2AgaXMgbm93IGd1YXJkZWQgYnkgYSBjaGVj ayBvZiBgc3JlZ3NgIG9yDQpgc3dzZXFfcmVnYC4gVGhlIGNoZWNrI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