Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp157898ybt; Mon, 6 Jul 2020 06:27:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyapDcBmhtAENM6wKMGWF6u6r7T0p5bDUp+AsbtXQy7NmR0c5CWmI4xnEPco9E7dbp6V5VP X-Received: by 2002:a05:6402:1c96:: with SMTP id cy22mr54620613edb.79.1594042029062; Mon, 06 Jul 2020 06:27:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594042029; cv=pass; d=google.com; s=arc-20160816; b=GMTy9HCdqiSWekBbXhXpNB+G6v8v2Xet/ek4zdiGhQRZEvTItBz28e80viy7dZRRX9 OrjaSE2v2A6wdBttXoYNSAGo9rw2fufC63HezCf4xMjGNT+zDmGj/3pNJZYHMUAstPO1 F7Ah6gdueh3yBvIYRrE4mtvOdoqhD9jfRQpCuTRXutUAPGIxJz54caeC+8j3MPgIdNNy hK/X33Yh93igxyJS4laDbCrSLXuDpaqhUFf9HcOkFARyQDRiE+NIE848SixwK0TI6Q2X B+4FBWuUeepYeTy4guY5tfL/rA7Q1nx8r0OssxSesE8G5x6hoHEi8Z+MB3gVa8gp2Y5M UUtw== 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=xiOZxDh1JoZOfE0etzh0xWvjUMdIxADic7Q0TwX/UOw=; b=JHiuPQ7qYaBUUgIuu+zxscEX7wQrzgx3MIy1CFuwUSJpLVDpUDA4/Lt18krxGNu9qw zxGvFaY0ev4T1zZgsbH4RXEej3fm1/or2cO9d02OiIXJnPvOW4PZ+fXhcviTnCGWpzBJ yINZY5sDNPQhsleJsi4Uou+K4KKDEsw+TRhm/X7lL50Vrn0/SduiPMp28PYkv8CGa54F 0VUjzAwc6M/DPoEfoDQXM6z1bFmwrD0TJod/UMeJrIdAMnanMkJUE/J4B5ev9DajRuap X0xRyn8EpMUCsAUZ8P9VJNeir8NoHSsFW1XeG2IGQaJi7VgOhohCygtxVkRAfEqvISSb QyHw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=ONUCHVK2; 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 h5si12887180ejq.249.2020.07.06.06.26.45; Mon, 06 Jul 2020 06:27:09 -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=ONUCHVK2; 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 S1729147AbgGFN03 (ORCPT + 99 others); Mon, 6 Jul 2020 09:26:29 -0400 Received: from mga01.intel.com ([192.55.52.88]:17516 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729085AbgGFN03 (ORCPT ); Mon, 6 Jul 2020 09:26:29 -0400 IronPort-SDR: /M11et//o3nqf3UB+J0YO94/IMs7bcqcws7MyL3AxFkFBiWXGtfL+WPuy2CblArACvqHjJ7zc5 i2EmoJS7+cwA== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="165476031" X-IronPort-AV: E=Sophos;i="5.75,320,1589266800"; d="scan'208";a="165476031" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 06:26:18 -0700 IronPort-SDR: PlfddyEk1bL/1wHCJhz1LRBKWsyYCwQ7l52m67FgQYY0/Rj3i2N4KfhCTFrgsV+EWlRihxxeEp 24FJmg7fOuLw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,320,1589266800"; d="scan'208";a="267920016" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by fmsmga008.fm.intel.com with ESMTP; 06 Jul 2020 06:26:18 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jul 2020 06:26:17 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.171) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jul 2020 06:26:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SU6KDqY+87PkfKNkMHAQm4DlfEGQ/AQGaMOt6K+rQd9eJRZMFNzNomq4DAtFdCLoTT4SnHzhtwlnguBOILKJHOx6uZzEfEonqOGB7+mpYGfyj8hmFh+KtzCOEv7/Ft0FEYUh+a8hd/nCyylqkhQ2HGucvUaTgIBJ+Oshahf22VwfiVuChTMTrnCBnmIJTh/m4BmmHWIWLyf4QFW1NZNskjydhW+4QFO50o+Kj6//ZivVHqGZr9Wu+kpfgYFqfpbK1v4+26py2IlpK/7RAC+ulj0Hd7JABMwwsh+BkXzeazgrTHnuH19JSuCucwfPFJ5/I1X0TLve0eKz7t4uJVLo7A== 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=xiOZxDh1JoZOfE0etzh0xWvjUMdIxADic7Q0TwX/UOw=; b=L7XbLMRr75N6drj54Tjy8gtCwLOMSYVs7DxGwMoUNWB6q80jgzAVhrNQh+WmciFaIHclz3rDHQTMnrS/cG1yRzpHGaGiPn3R3IuK5qrvNwuAKO9YqLyIzxYDmuwE4rY6kqDOFl3EsFmaKh6J91Eexph3mCFwX7Ur3/RV7lEFySk6GUEroFAyZX9FZT5DvQjey3craDI0GshPONC6cMtOpsSGv08/w7fhdYUi07Tuw0Y5MsAW/WuEJxX/LOYdfDIsQpWvceFJ9t2Lke7S3gEFbV0vI4nzBZ7n/6JUDhnvRwlDNcIKtugTS1S2vbm+CFCfVU4jz2slLQrf+2Rcj5YUXg== 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=xiOZxDh1JoZOfE0etzh0xWvjUMdIxADic7Q0TwX/UOw=; b=ONUCHVK2ydL9CnM7LmE0bukz4V2vKQYMqetwucJp+wepJaM+5+SK6EDqs4rAJOOzg7oa2BztrSjum5OWM7D6T2zfqEL7QGrzXkS5eSma+8j5GSRXjQC9V4EtRbYS6uLy4NawlFkSxazyWvGKkdFlN091oNVeLoFYZ/UwgPqhe04= Received: from DM5PR11MB1435.namprd11.prod.outlook.com (2603:10b6:4:7::18) by DM6PR11MB3595.namprd11.prod.outlook.com (2603:10b6:5:142::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.23; Mon, 6 Jul 2020 13:26:15 +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.3153.029; Mon, 6 Jul 2020 13:26:15 +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" , Will Deacon , Robin Murphy Subject: RE: [PATCH v4 03/15] iommu/smmu: Report empty domain nesting info Thread-Topic: [PATCH v4 03/15] iommu/smmu: Report empty domain nesting info Thread-Index: AQHWUfUaPoulLLqnPkWWSyUjWN1VMaj6XtmAgAAiPXCAAAvZAIAAAMyg Date: Mon, 6 Jul 2020 13:26:15 +0000 Message-ID: References: <1593861989-35920-1-git-send-email-yi.l.liu@intel.com> <1593861989-35920-4-git-send-email-yi.l.liu@intel.com> <4d1a11b4-dcf3-b3a1-8802-3dd3ae97b3a4@redhat.com> In-Reply-To: <4d1a11b4-dcf3-b3a1-8802-3dd3ae97b3a4@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.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.198.147.207] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ae76ee19-0f86-49d6-6c38-08d821b028ea x-ms-traffictypediagnostic: DM6PR11MB3595: 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:6790; x-forefront-prvs: 04569283F9 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Lm3BKdRefNldk/Yo56RvZQrp3e8zXWvyQ0cv5WF6IRnSm7eF2eZorNjU3ClriCMjRGF+OLs9Ri9bDOaIj393DTQFwP+dE1ZdY4/mJBA6ythx/iJo82S+L5ItHIF/vIfXwoA5WZHwXBiuYWYM8u9Qc3+qRa34SFdkIWr5GKXwqC0FzYx1gv3wiZj7GJQ5wFrD5nnBqRhEQ0OE4HADQMDN7fWaJLe1qcInjm2tVdAQ2WXG5gL/PhljRLDsJdrPhT3V9w/uTUg03ayXKN7HzR2nndww2ekqdGg24AoK3m4BsCJXIgswuHSwBf2goQGUbr9hmO+XR4SnMhZN7D3QH+5dgd0Me9XOsWNL3n+Xi9D0wpyJbj52QggKVXmgxUw6J45sYiNl9YIsxELcO6+fmFH3Ow== 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)(136003)(396003)(366004)(376002)(39860400002)(346002)(54906003)(316002)(110136005)(8936002)(8676002)(66446008)(4326008)(66946007)(66556008)(53546011)(9686003)(2906002)(55016002)(66476007)(64756008)(6506007)(186003)(76116006)(7696005)(26005)(71200400001)(86362001)(52536014)(5660300002)(966005)(7416002)(478600001)(33656002)(83380400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: yjTuqapc8t76NZhlGFddGInBCqwfpturJlNcGBeNMGD97QmAbBQx47E/jrdUPZ0u9K7UH93mj2D2xTb25UL/5p43NVvbIWkINhP5G3sXx3jZL+X3Fga2ma0kdY/eALpXp0NvZUfhbP81esuoyl5YRluhtvNmI1gkzHg4lGzY25TqIG0zuv/9tPL4WCiFJXoH/a1hJpv+MsMOKfGrZiGqSEw/bW0WdoiJ6BYiu2DIgs/9JhHn7DKtiusrityFnyk3/sMhUzvN4E21lGGWq+FlCP2dQJRhhL7Kjui8OJsuyWHvC1C0rEs7/jwNBIbFKCOVoSMteTnRHVP0gH66RroRzgNw20lzrRzeARKjh9+y2TjYG5eSHNZdmKBrjuDspwQ8i7W1AN30cP636fvLAb0f7AnW1xO8cPjs2KeDP+ENK+Dc3cNfdO/+CQ44IE2X61b4JKD2j4w0EucRynG3CLlJ/fUddAA4aOtIDQJOkEzdLm3SL0dB0jKw2Au9c6HVJFx2 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: ae76ee19-0f86-49d6-6c38-08d821b028ea X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2020 13:26:15.5868 (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: vDO0/P7j/YI0lNflq0WHm0wdjOujg3+ayRp6j2I6ASy3BZmqbdXC3mII1xA5fRtfLo8L1+wHnkU65j4KCyTpRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3595 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+ IFNlbnQ6IE1vbmRheSwgSnVseSA2LC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