Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1413650imj; Fri, 8 Feb 2019 00:46:30 -0800 (PST) X-Google-Smtp-Source: AHgI3IanIu4lvGChg4ZnYTvRuLde4zDsgISyOomi2wPrxh9kYh4tHPJVorc8dd3ngpzQQ0s5vz17 X-Received: by 2002:a65:43c5:: with SMTP id n5mr3520597pgp.250.1549615590117; Fri, 08 Feb 2019 00:46:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549615590; cv=none; d=google.com; s=arc-20160816; b=Y3sRlu3hx/NyJU0TRzKWbIbn9pUXSP8Zna5RLmMVB1rQli6qnshZuScVE4/hIf9cgb bOKre3FQJzbr82CrxzqErdR0aZTEBlCEAkX65TVW3j01p0p1egKRr8xeIrm6kaQ9ij0N koOL/c1vkq9eURhn9zXSm7bib84h2zpXL6sLmp92byjhWjdPt0y9LFMBsd2MUJqDr6Gz 6DLglDRdClacEvQ4DoD1s1IaXf+K+xLblFHkPuNwCQfn/5vTlP7+zBhr12mM3j4ZNAu3 pSpguhXZNFuNvo7PdLVm5Yv0K2LCiIv10TuPw23b2jMhvuVpj461jtlOkrDYg8JBoc6X pvqw== ARC-Message-Signature: i=1; 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; bh=m4DXjJ72H1jZBBg+2c1JXGEa2h0Ywog+ZFrR2J5vF/U=; b=tG+D27wPEmS3uNQapa+3caqEtTRM9NSpmwaZsoBXd1Qi1VAQp7pq5tWQvr7ayO9plQ QINArXufZlWgPfjuqRqtaPojCrMYfQG9QG/KUwii4oJo/ssvr3RJBSCrDenEWBKevr+q BFfXpw7KtfxM9+zt3eYBUOymC6vZPjKkbvHy8EJJpNTZ7hj4+7c0DyGE57rsKQ2UqWEK AfQKUowwLpDCNUCFSU75PDmdlzsM03lTnyHgmzeVF+wSLDAsGnLsaMKfGk0IovbfPkVT 5Agt9UMcDK0ZZQxk8NfNAC3U6eeBY3xZIN4uqtntaV+TGFgeVP7Tv55Yao1qFV41xdqP XQpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infinera.com header.s=selector1 header.b=PFgjf4rZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=infinera.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ci1si1886346plb.352.2019.02.08.00.46.14; Fri, 08 Feb 2019 00:46:30 -0800 (PST) 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=@infinera.com header.s=selector1 header.b=PFgjf4rZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=infinera.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727298AbfBHIp4 (ORCPT + 99 others); Fri, 8 Feb 2019 03:45:56 -0500 Received: from mail-eopbgr760085.outbound.protection.outlook.com ([40.107.76.85]:52490 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726115AbfBHIp4 (ORCPT ); Fri, 8 Feb 2019 03:45:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infinera.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m4DXjJ72H1jZBBg+2c1JXGEa2h0Ywog+ZFrR2J5vF/U=; b=PFgjf4rZNXFd9n67FX8BwPl/DzXn1kJd4bR0HpALJo/h7wD79TQU7FlQGGQ5iKoNxSa2L1zwIkB6DPxw29yuyY/yt7jpRGmK7tpX8dGg4krnf6lj38YML2bYDwsYV1xgf1fLCJuiiWj1UC84EIt3lxDx8Dy86JI2bx9G5LWZMHo= Received: from BN8PR10MB3540.namprd10.prod.outlook.com (20.179.78.205) by BN8PR10MB3281.namprd10.prod.outlook.com (20.179.138.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.21; Fri, 8 Feb 2019 08:45:53 +0000 Received: from BN8PR10MB3540.namprd10.prod.outlook.com ([fe80::4854:26a0:6934:7aa8]) by BN8PR10MB3540.namprd10.prod.outlook.com ([fe80::4854:26a0:6934:7aa8%6]) with mapi id 15.20.1601.016; Fri, 8 Feb 2019 08:45:52 +0000 From: Joakim Tjernlund To: "ikegami_to@yahoo.co.jp" , "psobon@amazon.com" , "boris.brezillon@collabora.com" CC: "linux-kernel@vger.kernel.org" , "ikegami@allied-telesis.co.jp" , "keescook@chromium.org" , "liujian56@huawei.com" , "linux-mtd@lists.infradead.org" , "dwmw2@infradead.org" , "computersforpeace@gmail.com" , "richard@nod.at" , "marek.vasut@gmail.com" Subject: Re: Re: [PATCH] cfi: fix deadloop in cfi_cmdset_0002.c do_write_buffer Thread-Topic: Re: [PATCH] cfi: fix deadloop in cfi_cmdset_0002.c do_write_buffer Thread-Index: AQHUuWkwP8NVeFUWtUOIZe5+oZupBqXNwZKAgAACWYCABA2QAIACQc+AgADriICAAA4wAIAAlY4A Date: Fri, 8 Feb 2019 08:45:52 +0000 Message-ID: References: <1548977439-318904-1-git-send-email-liujian56@huawei.com> <20190203092645.18d1495b@bbrezillon> <20190203093509.269bf1e1@bbrezillon> <20190207095635.0fc3b411@kernel.org> <193621849.44066.1549580387922.JavaMail.yahoo@mail.yahoo.co.jp> <632ed76bd3844ceab75066d1f30a7115@EX13D07UWA001.ant.amazon.com> In-Reply-To: <632ed76bd3844ceab75066d1f30a7115@EX13D07UWA001.ant.amazon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Joakim.Tjernlund@infinera.com; x-originating-ip: [88.131.87.201] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN8PR10MB3281;6:qNHD8TaTUWPmAP2++/u+O9HvIAFhtmYnjeuZrRJr8ZDmQ1GvY0uNZDbATPXo9t+sc1k0lrSYHoYcJgBtnPzJskbfyEpHZJxe0S8CRQjzXmE8Dfb4Ry61iNKNq4i9DaN9Rg+q1Jo1z7ccqvto0vjEmNIrVCCoWHaOXl5sYf5KcaJhg75IfBVW5mnfkV/xu3GA72ycAVdeG8QrwJM5zA5Du+43FFp1Mtu1GEdpa0L7N0+21tySR+ujZxU6IzV1PNwdQVyyCmM/s/LHkiYpvRDYky+GseTuGr4Kcc0iuDfNs2py2EC5dZS7dc2uA/ZiPT2oQ4PsBewldfRKNvIbyWG4NQY3ZxqMvuJclpbN23s9O38+vlD0xFqsVFlu+S7ZF7UBBDSHbncC4OZijR4Bx5S4tl2/fZqLx1Yd9efwl+OO4U6Sl6fPk3HD2aAKaHREq9O/g0zHCwMjYia+iYsgAI6sEg==;5:JjtGvJDSgOi17B/4cMz+H6+7U8NEOb6cAhp8mIYGeCMGy0fUWVT1Q2xmlK82vsiMHu5asEc00PZS6NrW6x8Hyd7PUqcTMyPYo2sUZa6gFCj1x5G7w8i2NRcrs58Tsa0HQsIYbxL42TfnTsuHuDSiLbc9DPyRxp6fk1Gbwec2oBW6GHgO0Kn9hCavsZQe37E3SJoqg6C6r3Rzm6bDR6ElKA==;7:Frw7ChizpzQEC7ToOJTcbUOicq/xpNrg6loC3BIdvN8Aoa+orD4sE93KBoEod3hY+GxE3H3mNuZO99GADyWAj/W3DU2/O+llZ/YG9N0A7476gRB3I/8xGI3eYB1FmbO9y+ZzaZfr2BSKof8t40uVVw== x-ms-office365-filtering-correlation-id: 0278d111-0b8d-4d1a-4363-08d68da1d566 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020);SRVR:BN8PR10MB3281; x-ms-traffictypediagnostic: BN8PR10MB3281: x-microsoft-antispam-prvs: x-forefront-prvs: 094213BFEA x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(346002)(396003)(136003)(366004)(376002)(189003)(199004)(305945005)(72206003)(86362001)(8936002)(486006)(25786009)(478600001)(76176011)(229853002)(118296001)(6486002)(54906003)(66066001)(446003)(256004)(4326008)(11346002)(5024004)(2201001)(476003)(2501003)(8676002)(7416002)(7736002)(36756003)(93886005)(81166006)(81156014)(2616005)(68736007)(99286004)(53936002)(97736004)(71200400001)(71190400001)(105586002)(106356001)(26005)(14454004)(2906002)(186003)(3846002)(6512007)(6116002)(102836004)(6246003)(6436002)(316002)(110136005)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:BN8PR10MB3281;H:BN8PR10MB3540.namprd10.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: infinera.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 3hU+vJ6fBinXxKRCVj5Nw6+17J2SECL1KyRxHMuSYybViW2jj5PTdkYakqVKhHJfc3gxAUTLRn2EtWDVtNvciixchxemomIEoAOvem5mdQ8IVR+bPLD6TWjHvLxcbWAjhrKkwgFWsOeRWlK50eo2CwdVFxYlseVl1AEv9tz6ChicvAk4r4HIeu351zx78JZC7U6tVSrjMKeF5xZHtfo9HhaoHha2jS8WEM7vU2XluSgeRmNLUR+KI2frY+7H8MtN0l8Zen9Swa9scuMLdneSSL/zuWsKzOJuJeuNKYmtcn2TSNlzEWPAJqT2KjHfYSQlvsTEZ0fi17ZWGtHHssHROnJQZo9ZnTEVviWBOlRD91TlEtpYT1mUmi59U9tXMtHpouEaq6Eaq2PopN3p40+m0UkztlfkEr2W2WgIe4Msu6w= Content-Type: text/plain; charset="utf-8" Content-ID: <7DF8162C97A4614D83A51EE2DE206239@namprd10.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: infinera.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0278d111-0b8d-4d1a-4363-08d68da1d566 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2019 08:45:52.6171 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 285643de-5f5b-4b03-a153-0ae2dc8aaf77 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR10MB3281 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDE5LTAyLTA3IGF0IDIzOjUwICswMDAwLCBTb2JvbiwgUHJ6ZW15c2xhdyB3cm90 ZToNCj4gQ0FVVElPTjogVGhpcyBlbWFpbCBvcmlnaW5hdGVkIGZyb20gb3V0c2lkZSBvZiB0aGUg b3JnYW5pemF0aW9uLiBEbyBub3QgY2xpY2sgbGlua3Mgb3Igb3BlbiBhdHRhY2htZW50cyB1bmxl c3MgeW91IHJlY29nbml6ZSB0aGUgc2VuZGVyIGFuZCBrbm93IHRoZSBjb250ZW50IGlzIHNhZmUu DQo+IA0KPiANCj4gSGkgSWtlZ2FtaSwNCj4gDQo+IEkgaGF2ZSBzZWVuIGEgY2FzZSBteXNlbGYg d2hlcmUgYSB2YWx1ZSB3YXMgd3JpdHRlbiwgY2hpcCBjaGFuZ2VkDQo+IHN0YXRlIHRvICJyZWFk eSIgYnV0IHdoZW4gSSB3YXMgcmVhZGluZyB0aGUgdmFsdWUgd2FzIGluY29ycmVjdC4NCj4gVGhp cyBjYW4gaGFwc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