Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4125288ybg; Fri, 25 Oct 2019 13:43:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRaL5dXB0k+sD0wenVX85oCFJmYKRMkPt6sim70nvIx2m7XwoskIk+d6ahd7EaYExsCe1o X-Received: by 2002:a05:6402:643:: with SMTP id u3mr6235127edx.60.1572036237803; Fri, 25 Oct 2019 13:43:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572036237; cv=none; d=google.com; s=arc-20160816; b=mTWfb+i43OuotR0tG3mzl181AxVxL/OM7RMt0YvJ86HQT4CLCM/MJAubvgjiqrvTBV zbkPV5inNRiK1LI/ik4jEXO6gSrMu3ukO4EgBeZAK5sF7lqUamRIASLsY/+3FZS01hnV nXiCQY6DpyCATNna8oHqEaL4Ts8LEzZl3KrBSnIl5z+hnJEt8suYzCMwGmIuTSYcs6TW B55bUhP2T6It1FBGZij93l/DILSAXqFoK4za7I7Ck4E5NeWCBU5op9srr+y7Ylvswip0 OY4TxPGyRJM/hybk3GecLM7h4zwyg694Rc2tKl6B/owojYjWi0tmswTx2RLT1DS7tYlS BBxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=iwxGD0r7OTfugrDDjGXRfoaikWLYqdZf2aYbVXXu/xs=; b=Ap4ytCnuTZXCltAHPMbqUcUDH3iVkbFbj0C1btnbRVKa+LcetncpvuXMPO41hW/h/e akgN5Sz6S9QRxp7T/qPcfUKNxP1RPXPSXYixodoVrvxJzNeJpj+hkQmvSUX0j+NrTdU/ 0bt7sb3GeaxBHg6acG7Vz/ov6fxzfukMDi5W1CDpoL73ScS2u2SOqU01luOnuHCuqVLq OaZKF5P0Iyh7s445upOSZ3NJseXQDBOsKNPss94f9EGuMOqNoaAk1IGo9uEnXDlq6Prb OiMOONm/wF8NOXZGtc0mwbR/IVG6wmSXkMyPB4NdMT/7U9vv4M3yeSpu41wOvP4eqc5Y lw9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s15si1924705edm.333.2019.10.25.13.43.33; Fri, 25 Oct 2019 13:43:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502853AbfJYPwn (ORCPT + 99 others); Fri, 25 Oct 2019 11:52:43 -0400 Received: from mga06.intel.com ([134.134.136.31]:40031 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502309AbfJYPwn (ORCPT ); Fri, 25 Oct 2019 11:52:43 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2019 08:52:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,229,1569308400"; d="scan'208";a="282292991" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 25 Oct 2019 08:52:41 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 25 Oct 2019 08:52:41 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 25 Oct 2019 08:52:41 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.166]) by SHSMSX153.ccr.corp.intel.com ([10.239.6.53]) with mapi id 14.03.0439.000; Fri, 25 Oct 2019 23:52:39 +0800 From: "Tian, Kevin" To: Lu Baolu , Jacob Pan CC: "iommu@lists.linux-foundation.org" , LKML , Joerg Roedel , "David Woodhouse" , Alex Williamson , Jean-Philippe Brucker , "Liu, Yi L" , "Raj, Ashok" , Christoph Hellwig , "Jonathan Cameron" , Eric Auger Subject: RE: [PATCH v7 03/11] iommu/vt-d: Add custom allocator for IOASID Thread-Topic: [PATCH v7 03/11] iommu/vt-d: Add custom allocator for IOASID Thread-Index: AQHViqRVDFt/7gHf3E+EfuPtxXQ8nKdqHQYAgAAk/YCAAKNMUIAAA0iAgACaPUA= Date: Fri, 25 Oct 2019 15:52:39 +0000 Message-ID: References: <1571946904-86776-1-git-send-email-jacob.jun.pan@linux.intel.com> <1571946904-86776-4-git-send-email-jacob.jun.pan@linux.intel.com> <20191024214311.43d76a5c@jacob-builder> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmFmZjZmYjctOTM0NC00NDg5LWIxMzMtMDRmYjJmZTY1OTA4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibTRTM1RTWTlRN20zYmtjSDI0OStFVnFUNnkzNW5ucU83YUxoUGlzM05CbWgwdEtsc0J1UkR1SnJlSkkreXNBRCJ9 dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBMdSBCYW9sdSBbbWFpbHRvOmJhb2x1Lmx1QGxpbnV4LmludGVsLmNvbV0NCj4gU2Vu dDogRnJpZGF5LCBPY3RvYmVyIDI1LCAyMDE5IDEwOjM5IFBNDQo+IA0KPiBIaSwNCj4gDQo+IE9u IDEwLzI1LzE5IDI6NDAgUE0sIFRpYW4sIEtldmluIHdyb3RlOg0KPiA+Pj4+IGlvYXNpZF9yZWdp c3Rlcl9hbGxvY2F0b3IoJmlvbW11LT5wYXNpZF9hbGxvY2F0b3IpOw0KPiA+Pj4+ICsJCQlpZiAo cmV0KSB7DQo+ID4+Pj4gKwkJCQlwcl93YXJuKCJDdXN0b20gUEFTSUQgYWxsb2NhdG9yDQo+ID4+ Pj4gcmVnaXN0ZXJhdGlvbiBmYWlsZWRcbiIpOw0KPiA+Pj4+ICsJCQkJLyoNCj4gPj4+PiArCQkJ CSAqIERpc2FibGUgc2NhbGFibGUgbW9kZSBvbiB0aGlzDQo+ID4+Pj4gSU9NTVUgaWYgdGhlcmUN Cj4gPj4+PiArCQkJCSAqIGlzIG5vIGN1c3RvbSBhbGxvY2F0b3IuIE1peGluZw0KPiA+Pj4+IFNN IGNhcGFibGUgdklPTU1VDQo+ID4+Pj4gKwkJCQkgKiBhbmQgbm9uLVNNIHZJT01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