Received: by 2002:aa6:c429:0:b029:98:93ff:f56f with SMTP id g9csp394764lkq; Thu, 3 Dec 2020 06:50:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAKKQPe8mBeN6Qy5IWk9M7SfVEtvWDc4YJEh5wIofzdUFYbC/DdQTPIDBy+iHzXsl7vbMU X-Received: by 2002:a17:906:1199:: with SMTP id n25mr2776762eja.293.1607007025777; Thu, 03 Dec 2020 06:50:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1607007025; cv=pass; d=google.com; s=arc-20160816; b=q5YMsT67ztxpCSGpAP8JwcGAp0W/F26hnBY/1Vee7P4TTJG2W1QUQl1mMetTmmwpZU VHCQshS2B9bsp5Uc+7Zytbt2JmEOk1XlSRkS6ju9ZJ1Ugm0vaZwfB2vbZICr7eNdCcXr ii7d8/c+LarKhstAWUsphabdRRJQ7TTqGVeTSvHZr6VomfqZ1QLkUgsnnvxkd/8Bfs87 ovYHJzm+QGqEe/IrxVm44dDYWrvQ/+ZAyp7DnnvYtvWsZ1iRfgt129mxt/BOFHFBYN9/ ZktUrnbZc2tlk5m96Ss4/3UynhraMJeKUX1JSMBziaKApsuPHaEjvgFwbxy+QTV7AO7S fIsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent: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=5y/KMrI+VfvdJWBH7hZNHOKUYiislY2Zxs3WvpyEsZ8=; b=HNNqoaQ3VsTLFxnaF5ZgiI/wKt42Zxg8R7Gymj9nf4+A1Xb4dSG6hI4AYA0gOmj98C /SCryOrc+sAWjNkizYv5UJB1R5AYiU8RXQw/YyqbRzNq2TJ3I/RTH2+5naPkRaUCBZbs y+n64NO7h495LXhwIvbIekqpzNLpnrapp+IitSrUbEmGrwTJxB/ITICZPGuhrZgOV/i1 +lMfVVCO6+zyjykgMmziezqOMPn5VqPvPc5yvog6YCZ8p3D+cUaZrMlxr2F3cCAeW+M8 hpQ2m3ILs+yPIiG/27MTtAnduxG+KuZHQk+LIgHDjcIaUoKdlLCaCEqjtU1lEv1hqc3A ijNg== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=uTN3P3OF; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=iu4qutIl; 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=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 w10si1237201ejc.434.2020.12.03.06.50.01; Thu, 03 Dec 2020 06:50:25 -0800 (PST) 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=uTN3P3OF; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=iu4qutIl; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730556AbgLCOqD (ORCPT + 99 others); Thu, 3 Dec 2020 09:46:03 -0500 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:15851 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726610AbgLCOqC (ORCPT ); Thu, 3 Dec 2020 09:46:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1607006761; x=1638542761; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=5y/KMrI+VfvdJWBH7hZNHOKUYiislY2Zxs3WvpyEsZ8=; b=uTN3P3OF53P7NGLFSFaO5g6Y02QFHvBG6WV5rMEVKBHkwxOOb3UrztGd Nhy83qM7tqdEx5OJ25n+veskOzONY5zauskfcUYFprXd1762jBlOmAa1i BYh7k05xR3k8WMjghTgAkt6FXqP4508fVKLo1JFQOFCwOTTV6krWP8oDd YGB7UftGno2+owZM4fhCba1ZyQcARe0I650UzfedN0fa9XVBisFHSW7/9 3IL9Ge0d6vCfcoauP1KRTXIWvsHhwc+2uW/jA0aeWnUFpU5U/6SNuKcFb 4EdbHZXd6HmTr1mGMfFmEBdi0dq00DAlr1HarFvM645Khv2L3wiZgyvT/ A==; IronPort-SDR: ncVMWUjUkOKUr+Y/L2lMtF7AX5s0onBKEnr5z2Cc5T61n2V2FgEsJmWeYiRMKwFM/S90MJIJAn XHfwiea5hALgzpeAlljTt6+C2YKIhFAMJJHb/OD9umD8w9kqgqxk61h6oagxMCNMzXgcgaIrfr Iv77WbrG052cToDmXYOeY4bONhwWiDxIPYziPX8qcoYAYxL4PrwZ/1AkTkGuAp+6YAPl2lI1gn j0Oum4EURq0Mpunf/iK0F9dbAvpBl1xCCZN47UM8We0dFR1SIZxbQPRDkPTGiSZHzclrHAoZfY 6Qw= X-IronPort-AV: E=Sophos;i="5.78,389,1599548400"; d="scan'208";a="100748696" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Dec 2020 07:44:56 -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; Thu, 3 Dec 2020 07:44:55 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3 via Frontend Transport; Thu, 3 Dec 2020 07:44:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nx3Y56+GdfLxERyvM4v3+IY4a0DpYspwfYp+5WvE2DWlwxp7hfbkvPujFrHB1DzqnJRe1yfNTwV1bZ8dYCrkBBTSMecwIyLzzYByIaEK/btkfJVwSv/xC0eGw01VnSWqos376rW3N9zVOgoPOvQM/74mxN+3GowQrw9Iuxuh9rJx+sw3xUhqc6E2vHWRDDrQmyxrZZW6AEUsClqUAPM6NLAEix4r+RiOvVjlpd1dDq8t/N8ozFC/5cpjuSLCIfmnwp60AL5Y5JG51dcKykeIIiGxR7IHXKS+5bdPjHJs6Ud1uELJbzR5jMvWsfumkJG7P4kGr22qqf4DZvZ8Ij+FEQ== 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=5y/KMrI+VfvdJWBH7hZNHOKUYiislY2Zxs3WvpyEsZ8=; b=IRqnrsPkzp6OmOkIvcBheNj9g294VRI86KKPF6mqDb5eDUU5FCM8No8gTbA8pdMJSNzUv15cFbq43wjf/zHXFnf8SrXG0gFya1iJseROarkdkN10KLB49r/igAGRClzEB6Cev6yQO5PDJ9CgfQ5L3kJPSvJC1DQTltW8Uyyj4Mm8ILEnvQipcC3P1o9XCiZhuvO+67hDdb/At9SB00BpTsNb4vXH/Ob2e97jPkWxU4SWQlcrVMz/SOTfvtmxsmATxN0/IPJmKu2rMx3pWiedxvx0aV6YWcs35/qCP4NcR4/C7+CIYCUZPj9OmoU65DZgyWkUgAvKfSMSsOFZfCY+AQ== 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=5y/KMrI+VfvdJWBH7hZNHOKUYiislY2Zxs3WvpyEsZ8=; b=iu4qutIlgsiNjy5kPJBkHWKC3kFNtYomLHQpKC0BJUiLrpdv3B5Vf0+9OfSbIRQChTZVOyjf6AK4znvRIhZyHkCjNdsWTolOKvo3ncns7B3p8GaLNPxi12VvaaA6NEZIqcJp5pfOct9hItMdlb/1ltcGc8fFNV3x+W8yJxGNFLc= Received: from SA2PR11MB4874.namprd11.prod.outlook.com (2603:10b6:806:f9::23) by SA0PR11MB4687.namprd11.prod.outlook.com (2603:10b6:806:96::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.25; Thu, 3 Dec 2020 14:44:54 +0000 Received: from SA2PR11MB4874.namprd11.prod.outlook.com ([fe80::6903:3212:cc9e:761]) by SA2PR11MB4874.namprd11.prod.outlook.com ([fe80::6903:3212:cc9e:761%7]) with mapi id 15.20.3632.020; Thu, 3 Dec 2020 14:44:54 +0000 From: To: , , CC: , , , Subject: Re: [PATCH v7 6/7] mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040 Thread-Topic: [PATCH v7 6/7] mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040 Thread-Index: AQHWyYLcJsKk2P42uE+7Sa9dD7Nz7g== Date: Thu, 3 Dec 2020 14:44:54 +0000 Message-ID: <9338f65d-ff5e-ade8-8beb-986445996da0@microchip.com> References: <20201202230040.14009-1-michael@walle.cc> <20201202230040.14009-7-michael@walle.cc> In-Reply-To: <20201202230040.14009-7-michael@walle.cc> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 authentication-results: walle.cc; dkim=none (message not signed) header.d=none;walle.cc; dmarc=none action=none header.from=microchip.com; x-originating-ip: [79.115.63.95] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 10b7be81-9816-405e-8bff-08d89799ff91 x-ms-traffictypediagnostic: SA0PR11MB4687: x-microsoft-antispam-prvs: x-bypassexternaltag: True x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dR+c4oBTcpBvTDXS/kQiPjt08yWzd/kw4HgNaCC8UzRzvKzcc/ZTlNdDG90Kq6CL3B2SDQrzZQQG4OURLXB6JhDRup8bLN76wPK8GQTTuc+mlrBVak7UV6TCBTe3+kmVD2I9BxavgZVEIqewLFnBQIjLpOJS9EpV0gLzRxWcodHup8KEhNOHV5GztklpJEYmt3EdqE+dU0y8jdPOotts2N/FaxCYVXEINIkqEjhJS8ZEj880Jzos1vjnTRMZV8tgQ0HiIoTfrZIBVze8qkNNlYjnOeKnDXYSrXXlerY8t3bW2VYWjcDUdNNETZ8cFylZV2VFnlWqnVJaxNumpxsqyzs34YIqntOlO9BP7Rsew4AsFcOYQy7hF2U4BdUKFwZnpCZWyly+Mt9YFVVcz5FbTBRxT9Ap0VeqUsq1GN1+lvg= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA2PR11MB4874.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(346002)(376002)(366004)(39860400002)(396003)(136003)(6512007)(26005)(31686004)(186003)(6506007)(5660300002)(478600001)(53546011)(83380400001)(71200400001)(86362001)(64756008)(8676002)(91956017)(36756003)(54906003)(6486002)(110136005)(76116006)(66556008)(66446008)(31696002)(2616005)(8936002)(4326008)(66946007)(2906002)(66476007)(316002)(43740500002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?ZXZBaGtmTHMwTzlzVnZvVU10ZTErM2c0UTlPTk1jL2lRSGc4ZFpqeVBKZ1hD?= =?utf-8?B?Rzg4dU5lQ0pxVjQ2UG41dER3TjA1TU9xY3hWeDRaTmxrWW9ESTdXMFN3ZWdy?= =?utf-8?B?bGxQOVhXSmJwOU9aanRzTjNUTnZQYUtxSjBCK0NNUlRlQy9tWE1OLzYxNmlv?= =?utf-8?B?NFRYNWNpZUk0dW1jbGpjcUcyVjk1UXpuMWxlRFNqQ3lkYUJPTHBlc1ZueGpv?= =?utf-8?B?bkZZME5xajVDZmRkQzRWMHNodmRMSDhaYklUUStSa1JmSml5WmRXVFNaZWFa?= =?utf-8?B?WnlmMjI2Zm1OQTVDRE5VMkdLbEQ1NVd2N0pIV1MyM2ZWMkNGZHpIMlY2UXBj?= =?utf-8?B?QnhnaUpVd01pY240anBOdGVENGdyc1E4Zjd2dzVDRVJ5VHlUQ0YyUm5IdmlW?= =?utf-8?B?QUVkMHQzU0dpWUVGVDZuUy9qREQyaVlPbkl6WmtML0NCeFFiRlVWdzBZTjha?= =?utf-8?B?RHJCc2hYanJhb1EvckFZYzBMMUVFemV4emJTMWd4cWhPM244eTJNQ2U3NGRs?= =?utf-8?B?RkRSdkwwU2syZFNHWmp6ZmRyT1I3SWMrMzZlRklNTG95azFlT0lESGpaRW85?= =?utf-8?B?VkJYYzByYkF3YlAzbGpaRWdYS2JSN0xaWUhucEh3ZGZaQlNDTWRHdlNlaUJW?= =?utf-8?B?czdHbEN2K1hwZXlKMlZvLzBUaWswd2F0TWFPcnpaZUlYbHVScGtzK1ozRjV4?= =?utf-8?B?VkV5UU52LzE2Q3RrSkJXcFdKOUJZV0pCMHNPNW9HK1VRbklwQ3hwRlpvVzVw?= =?utf-8?B?RytKUXo4Skhwcy9hZnpDdC9rcHhBSVBEdHJmMjlQVlJJVC92bC81VHdZZ3Ri?= =?utf-8?B?eWphRWdFZ3VScU15L2tma0VoaW5SR1o5dGRnRFRxMG8wNUlpOG5vZ1VhSElr?= =?utf-8?B?Wjh2dmwwU0x2VmFCMUlEVEpSNjF1WkRFUnRTSHJLeTFNVjFUY2RHNnVtMWtL?= =?utf-8?B?TktWeVI2RGd0MFBhajRFRG9Vd1FQZTRiZTJwRmNRNi9GRDd2RFlvRGVxY0h0?= =?utf-8?B?aVliZGVlUTB5SFYrNnlJalRtTloyY3hRcjRZZGpJR0Njb3B4ZXFQQkFzNEJT?= =?utf-8?B?Rmp5V1QrcElPRko2alZQMkpmVXdQU3BuQmREMDlPS3QrWml1aFR6QWtHSDhY?= =?utf-8?B?ZTNXYUlhR0pVNHZmdVhwQW9BaWN5QmxkTjdOeHd4ZjhsWFoxc0RSYXhmT2M2?= =?utf-8?B?bkFIWTZaWFN0SlpjSGI5N21xaWJTZ0NHRjhaR1dRcHoxNE53WU5qSnF1SzJh?= =?utf-8?B?WG5xOGd3VjBrQ1VVTnB6aDM4VFYyUHgxdzhXRHI4MHBGSktjSWl4K25hVHBq?= =?utf-8?Q?4XvpH24m0yvqQ=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR11MB4874.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10b7be81-9816-405e-8bff-08d89799ff91 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Dec 2020 14:44:54.5249 (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: OTF2X+b8ccdU+/xUZvzTHT/mz3xR4iUIxqsPgN55WY2I9cW6bKIF4KG7Crdeq+vin1haiFYHJKUMkkQJKqP6+xqqVsBu+9ldyxvX9l3SRt4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4687 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTIvMy8yMCAxOjAwIEFNLCBNaWNoYWVsIFdhbGxlIHdyb3RlOg0KPiBFWFRFUk5BTCBFTUFJ TDogRG8gbm90IGNsaWNrIGxpbmtzIG9yIG9wZW4gYXR0YWNobWVudHMgdW5sZXNzIHlvdSBrbm93 IHRoZSBjb250ZW50IGlzIHNhZmUNCj4gDQo+IFRoZXNlIGZsYXNoZXMgaGF2ZSBzb21lIHdlaXJk IEJQIGJpdHMgbWFwcGluZyB3aGljaCBhcmVuJ3Qgc3VwcG9ydGVkIGluDQo+IHRoZSBjdXJyZW50 IGxvY2tpbmcgY29kZS4gSnVzdCBhZGQgYSBzaW1wbGUgdW5sb2NrIG9wIHRvIHVucHJvdGVjdCB0 aGUNCj4gZW50aXJlIGZsYXNoIGFycmF5IHdoaWNoIGlzIG5lZWRlZCBmb3IgbGVnYWN5IGJlaGF2 aW9yLg0KPiANCj4gU2lnbmVkLW9mZi1ieTogTWljaGFlbCBXYWxsZSA8bWljaGFlbEB3YWxsZS5j Yz4NCg0KV2l0aCBmaXhlcyB0YWcgYWRkZWQsIG9uZSBjYW4gYWRkOg0KUmV2aWV3ZWQtYnk6IFR1 ZG9yIEFtYmFydXMgPHR1ZG9yLmFtYmFydXNAbWljcm9jaGlwLmNvbT4NCg0KPiAtLS0NCj4gY2hh bmdlcyBzaW5jZSB2NjoNCj4gIC0gdXNlIHNwaV9ub3Jfd3JpdGVfc3JfYW5kX2NoZWNrK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