Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2100020pxa; Mon, 17 Aug 2020 00:07:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiZWigvUvgT0qxe0zz/bepT/fFPycWD6jpMTafiN5w9uoxRZZG6mf7ngFt1HVpGf15UA4z X-Received: by 2002:a05:6402:212:: with SMTP id t18mr14086578edv.124.1597648034813; Mon, 17 Aug 2020 00:07:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1597648034; cv=pass; d=google.com; s=arc-20160816; b=A6si45Q5SMLgl+6BRTg7wM9zRzq2dC9GZ0tmcPNow6R0EVD3PPslk995DHWmzgw1rA DI8oBR5CCrG6eISU5QgImGQBKT9pyeW8R/+CUVpBrJFc72URZkB5+R8xd/y4iOLxeGXD E0u9+j84LZ/+OKGck6E5vtonkmM2iqde86n6DptYB21ntEh4wJoRa4lB1f+Esenw9Glc RRGB8EJMdIUgcWYIR8sJPNp3DXeWAxAbbUwdh/AwLL5BSLXZzTQYeJ1Xbf+jdh6gO0IZ CWK+1GjFxSh9Ri/z0HEdWVRmQSK13/2Kp77PRBoQBxqcf99PBKxxIMo7rmLkYzy6sT+5 1mxQ== 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=/E2y0gamZxI1MvTMz7+cy3n6NWL1n6HzQDm3lXIew+g=; b=rG6S2EB6c8XRNyTkXwE0zquhUmLls/vNQQgCqNW8F+4I1pBSPs28oxPm+8FVlzsAQM E4kc2zWLLCkzDg/FjWG3g1gPqLkpNvvs/2Pakyhi9vY50iFMcExi4XOGhOaDNu/sYUmK nyH2WaqgI7uXWIjfND3SwqkPw4WJj9cKJSX9Q2WddOZELLrz8GCCVkgnJPYQtJQG2UY4 /B9bdshMWrVdYgeQRgxHbaEyFog9v0Ac57b0546/h6I7CKIZqkco4t8LG9LJtQxkYP1B DUSdxYekxzZy4MohtuqOhyYQVTpisinsJanWgq2i6Oo0/u7dpiBMbQ9WfWZfdjvsUCsB kcQg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=Xj7dLB2L; 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 f9si315400ejl.636.2020.08.17.00.06.51; Mon, 17 Aug 2020 00:07:14 -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=Xj7dLB2L; 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 S1726583AbgHQHGU (ORCPT + 99 others); Mon, 17 Aug 2020 03:06:20 -0400 Received: from mga12.intel.com ([192.55.52.136]:6567 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbgHQHGQ (ORCPT ); Mon, 17 Aug 2020 03:06:16 -0400 IronPort-SDR: 0wKG2gdd3cntSeZmcuqzZ17n3QEe3R2kKufpt8Y+FPDhtcRoDcBliW9fdI6XXbnNtFC6QyqaXd v3Oqq5E0vRxw== X-IronPort-AV: E=McAfee;i="6000,8403,9715"; a="134163624" X-IronPort-AV: E=Sophos;i="5.76,322,1592895600"; d="scan'208";a="134163624" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2020 00:05:38 -0700 IronPort-SDR: TN43f2icxfR863ncZGIkQjplb1UDaVnRk/WTXsGxcyEFJvLlVVbo1MKCbfaQscaYN3n6tKxiAF fPRk3V3RSAVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,322,1592895600"; d="scan'208";a="471326703" Received: from unknown (HELO fmsmsx604.amr.corp.intel.com) ([10.18.84.214]) by orsmga005.jf.intel.com with ESMTP; 17 Aug 2020 00:05:37 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 17 Aug 2020 00:05:36 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx604.amr.corp.intel.com (10.18.126.84) 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, 17 Aug 2020 00:05:36 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 17 Aug 2020 00:05:36 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 17 Aug 2020 00:05:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oWkcBjv+B+OIFcgn7b/Z4FS4luOmcIB51+I8xlRfjj8eq91WZbcd98dW0UQXpW9G85sJT0bSUK9yk0OQCzGijsxa9XpM+7kTP5sfRZlQVjSNgCRFp17U25x2YlScfXH0ywcSREoqSyl9qoxc+uGNjmNz8MfVe0MhR9tOR/bz0EAjVgnwA0DVdHXiQmUq/JvjKSSZaEZ/B6I17x1NawaWPDqzBN/pufB/0fQPvdUQkBAp2m5gzdmRbWaSgGTnS50vpN7b+Vbbw9xzZ9c+fm5ECBV27tX6eQA5cHmIvP/1xbI4qcDomvYBDIjZWWIjU3pQxG9f9AU5zQUNp8Rjpd+lmQ== 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=/E2y0gamZxI1MvTMz7+cy3n6NWL1n6HzQDm3lXIew+g=; b=aSFKZpITrW96lm57sVs/ywXTwYzE5+CZ/gGFRQiSjZBwcXQ8cQBeyLpsd/dU3jPV79Jc7Xb6r8mFRZxPHPPamdXlei0ElFKaCvGWrnF7sAiZy/cPHi0Gf3m0HuabuLNGb12a50itNWOZa+sA+Pl2JU1S9TxNk/W7m5EF59x+VBl3wxyc6Wny3fQFmy5sl8vilxP0xCIqEgfTxxvwo/fIS/z+ADTX2neQhbBTkQbRQlob/1nmJ8n74EkVVd62+KWtrRkNGU+vHR40vltrgZ+t5RtcWIa+H3VFxtNjlstHrbeYKoowjvAkYnXIpZ5EyT0qIwM1A+9mBaztwdtEqDVUhw== 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=/E2y0gamZxI1MvTMz7+cy3n6NWL1n6HzQDm3lXIew+g=; b=Xj7dLB2LHVBEgoiGmFzjRBk1CfyVyOwg2/uYsXA9qxLiJd69fHalTciFIy3PUkV1BPNQp+pudvJ5MLPXHKoY/i9jl6Pq7HnmPGX0p+bPkDUkmEMN73PSh8/fcq2cHFS2TS0omHW8AlymCj4sA5Uqh+c2nUYGCtYWMkp7oSpnqDw= Received: from DM5PR11MB1435.namprd11.prod.outlook.com (2603:10b6:4:7::18) by DM5PR11MB1692.namprd11.prod.outlook.com (2603:10b6:3:d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.22; Mon, 17 Aug 2020 07:05:34 +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 07:05:34 +0000 From: "Liu, Yi L" To: Auger Eric , "alex.williamson@redhat.com" , "baolu.lu@linux.intel.com" , "joro@8bytes.org" , "Lu, Baolu" 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 15/15] iommu/vt-d: Support reporting nesting capability info Thread-Topic: [PATCH v6 15/15] iommu/vt-d: Support reporting nesting capability info Thread-Index: AQHWZKdN2jQ/iA01+E66P0YDXHPJ1qk6wIWAgAE+lvA= Date: Mon, 17 Aug 2020 07:05:34 +0000 Message-ID: References: <1595917664-33276-1-git-send-email-yi.l.liu@intel.com> <1595917664-33276-16-git-send-email-yi.l.liu@intel.com> <7fe337fa-abbc-82be-c8e8-b9e2a6179b90@redhat.com> In-Reply-To: <7fe337fa-abbc-82be-c8e8-b9e2a6179b90@redhat.com> Accept-Language: en-US Content-Language: en-US X-Mentions: baolu.lu@intel.com 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: f5b7f940-534f-4d2a-eaf6-08d8427befac x-ms-traffictypediagnostic: DM5PR11MB1692: 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: qtYmnWKIVe/Jg1Li1eiHl+lYXusB650QJtbERigfmWqDROmLr/qxG1udZTZk15NiQHHFQZzGlaJ9Sqr7YLjTGC0jZOA5FY2iiH48s6/2XZUjtY4/lrrmEXo+yZVrESZaylFoCoFx2t/TZCZqNf9QM4IS+suIYhrcuY1TzYuzM593gtgUDKWfZ/Roz9qpGu7L81kn9fPU41141fG8FH/G5sS/qV2IiHSrb+B6MwCsXtJyeMREVgUdBqrSIqAOTMMQJ+D3wWZD/ePhwUozKPB0ICopb8HtyWREj5aTBuKVUmLcmKURSGWliy3kclr3FIRaaOQi2FiRsWjrt0MQ9C9T8A== 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)(376002)(136003)(396003)(366004)(346002)(39860400002)(83380400001)(7696005)(8936002)(52536014)(86362001)(4326008)(7416002)(26005)(54906003)(186003)(76116006)(2906002)(66556008)(66476007)(66446008)(110136005)(53546011)(64756008)(66946007)(6506007)(8676002)(55016002)(5660300002)(33656002)(6636002)(478600001)(316002)(71200400001)(9686003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: AmzYtsnEdNLMXxPlMsS/UhV0DjALEuFNkky+WGCN0YutNd06Qn/GWBeqrLWdqpahdlFK+1SdYGbV8PR2BXxU9QC5uYkz1n/UAjLZiepVrKWdUsSmBjrKiXAsiAq0a+bAPifGQGe2IaTVrqt+zbYMhsadct2L5GcXKfQYXvKkOQRtIS4TRDkXJqL4Ou7gN2AeAacuSvWndKnME7g/uK6nFWaWjXScUmZVa6vwS4aaCgt+l8F4BNdmspsviBsjBxLhbWgg0GvmA8Nq9ntwWpc6NCYoz3+puzOMOd8TlMKh6yoRpFDv0H/CZWkBppzXvn8IYYH2TdEKZ1Z6L7Bc4mjLCBP4JuFjSfGPZkzkK0ftm/SNmeNQN/t4LedsCRS31LI8tttpM3dnV+aKYfSg3xwoXdBXALfXHSsrjNjPNMK4unuwKlEYw/QyLOtxhe4Ar+lQsEMzi/KLBFJnydxY3z7ICGZtkFWVNRThODs9tY9K1hEJv/MKvkxwwFZV4eEKItgHPSiFbYX5N9SWeLsoWefU06w+3RfdZmNPdeg9COLNQLCKSkBRK++qzNmVnIDMqVOQb2uzEPYL50dtkA/Y09bQshYBYK4YG84fhll9z2nrAggr+dIOfv5Yami129JTCJQzVsfHAtY7tv3N8MwXe6xDtg== 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: f5b7f940-534f-4d2a-eaf6-08d8427befac X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2020 07:05:34.0403 (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: mZl48Ev4WVzCIWGv2zZK4k8ThwERWnYY+ZnL7RXC9U7AJ8H8nNZFxSLhu5JxyDP6Skkrfdc6gPEja2WJdk7sXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1692 X-OriginatorOrg: intel.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRXJpYywNCg0KPiBBdWdlciBFcmljIDxlcmljLmF1Z2VyQHJlZGhhdC5jb20+DQo+IFNlbnQ6 IFN1bmRheSwgQXVndXN0IDE2LCAyMDIwIDg6MDEgUE0NCj4gDQo+IEhpIFlpLA0KPiANCj4gT24g Ny8yOC8yMCA4OjI3IEFNLCBMaXUgWWkgTCB3cm90ZToNCj4gPiBUaGlzIHBhdGNoIHJlcG9ydHMg bmVzdGluZyBpbmZvLCBhbmQgb25seSBzdXBwb3J0cyB0aGUgY2FzZSB3aGVyZSBhbGwNCj4gPiB0 aGUgcGh5c2ljYWwgaW9tbXMgaGF2ZSB0aGUgc2FtZSBDQVAvRUNBUCBNQVNLUy4NCj4gcy9pb21t cy9pb21tdXMNCg0KeWVwLg0KDQo+ID4NCj4gPiBDYzogS2V2aW4gVGlhbiA8a2V2aW4udGlhbkBp bnRlbC5jb20+DQo+ID4gQ0M6IEphY29iIFBhbiA8amFjb2IuanVuLnBhbkBsaW51eC5pbnRlbC5j b20+DQo+ID4gQ2M6IEFsZXggV2lsbGlhbXNvbiA8YWxleC53aWxsaWFtc29uQHJlZGhhdC5jb20+ DQo+ID4gQ2M6IEVyaWMgQXVnZXIgPGVyaWMuYXVnZXJAcmVkaGF0LmNvbT4NCj4gPiBDYzogSmVh bi1QaGlsaXBwZSBCcnVja2V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