Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1245572pxb; Wed, 10 Feb 2021 03:58:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzXasheTDpICFH4E8+HMt1VtMAF/xeVcFj5EYMzJv1JbVDNmLxjxPbK6qqHd6fpdSFqCb6A X-Received: by 2002:a05:6402:4310:: with SMTP id m16mr2793012edc.207.1612958336698; Wed, 10 Feb 2021 03:58:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612958336; cv=none; d=google.com; s=arc-20160816; b=ImRfurA7FvELtaHaPr/bMpWbnx+yz1w9/X6iq6o8ZJ2nGFcsewkPZY/GHR5kG4awKc V0e25hXGvbSwisKURxR222saSFHnTpNZQUDjmU8zIe57AyLSFMWlmrq17rUouPmZ6gwE 3VzBm0cWPRXr274X4A52cHea41kksjZGXN1bfkZ44hi0SoDOWILzMcPHzCeN6UEuYtzA 3t/25gJb+Ijhc3xOqBEYq34+p76je69X/hgymcVqdLCWqfCsYpAtMwFE5hJFggIEKS/1 RAbrYtESkhOozoBONyGCrHMFwPw6ke6NMEaMwvOY+5OvCeyZYABKVvp3DoDs3dYoXkDl wXnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=J+ehAZCkfBhptsOKm/fdpcKzWQ64poqRfEO9KP7p5ac=; b=tZRLxMn/B7+4HAliEuStu/eY4EQDD8Ncid5qae/Oq+zQIMkwjw8WuVK//v08cwSNFm HJtioVj/pkhfYlwrIjn9+gZP4gt/V8KCjvbTxQQwNWFhGOP8Jng+ULWPmsjMv8XE27k5 SfM3O4kxoAa3HsEs7h41ZEVIohk6yX9bEdtZ3M9XTt7KJIyEMUYkpnoN7liMaQIFOddY 3VTG0XvQ/YRg1AnJqKfjwFKQyQb6UNuEtUfosgel5cDalmKmxkjfaLrKbkyOSCoMhboA LS8L6gzGwItBjVdpegN7YrhH7ktAm0Smxwn68l9KqR/5XYwaYS1A6dGp8DhPyG8fsQJ2 RPjw== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x20si1199145ejw.92.2021.02.10.03.58.33; Wed, 10 Feb 2021 03:58:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230229AbhBJLz7 (ORCPT + 99 others); Wed, 10 Feb 2021 06:55:59 -0500 Received: from szxga03-in.huawei.com ([45.249.212.189]:2897 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230260AbhBJLvb (ORCPT ); Wed, 10 Feb 2021 06:51:31 -0500 Received: from DGGEMM405-HUB.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4DbJ234Ffdz5Q5Z; Wed, 10 Feb 2021 19:48:59 +0800 (CST) Received: from dggemi710-chm.china.huawei.com (10.3.20.109) by DGGEMM405-HUB.china.huawei.com (10.3.20.213) with Microsoft SMTP Server (TLS) id 14.3.498.0; Wed, 10 Feb 2021 19:50:45 +0800 Received: from dggemi761-chm.china.huawei.com (10.1.198.147) by dggemi710-chm.china.huawei.com (10.3.20.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Wed, 10 Feb 2021 19:50:45 +0800 Received: from dggemi761-chm.china.huawei.com ([10.9.49.202]) by dggemi761-chm.china.huawei.com ([10.9.49.202]) with mapi id 15.01.2106.006; Wed, 10 Feb 2021 19:50:45 +0800 From: "Song Bao Hua (Barry Song)" To: Andy Shevchenko , luojiaxing CC: Linus Walleij , Andy Shevchenko , Grygorii Strashko , Santosh Shilimkar , "Kevin Hilman" , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , "linuxarm@openeuler.org" Subject: RE: [Linuxarm] Re: [PATCH for next v1 0/2] gpio: few clean up patches to replace spin_lock_irqsave with spin_lock Thread-Topic: [Linuxarm] Re: [PATCH for next v1 0/2] gpio: few clean up patches to replace spin_lock_irqsave with spin_lock Thread-Index: AQHW/fpz5jJ2/H7qpkegS3EF2g2rTapNupMAgAFOFgCAAATsgIABLhiAgAB3XwCAAJQm4A== Date: Wed, 10 Feb 2021 11:50:45 +0000 Message-ID: <947bcef0d56a4d0c82729d6899394f4a@hisilicon.com> References: <1612774577-55943-1-git-send-email-luojiaxing@huawei.com> <2b8001bb-0bcd-3fea-e15c-2722e7243209@huawei.com> <1a5dfcf2-11a2-f549-782d-447d58e21305@huawei.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.200.187] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQW5keSBTaGV2Y2hlbmtv IFttYWlsdG86YW5keS5zaGV2Y2hlbmtvQGdtYWlsLmNvbV0NCj4gU2VudDogV2VkbmVzZGF5LCBG ZWJydWFyeSAxMCwgMjAyMSAxMTo1MSBQTQ0KPiBUbzogbHVvamlheGluZyA8bHVvamlheGluZ0Bo dWF3ZWkuY29tPg0KPiBDYzogTGludXMgV2FsbGVp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