Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp312633pxb; Wed, 24 Feb 2021 02:55:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGirNjON62wRQRKPjc5kqO6AK+TVvHGSHJYjpzhEBi/WExCHnqdVY20UXOTfAGnv0IFZdw X-Received: by 2002:a17:907:728b:: with SMTP id dt11mr30351232ejc.321.1614164110711; Wed, 24 Feb 2021 02:55:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614164110; cv=none; d=google.com; s=arc-20160816; b=PHGT4cIOfykkjxSBisNY8p9Dja/pIuWEfFUu0p+LMgNEYllxm4U2gGQB4ATAnHykpe bQOc2eMvPVgpriktU5H/AuEN7JBNTIMYF23eT5rZrO0XzBEe+XENsFbg/dmcGg50Jn/f Ir16fNuwniLgC1WnJMMiJP9CTqxlRDebW0Up72HEemwHE1xs9ItmT+KlVbmyeI6tCC3h YcTiK4Xm21pscnEEofY6ZoYLATKGETomB3aDmPbQ3nWpJRVIUKyHz+HN2JIJGH4drYbF Jb+Oz7IRPgFtx1VJWiHj+41GVnkV240/AyqoisM49EReDOxG0rp3HD55wOQcKhqD7C93 474w== 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=eq6M+v8GLWmreUEXW/OB92Ero7xWeYCbt5FSqyqsJLU=; b=e8MFOyhpsCp7+np/QsmdLzK93Y67ULRGgctwa8rXDaX4J8j19LkYQ8a4zg9ekQFhgL EGdcJQXZ4a+k6DKtSQp9+E/yozoa6iddaLs1MHP9xjWBLxeUoucbutnTtR2nZb5cxouy hqSemWHf2DWaWQcYCXJRUb7AuJ7sfTVZp1afv7HIzhsTCu70dac2gIEqvah2j5XhKdWh Q9SsAD+03bZf6H6RnoyD18xWeH5HacBAW/3mElnLE257RVu++DO6WDyW7JcYwqCnlXjY RG+cnDwoaaIKuklyS19C0OfN+RzTYLwjD82xGjTTmcVgQlaQzKj+C/epD8mVB5t/OLll I35A== 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 c20si917623edw.234.2021.02.24.02.54.43; Wed, 24 Feb 2021 02:55:10 -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 S234871AbhBXKvL (ORCPT + 99 others); Wed, 24 Feb 2021 05:51:11 -0500 Received: from szxga03-in.huawei.com ([45.249.212.189]:2908 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233279AbhBXKvB (ORCPT ); Wed, 24 Feb 2021 05:51:01 -0500 Received: from DGGEMM405-HUB.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Dlt1V33SFz5VG2; Wed, 24 Feb 2021 18:48:14 +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, 24 Feb 2021 18:50:14 +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, 24 Feb 2021 18:50:14 +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, 24 Feb 2021 18:50:14 +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: AQHXCmzcm1+9CefWtUG8kvjjNsr6mqpnFSvg Date: Wed, 24 Feb 2021 10:50:14 +0000 Message-ID: <79b5bdb1b5d94b248671bf99a930d971@hisilicon.com> References: <1612697823-8073-1-git-send-email-tanxiaofei@huawei.com> <31cd807d-3d0-ed64-60d-fde32cb3833c@telegraphics.com.au> <7bc39d19-f4cc-8028-11e6-c0e45421a765@huawei.com> <588a87f-ae42-0b7-749e-c780ce5c3e4f@telegraphics.com.au> <8c99b5c060eb4e5aa5b604666a8db516@hisilicon.com> <4d2f90d2157045a7b0800a4004f539ba@hisilicon.com> <7293ba4c-c5ab-528f-1feb-dc59bfb0df2d@telegraphics.com.au> In-Reply-To: <7293ba4c-c5ab-528f-1feb-dc59bfb0df2d@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.203.110] 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 bHRvOmZ0aGFpbkB0ZWxlZ3JhcGhpY3MuY29tLmF1XQ0KPiBTZW50OiBXZWRuZXNkYXksIEZ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