Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1735074pxb; Wed, 10 Feb 2021 15:52:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJywn8eejKzJJFaWTKKo8f1uCXjWsUVkgKwZs84VsTOnGJT4rjYsimwQziFBhrR5C9t5C0Nk X-Received: by 2002:a17:907:768e:: with SMTP id jv14mr5560128ejc.453.1613001133185; Wed, 10 Feb 2021 15:52:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613001133; cv=none; d=google.com; s=arc-20160816; b=rIkTRPVoZ1nAzg0yy4Gh4qT9cE4++nVY1eroDX1GzXwJKTGkHMeyQSqJoiWVats0SR 34hNg+dNVgaUs5Qzc6M1Nm4VJevPZgiPy1OQXpt7wwpjsRDhCi4ohEsK7be414uAfxy2 O4xtkrayGy4W0vFHncDCiCJYB2Ywz2e0DDX+7DZmILs987vZ2bFkqBrYaZ9WUjV0H7Jb Qy/RFNQwbYDXf79IVXsg3yqqW/kGlVFl8HmCqal8k6X4p1JN+2X9rw5cLKomq0zreaZJ hZXwhFiwEhqMZogEYX4kB+8sEQQdNa6DoPHFjioietkeZBzSBKuwUtAWd7WLb1boHYpR N8QQ== 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=aE7LRHxW1agxd/t1yKHd6EtIhaluCmqNe9xG/dquj0Y=; b=FYpcJ6H2+wIxgMMPH1EVwAuioaNrWY4drikeeJf6IjWqYoHS+vdf+l04ReXw5LVRc3 KItGQmNdWdjZkXDnSH5Py85UfvnGOoq+JkEGfhdBmBG3ybQLkjpEsYtxSIsHeKTuG44H 9ONfC3a3hx+6/gNIFUR6z/aYpNGzEMIXB1whV++tnnggsB+JlczzpbWPo3P2eyWXjNJ3 3vV+gFwZExR4G1iKuk701Jf9B10/u65/p7SBtDMMDxbw8uAVMk0oM/9b7ReQaUmEEOGJ krn/mxDjhQDEyU35A5PqT3LwHByUCn07JHsHn+MTJwj2rLO1FMxFp3c7lnNAmn1gtW1C dVDA== 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 a67si2584054edf.198.2021.02.10.15.51.41; Wed, 10 Feb 2021 15:52:13 -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 S233516AbhBJXt4 (ORCPT + 99 others); Wed, 10 Feb 2021 18:49:56 -0500 Received: from szxga08-in.huawei.com ([45.249.212.255]:2835 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231547AbhBJXtz (ORCPT ); Wed, 10 Feb 2021 18:49:55 -0500 Received: from DGGEMM402-HUB.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4DbbyP70h8z13r52; Thu, 11 Feb 2021 07:46:53 +0800 (CST) Received: from dggemi711-chm.china.huawei.com (10.3.20.110) by DGGEMM402-HUB.china.huawei.com (10.3.20.210) with Microsoft SMTP Server (TLS) id 14.3.498.0; Thu, 11 Feb 2021 07:49:10 +0800 Received: from dggemi761-chm.china.huawei.com (10.1.198.147) by dggemi711-chm.china.huawei.com (10.3.20.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Thu, 11 Feb 2021 07:49:10 +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; Thu, 11 Feb 2021 07:49:10 +0800 From: "Song Bao Hua (Barry Song)" To: Finn Thain CC: tanxiaofei , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linuxarm@openeuler.org" , "linux-m68k@vger.kernel.org" Subject: RE: [Linuxarm] Re: [PATCH for-next 00/32] spin lock usage optimization for SCSI drivers Thread-Topic: [Linuxarm] Re: [PATCH for-next 00/32] spin lock usage optimization for SCSI drivers Thread-Index: AQHW//Cyu0PLR2OKVEm5NkJUbKWYbqpR4DFw//+TtYCAAJWd4A== Date: Wed, 10 Feb 2021 23:49:10 +0000 Message-ID: <3ec7cb32aa754a59b894d048873132cf@hisilicon.com> References: <1612697823-8073-1-git-send-email-tanxiaofei@huawei.com> <31cd807d-3d0-ed64-60d-fde32cb3833c@telegraphics.com.au> <88d26bd86c314e5483ec596952054be7@hisilicon.com> <00c06b19e87a425fa3a4b6aaecc66d49@hisilicon.com> <9611728-3e7-3954-cfee-f3d3cf45df6@telegraphics.com.au> <13c414b9bd7940caa5e1df810356dcfd@hisilicon.com> <221cb29-53a8-fd1-4232-360655f28f3@telegraphics.com.au> In-Reply-To: <221cb29-53a8-fd1-4232-360655f28f3@telegraphics.com.au> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.201.246] 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmlubiBUaGFpbiBbbWFp bHRvOmZ0aGFpbkB0ZWxlZ3JhcGhpY3MuY29tLmF1XQ0KPiBTZW50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