Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2066910pxa; Sun, 16 Aug 2020 22:40:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymWqBNPmwExNrGWRD06beLZ3f8P65pH6JqbMsGquG5tKogQsIyootrxLLzyQFfALZ6SFxo X-Received: by 2002:a17:906:c34e:: with SMTP id ci14mr14230900ejb.335.1597642811928; Sun, 16 Aug 2020 22:40:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1597642811; cv=pass; d=google.com; s=arc-20160816; b=fNICev7lrGgcq3AHXFqz5CqsIYUfpSIwqeHm3Yvun1aplWf3yshuxg1JIzKpzA08Rk Jk/0FQhWllAFmZ4+XRdfQsCHU+qXbKVonCYf6sMSQrr9EUo/xG0DDps1pPiaNrrCLjEx br3PBKZRqxEWHmKNVmtFLyWypaLGZDrKzyf1Am2MviNUiGOyKMOj1SjKulZ8FHZrEPp1 TKDhls1DTbKordnuOjnZPAroSwM3DQNjK19GU97Fyb5VnsaRIN4CYKi16jeY6iR5Hgjz aoqhNVQqw2CScXpofQTawZ0swkP2MFdiIrqybYecE/glyPrjcGPgjtGbqm9xUHp2r++N edRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-product:dlp-version:dlp-reaction:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:ironport-sdr :ironport-sdr; bh=cJWFwhIB3w8jbWQHWlBqOjklBwORKfLlf0TsLp22n30=; b=GN+Zj23JDFTxw1nXJ9BgekrUnmULbR1+e99ZIHk3NGfP1gFLqSWQiKrvCx3UoYhzxM x4Di9QfmkLPcVdDvxZ20qRtMRAhT/s7yvEohRr2pZ2sMcqa6p6dgcPw4LbtMLZi0UOIL dP1m4SvLsYOoFxq1GLS61g2VcvJDfsFK1v/8TnyPdQrvrxJ+D9w174jmSAJOhhkW+R55 THSWAfgzQrtUftCGsUP2Nh7vyr682ASY9nCbcox9zvk2Xv2mbfbq+p44zUOiopWK5Gyj CIPOcEK8aLH29xEm7nWVec2+qgOGCx80v/n/evBAnZYvILhf5Rh+POr7Eg6KNMTABRhM LYBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=ZXtRVW1l; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd9si10605200edb.340.2020.08.16.22.39.48; Sun, 16 Aug 2020 22:40:11 -0700 (PDT) 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; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=ZXtRVW1l; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726336AbgHQFjK (ORCPT + 99 others); Mon, 17 Aug 2020 01:39:10 -0400 Received: from mga17.intel.com ([192.55.52.151]:55408 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbgHQFjF (ORCPT ); Mon, 17 Aug 2020 01:39:05 -0400 IronPort-SDR: qRhJp9GSJbdQo7p/c4IUktdbu8H3fkpC1APEY1r5GE0mB7gcVkImZ+UkFyp7d/uHHinxDL7pwT 9rgAmhhBsmQw== X-IronPort-AV: E=McAfee;i="6000,8403,9715"; a="134699687" X-IronPort-AV: E=Sophos;i="5.76,322,1592895600"; d="scan'208";a="134699687" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2020 22:39:01 -0700 IronPort-SDR: qfiRvER/F4bb+I39rGvahTcS34Nq2Xuw/RnhGYLeZ2sFsHEc3isS3EZLt5DVq6sU0vy/kMurR7 /C+aJe6qWDZQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,322,1592895600"; d="scan'208";a="370463670" Received: from unknown (HELO fmsmsx606.amr.corp.intel.com) ([10.18.84.216]) by orsmga001.jf.intel.com with ESMTP; 16 Aug 2020 22:39:00 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 16 Aug 2020 22:39:00 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 16 Aug 2020 22:39:00 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 16 Aug 2020 22:39:00 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 16 Aug 2020 22:39:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TOMKDnq13uFekBQkH/ULQnRBoZ2cd785JPOU5M0BX2vzwLTavWVszeemyq7QGE/s39ccfsm+v9oD8nzhX46Yz4GuTPTkNxKmUpwUwpIOY8yOlv70ZpRSn3KuLnVGiw7mge6/O6pdf4TzA1N+ceplkBaekFA3CK25RglTQiNjUBKvXA9464JCVpEgwhKnEs1NGOj020v7WmRfE+PASX4ZBYIM6N9OJ1y7nRVN/qGtghEACEwJuhtKEY+PHx/Rmx9KuWdwgYdtdReAqfnm3lU4/P9a0oJnTFpPjB4/LwlgTbnTbn6cn87uW8XDPRQMQOuLbNemxP1xZYaYh1Gvl2l5Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cJWFwhIB3w8jbWQHWlBqOjklBwORKfLlf0TsLp22n30=; b=J5Zqk0xxALsRAYnioRkGSGIfHDFpEEXMfA6haCzh9xGYjtsr51+S94I+w/xgUw9Y6MjKkPMkOIxSs79b//BP1r/0jasbZ3+3diE2lmD3YgTXbvke7o2FQmVClJ8BdI8RSK72meklzD9VDqwcB7KjpBw0zDltbR/KPvc7dttjmzUWfhfbOVu6Cy5tbFqxSnw+gWm8FJnaAFHhMO/cDF2Syxe/rNrodda1T1aO+yZgu7TQ1KU/x6RtKkwYfIMUfS6hF90HL+YIQ3MOkf5YjGIiWKidKSgpmFglytuy/SvYik5985ji0rxdHd4Yr2itWWtuHM2s42fT2+GhEqqOuiQQuw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cJWFwhIB3w8jbWQHWlBqOjklBwORKfLlf0TsLp22n30=; b=ZXtRVW1lMvT/5MV2Xc0HaME32fyAkAn56XK5Gtd9bTyYE7zym3BD6d7GjtB0z6ZvEXg4j3PnSIV5aaQur33/4darMNwRWbdhG0uCXnDpBxs8t8jQzRMeBGQFdTmqZOlD92inMNhPxkXP/cXxpI2MaNsyfQqv5SKHSPl0Lb40azc= Received: from DM5PR11MB1435.namprd11.prod.outlook.com (2603:10b6:4:7::18) by DM5PR11MB1996.namprd11.prod.outlook.com (2603:10b6:3:13::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.16; Mon, 17 Aug 2020 05:38:58 +0000 Received: from DM5PR11MB1435.namprd11.prod.outlook.com ([fe80::9002:97a2:d8c0:8364]) by DM5PR11MB1435.namprd11.prod.outlook.com ([fe80::9002:97a2:d8c0:8364%10]) with mapi id 15.20.3283.027; Mon, 17 Aug 2020 05:38:58 +0000 From: "Liu, Yi L" To: Auger Eric , "alex.williamson@redhat.com" , "baolu.lu@linux.intel.com" , "joro@8bytes.org" CC: "Tian, Kevin" , "jacob.jun.pan@linux.intel.com" , "Raj, Ashok" , "Tian, Jun J" , "Sun, Yi Y" , "jean-philippe@linaro.org" , "peterx@redhat.com" , "Wu, Hao" , "stefanha@gmail.com" , "iommu@lists.linux-foundation.org" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v6 09/15] iommu/vt-d: Check ownership for PASIDs from user-space Thread-Topic: [PATCH v6 09/15] iommu/vt-d: Check ownership for PASIDs from user-space Thread-Index: AQHWZKdJno5Pta00J0+9WfqaijTt46k5eXWAgAJtvmA= Date: Mon, 17 Aug 2020 05:38:58 +0000 Message-ID: References: <1595917664-33276-1-git-send-email-yi.l.liu@intel.com> <1595917664-33276-10-git-send-email-yi.l.liu@intel.com> <0db97d4a-7c74-9fac-0763-0ed56dcc5eaa@redhat.com> In-Reply-To: <0db97d4a-7c74-9fac-0763-0ed56dcc5eaa@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [117.169.230.130] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b47ea57e-4287-4030-0b39-08d8426fd6bf x-ms-traffictypediagnostic: DM5PR11MB1996: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BDuhQNSQJkG5oiX4ChaR1OJNuslcrNhQc4Qig9t6TwJdv/1ZVEBpMBMPFiham3w5nCoaxJPSr7SSRgXu+fOC2psQxr826aWCaNDIxn7dHadzYcwz0PNWEgVjGa+UYNC/ctROp0GIJGuatCf0l+zdWcC7/j79QlpxSAGgZA9V2r9c/eW4DErSKzI43AHClwGObKPhGmwsVGwxUDuPbv6RFlI50cyrlb+KwN+PIpUa5Fwvn3tluo601KM//iwQ3mIwvpk+YuJ724vgETGcBEYKxaKjI3XitTJ4wNMXOLFtliH1k26WRwshAPCQi/gOqFG7 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR11MB1435.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(396003)(346002)(376002)(39860400002)(136003)(26005)(66446008)(64756008)(71200400001)(66556008)(66476007)(7416002)(8676002)(9686003)(2906002)(66946007)(55016002)(76116006)(86362001)(5660300002)(186003)(8936002)(316002)(33656002)(478600001)(6506007)(52536014)(7696005)(53546011)(83380400001)(54906003)(110136005)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: PevVbgu3khApubuGMqtPlRWzO0CiUXlCGh3HBeJDsoyx1iAQL5Z0dklLmnTtKlXq/0Ze78S2lrGHx12vxEpBVNzcE1VMpUR45TcRw2WAxLpplzh+zwB9IBFePnjot6ZB9UlY3g3IRQk17xVyA1t/mB3ColWpxLrPaCX8T+RbpwPCCGH8Wt9pCOaeDHfqNnvMipUUhqN6VqCGV8sjKaIgqXMl0esJfciDy1uCabYFAzgplokf4SacpZKfM3JsJgOwOs+984/2g3vBRXTNwHyQl85IZjDd9mzbAhprF1zPIY4sOVTcBCCGtfFb4zlDql6X25BXIrR2jsRAReUUJQzWwNRH2BlDMVGrMdYy7dtma7xc+87JL1lgLnrLxkFDhkqSR41k2jG+nrLsu/tvqzh6jfW9RqMRK3NCSEDJxf7prPRKd6AB0APITgdMlCDV0jfvzivMf3hkWYxo4jMildDJJF99/2AV4GfSnEb9rJOzs14s+4hJb5mIpBM9J+63tWAszQAkC53MfmtBcMwYGgtmkXT3sbUlmAIjAmfM88+YApSLIYZSGcDYttGU7w5fouJ2LtZwYbyou/Gse4QNrJGExhFu9EeWRtj+Pez/O849t0+gx7ICgtOdoBtEzfebgYTA3KuhLo26ctlzAxequ1yi6g== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR11MB1435.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b47ea57e-4287-4030-0b39-08d8426fd6bf X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2020 05:38:58.2423 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xZH/cbenLmHV9yW197wchgSJKA8JdwG7gTg483bfoyN40wIghrulkdzVFYnOMogN8dAsLfvBurBrbWB7Cj+xVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1996 X-OriginatorOrg: intel.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRXJpYywNCg0KPiBGcm9tOiBBdWdlciBFcmljIDxlcmljLmF1Z2VyQHJlZGhhdC5jb20+DQo+ IFNlbnQ6IFN1bmRheSwgQXVndXN0IDE2LCAyMDIwIDEyOjMwIEFNDQo+IA0KPiBIaSBZaSwNCj4g DQo+IE9uIDcvMjgvMjAgODoyNyBBTSwgTGl1IFlpIEwgd3JvdGU6DQo+ID4gV2hlbiBhbiBJT01N VSBkb21haW4gd2l0aCBuZXN0aW5nIGF0dHJpYnV0ZSBpcyB1c2VkIGZvciBndWVzdCBTVkEsIGEN Cj4gPiBzeXN0ZW0td2lkZSBQQVNJRCBpcyBhbGxvY2F0ZWQgZm9yIGJpbmRpbmcgd2l0aCB0aGUg ZGV2aWNlIGFuZCB0aGUgZG9tYWluLg0KPiA+IEZvciBzZWN1cml0eSByZWFzb24sIHdlIG5lZWQg dG8gY2hlY2sgdGhlIFBBU0lEIHBhc3NlZCBmcm9tIHVzZXItc3BhY2UuDQo+ID4gZS5nLiBwYWdl IHRhYmxlIGJpbmQvdW5iaW5kIGFuZCBQQVNJRCByZWxhdGVkIGNhY2hlIGludmFsaWRhdGlvbi4N Cj4gPg0KPiA+IENjOiBLZXZpbiBUaWFuIDxrZXZpbi50aWFuQGludGVsLmNvbT4NCj4gPiBDQzog SmFjb2IgUGFuIDxqYWNvYi5qdW4ucGFuQGxpbnV4LmludGVsLmNvbT4NCj4gPiBDYzogQWxleCBX aWxsaWFtc29uIDxhbGV4LndpbGxpYW1zb25AcmVkaGF0LmNvbT4NCj4gPiBDYzogRXJpYyBBdWdl ciA8ZXJpYy5hdWdlckByZWR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