Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1729631ybh; Mon, 20 Jul 2020 05:58:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNDf1FhSJohFSoRQeKFs4gBNcz3doUUCtrbnwbiOx0Uy0j4D0ZbEEy4wHZBlD3wkquM4YC X-Received: by 2002:a05:6402:17ee:: with SMTP id t14mr21715378edy.359.1595249897517; Mon, 20 Jul 2020 05:58:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595249897; cv=pass; d=google.com; s=arc-20160816; b=pDZCBkas+qV+RCB1ocTxkRfKOFHOIkKVzw8i+nsnmfAKRKn1GYs1FXm/rOHOuRTiFT AyB8yaGAhJo2v4nhYfWXR85MlJk+LzBqknDe7BD091U8cp/WkgJVOZUKHVuHEqxpu68e JnocrGclZUCx6mJB8aKpZIB8jxPmvGFv34DSmb1jCF2XZ+oSohH+Hzv9XNCo/8a1roNv /k9S3ZeWATeb144c5/iFFX4qGuqyJMNWt/jNa5SMWRcYxkinJWvYvj9QVj8BXMBeElmd IfzX1HSulo9IVegaSzozOSkxBc62uYKDzh4pWNsZjYm9ptV2EwQBRQDQZZtlyfMlhGVC /3dA== 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=gchef5zTAnKNtG6eRQWbmEr3MSanqeVCFwDyHt+j1Ms=; b=Q/33l2dNiSRIIqERljwMyH4J8AoiNTIeiLfE8K0/Xoaji7lz6JoSVgw+4UITohi8Tz 1eIoRESrN1OqFGGujThEe0pa68Z3Bk076oxwU/C3TvChpXNsPsv6WvFduDj+Qd+5pBkm 8zzh6naH9Lq8u66JjvJKp0uOyPA4FywZAyFWZoAF+YFIlevhJsgMCs/m+4wwpAB3W4yB DJAdvpOfKZXRhg6GRo/HVLYmCmeX0qoSMiAxxTz4zgIbRY/n8zyiI3vSe1PE9XNm2UzC Y+C5qDCK5Pa3YJNVulqHAeZ+0IFwd00UNgR9BdqNU+fi/tmZPJ4jbp4O7f03uLxZ011Z pHQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=A3ilxDU+; 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 f10si10534750edm.214.2020.07.20.05.57.53; Mon, 20 Jul 2020 05:58:17 -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=A3ilxDU+; 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 S1728849AbgGTMzs (ORCPT + 99 others); Mon, 20 Jul 2020 08:55:48 -0400 Received: from mga07.intel.com ([134.134.136.100]:45023 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728487AbgGTMzr (ORCPT ); Mon, 20 Jul 2020 08:55:47 -0400 IronPort-SDR: yg6nkCLXFTSdmnqqNN93Ykh9PP65uPcV8L/LtkkdZRue0x1Pnq4ebuk5+KNhqc9od+53ORSpmA 09PxjisUwT+w== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="214579810" X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="214579810" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 05:55:46 -0700 IronPort-SDR: JTZscmiM3M2/kRoY6nFvzqRMVgx81rXAkbbJnHvnzUxTHp5ub2XpI//lZqUIVsXx/njP3t7bVw D4Mj8m6Go6Ww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="283503680" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 20 Jul 2020 05:55:45 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 05:55:45 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 20 Jul 2020 05:55:45 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 20 Jul 2020 05:55:44 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.54) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 05:55:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MCckEqySA+ujNi/qIkoYrxVEhqGfGHdETbR2DyGCshPS5UnFsbkM9Py4w+Q8cimGyK+29MFW43JAt9eMmyr1Ty+B8/oZOdNTHHfjsgJ5Ja5zOLaMuDSk6KoYYCQs+ChphXIG7Twmn/brE5q/tIbaOtRkrnu4K49N77KOGvb1RD4V7DsANZ+Baq60U2Yb+WYtmCktzQL/bHwdw76kLjKPr3FPNVFXUNirmfUzKNN1QCRqsnMVt5TUurVouRJYxsYpDUx2QASzQ9qdJNqpOPebFF7cZ3Yqd7qPRCAEqEPEOftxarPo2Y1ZTakGjzrlhHoGYZci6bQciPVnkc7+7QwJrA== 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=gchef5zTAnKNtG6eRQWbmEr3MSanqeVCFwDyHt+j1Ms=; b=BSoxKC+rO71wmSDUekAPIAcORXPW+cN1iNs9wY2CFHvWB657z57GzQEKHV3wCnw/TVw01JzpgRAlGRT9+2jx8ZN7H41YU8jwGwHXNrbT3plnlP7fNNsM2uVks/Qp8NB0tIHZ53CBBpHL1vXCecjTHsREuH61E3cWoSCelFYF9tHOLbIzz56u8ic5YGugD+9cShwyoK6Y8rt2XWdqWb4KYaSVra/6CuQN+x+BKhxvu6maC7OJn5cgbmIdGj14BfCUoFY82SeuVH75OmSJW5nCKbtqEOszNE5utAbHcCoRTdf1ooPQIcqzXhg/q7bLVHiw3+W5SE+8+WpWzFex5kMwyQ== 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=gchef5zTAnKNtG6eRQWbmEr3MSanqeVCFwDyHt+j1Ms=; b=A3ilxDU+mdsYldmWVf23NnL39IDT6d+1x0K9E/Q1Kf0DRcOJtDqjUmx2GmyuZb7m/oXgzyxD5v7yWHE8u73YBvHvX8M6hEU/u5bPZkSspBiBYn8K6mE48imnV54qD4UYAWU6UXNgP3ylvfGaAYY/cPaR3K1cYxTgCg4Ad3hAWLk= Received: from DM5PR11MB1435.namprd11.prod.outlook.com (2603:10b6:4:7::18) by DM6PR11MB3994.namprd11.prod.outlook.com (2603:10b6:5:193::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17; Mon, 20 Jul 2020 12:55:42 +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.3195.025; Mon, 20 Jul 2020 12:55:42 +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 v5 09/15] iommu/vt-d: Check ownership for PASIDs from user-space Thread-Topic: [PATCH v5 09/15] iommu/vt-d: Check ownership for PASIDs from user-space Thread-Index: AQHWWD2mfecmeDXWOkCzHg/KKlvw3qkPHIEAgAEt7vCAACpBgIAAA2nQ Date: Mon, 20 Jul 2020 12:55:42 +0000 Message-ID: References: <1594552870-55687-1-git-send-email-yi.l.liu@intel.com> <1594552870-55687-10-git-send-email-yi.l.liu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.2.0.6 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: [192.102.204.45] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3f2d3282-817a-466a-fc08-08d82cac3602 x-ms-traffictypediagnostic: DM6PR11MB3994: 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:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DAYZhLD4KZbV0oSb8ANLdcovUVAyziQ7ZQ6SpplUta35cJK4Wn5nnpLQBJ99e43fQZAku6COTBcPkBIMeBt/4P2pmEy/wQeS/Pxt2rjJvPQp/oypoDkmY+qnu1vQocjNxeoZoXCGx+OIm7rCn1/HQ7lL5SoRGHIeJ/0iFMoG2tllngbK4NfQOzprwPT2jNQKCHglyR6waTOcNKlRPkxGQuFe6ZbteWEMxCNhk7FgKyvJr27E0Vdk4gmpqRZ3kPgdkQyMoXbZ6LZ/6twBNJtBbRLue6rae164CpDSfKx/TwlZSzmfXVpad56CM73UwKdb3eSDnPZiQobQRpelOvHPpg== 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;SFTY:;SFS:(4636009)(376002)(136003)(396003)(346002)(39860400002)(366004)(26005)(8936002)(478600001)(2906002)(55016002)(66946007)(5660300002)(6506007)(9686003)(66556008)(66446008)(52536014)(76116006)(64756008)(86362001)(66476007)(53546011)(110136005)(186003)(83380400001)(7696005)(316002)(7416002)(54906003)(71200400001)(8676002)(33656002)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: I7hKczPQMlUuCzqPYuxqmkTXwSTSzLL/HXi5msN02YI2AB8iLohwDpz0fCRQBNEMtz8yYpuGfL6NTAnHkxNAnyAb9RLxeTnrUeef4WkjujC/cmfinW0Ts/MBNFEvMBpgGBH1ROPq7m0RUyhuDcpbsj2HuVAyPuZjjeEKQCSAFYGnjsEWsaI9XWy1A7SAPWOBA8VmsEXYgxmmndm/BPOXLxqh2YIJidTGRCGGIFGqFlu8Ri0osT1udV0uP1iGT7+/AFRYAJaaRjLuXfbG68cz9buKtl1M8jQi9o8zYfIKmCIx0Pngnq+mPI+e07kl59gLg+rMVlxbk8JbwfHQAtUq4oPwHTyPI9lwTbhTRUFeL9BVGWV7DZb92u7UgJUC5g0vxa4gOfaxa+rUBUT8NkTCfyFd9SQTg4ko7mmMiwFEUM7AnhMcB+jn7pkgs+SrfFGrjgN19bK3YNvULv54zhxGsop2BJ3Pp1nS2L0L8k/4/06mJhTrAL7BD/TzcAjrLib0 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: 3f2d3282-817a-466a-fc08-08d82cac3602 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jul 2020 12:55:42.4367 (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: COTC1M+M7FiP+wgq2Xj2UloVcnqoJSt0kL9eWu1+K0RnyqOIzeqTAnCzvPpY+1jfvuXUBeLOWyql6Jkk2WLocg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3994 X-OriginatorOrg: intel.com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