From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 33C0CC433EF for ; Fri, 1 Jul 2022 08:12:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id C093F60804; Fri, 1 Jul 2022 08:12:33 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org C093F60804 Authentication-Results: smtp3.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=EGL5Mk9G X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ybo8b5H4bXpI; Fri, 1 Jul 2022 08:12:33 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id A532560864; Fri, 1 Jul 2022 08:12:32 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org A532560864 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 75C59C0032; Fri, 1 Jul 2022 08:12:32 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id D692EC002D for ; Fri, 1 Jul 2022 08:12:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id AF3FA41835 for ; Fri, 1 Jul 2022 08:12:30 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org AF3FA41835 Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=EGL5Mk9G X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9cQGqwRbdyB3 for ; Fri, 1 Jul 2022 08:12:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 82D7341716 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by smtp4.osuosl.org (Postfix) with ESMTPS id 82D7341716 for ; Fri, 1 Jul 2022 08:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656663149; x=1688199149; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=uIBc20BRpWux/L4QNgzOIj1nZj/HX/ViDlZzamfMVRw=; b=EGL5Mk9G9WyJV+cuOM82r8PgPRKjWjjdhbkkaO7JKh1ZknEJbN1GP/a/ vO7+0nrPke/y1unCrdLFLIavL/T5lQ295VHssu9ci/pAllu3S4OkFfele e2nAUQAXypvBx/HjUwJjgj7YIa5rOVG2BBBR/zdguZnOTRHh5dYX6TJiq Z4ZqXHRytBp1lGPm9egUtOQJg8xAu0wmWz+P8QC5zSbZeqOYaCshz12rq nF+EWmq7AUfHLuVa+638UngcPCxzgxwhlPtT/WjlA/cRHPVC/2akPAWyJ YAV+s4ZuqydBmSogE5Vv9KA6D3ue5BSpxP3yBG+ETU7ARgJv0mDjXO6jP g==; X-IronPort-AV: E=McAfee;i="6400,9594,10394"; a="346574310" X-IronPort-AV: E=Sophos;i="5.92,236,1650956400"; d="scan'208";a="346574310" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2022 01:12:28 -0700 X-IronPort-AV: E=Sophos;i="5.92,236,1650956400"; d="scan'208";a="659344362" Received: from wenjuhe-mobl1.ccr.corp.intel.com (HELO [10.249.171.195]) ([10.249.171.195]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2022 01:12:26 -0700 Message-ID: <50a05134-349a-0921-2a70-63f303bf86a4@linux.intel.com> Date: Fri, 1 Jul 2022 16:12:23 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v3 00/11] iommu/vt-d: Optimize the use of locks Content-Language: en-US To: "Tian, Kevin" , "iommu@lists.linux-foundation.org" , "iommu@lists.linux.dev" References: <20220629074725.2331441-1-baolu.lu@linux.intel.com> From: Baolu Lu In-Reply-To: Cc: "linux-kernel@vger.kernel.org" , "Raj, Ashok" , "Pan, Jacob jun" X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" T24gMjAyMi83LzEgMTU6NTMsIFRpYW4sIEtldmluIHdyb3RlOgo+PiBGcm9tOiBMdSBCYW9sdSA8 YmFvbHUubHVAbGludXguaW50ZWwuY29tPgo+PiBTZW50OiBXZWRuZXNkYXksIEp1bmUgMjksIDIw MjIgMzo0NyBQTQo+Pgo+PiB2MzoKPj4gICAtIFNwbGl0IHJlZHVjdGlvbiBvZiBsb2NrIHJhbmdl cyBmcm9tIGNoYW5naW5nIGlycXNhdmUuCj4+ICAg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haWxtYW4vbGlzdGlu Zm8vaW9tbXU= From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE81110E9 for ; Fri, 1 Jul 2022 08:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656663149; x=1688199149; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=uIBc20BRpWux/L4QNgzOIj1nZj/HX/ViDlZzamfMVRw=; b=EGL5Mk9G9WyJV+cuOM82r8PgPRKjWjjdhbkkaO7JKh1ZknEJbN1GP/a/ vO7+0nrPke/y1unCrdLFLIavL/T5lQ295VHssu9ci/pAllu3S4OkFfele e2nAUQAXypvBx/HjUwJjgj7YIa5rOVG2BBBR/zdguZnOTRHh5dYX6TJiq Z4ZqXHRytBp1lGPm9egUtOQJg8xAu0wmWz+P8QC5zSbZeqOYaCshz12rq nF+EWmq7AUfHLuVa+638UngcPCxzgxwhlPtT/WjlA/cRHPVC/2akPAWyJ YAV+s4ZuqydBmSogE5Vv9KA6D3ue5BSpxP3yBG+ETU7ARgJv0mDjXO6jP g==; X-IronPort-AV: E=McAfee;i="6400,9594,10394"; a="283319520" X-IronPort-AV: E=Sophos;i="5.92,236,1650956400"; d="scan'208";a="283319520" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2022 01:12:28 -0700 X-IronPort-AV: E=Sophos;i="5.92,236,1650956400"; d="scan'208";a="659344362" Received: from wenjuhe-mobl1.ccr.corp.intel.com (HELO [10.249.171.195]) ([10.249.171.195]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2022 01:12:26 -0700 Message-ID: <50a05134-349a-0921-2a70-63f303bf86a4@linux.intel.com> Date: Fri, 1 Jul 2022 16:12:23 +0800 Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Cc: baolu.lu@linux.intel.com, "Raj, Ashok" , "Liu, Yi L" , "Pan, Jacob jun" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v3 00/11] iommu/vt-d: Optimize the use of locks Content-Language: en-US To: "Tian, Kevin" , "iommu@lists.linux-foundation.org" , "iommu@lists.linux.dev" References: <20220629074725.2331441-1-baolu.lu@linux.intel.com> From: Baolu Lu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <20220701081223.D5WhhP3NET-VV4ou2G9MbRMwJ3U5sMIA8cxA_oIfPfk@z> On 2022/7/1 15:53, Tian, Kevin wrote: >> From: Lu Baolu >> Sent: Wednesday, June 29, 2022 3:47 PM >> >> v3: >> - Split reduction of lock ranges from changing irqsave. >> https://lore.kernel.org/linux- >> iommu/BN9PR11MB52760A3D7C6BF1AF9C9D34658CAA9@BN9PR11MB5276. >> namprd11.prod.outlook.com/ >> - Fully initialize the dev_info before adding it to the list. >> https://lore.kernel.org/linux- >> iommu/BN9PR11MB52764D7CD86448C5E4EB46668CAA9@BN9PR11MB5276. >> namprd11.prod.outlook.com/ >> - Various code and comments refinement. >> > > This doesn't say why original patch2 was removed: > > "iommu/vt-d: Remove for_each_device_domain()" > > It took me a while to realize that it's already covered by your another > patch fixing RID2PASID. 😊 My fault! I forgot to mention it in the change log. Sorry about it. Best regards, baolu