Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC73CC64EC7 for ; Mon, 13 Feb 2023 01:54:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229701AbjBMByX (ORCPT ); Sun, 12 Feb 2023 20:54:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbjBMByV (ORCPT ); Sun, 12 Feb 2023 20:54:21 -0500 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75589EF97; Sun, 12 Feb 2023 17:54:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676253260; x=1707789260; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=sEpt0T38DsLBoLnS933Po3XgycGa2RG8vzAErHBP3kA=; b=lwvDqfj9BiyaFbRvJhpbndL8h3Bc4ZOSBnrWEazDEfO2SBm4uonxCAHk mOiZMVl/StII2CiBfYq0rK0wpJ4oeKjH0+bUpDwK4sx0pfa7x/V5+dntN 1rQ/7IdMrfutTBx5du2SE7MrfgLscGdGsw++PWXfdZxPrmVzRpXYM4mIu 5aIKJj/GpzrHFGAfVwxVRxxt+KPIgUIoGOVZ0oI1qSDUiTDEWdoypv/y+ kR1ZMTyXVXgZsDmLBPWSlMfDa4k7HfTN8BM+zl8a5dvHq66Oq8I2ffFw8 Q5ODqODNxUQCTibcRAav1LwhDiqHK+qnlyk7OXjIrXNFn4a0D5rh7U67n g==; X-IronPort-AV: E=McAfee;i="6500,9779,10619"; a="393187482" X-IronPort-AV: E=Sophos;i="5.97,291,1669104000"; d="scan'208";a="393187482" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2023 17:54:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10619"; a="842604318" X-IronPort-AV: E=Sophos;i="5.97,291,1669104000"; d="scan'208";a="842604318" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga005.jf.intel.com with ESMTP; 12 Feb 2023 17:54:19 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sun, 12 Feb 2023 17:54:18 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Sun, 12 Feb 2023 17:54:18 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.103) 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.2507.16; Sun, 12 Feb 2023 17:54:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T2xY7r5HtBfnNlBy114/3Sy2A/fshfq6jD4ooPnpvsQjDPvBfPcr49h/doeRSXvSHz3d3Hq+PhfncloYaahaEdcZkFAl5kZcymyKExyMWaiUEXBYO8UE5H9zZrCyn5Ep6Z9+oTo52t79/Btrm3WuTvODgxJ+Awf2Vgm93gv2bYTxaPd4d207K9AUqjuEQjVygokPdrIX4tsmsrepttHRDrNDqqPm6N3Lum1xfyY+KQi5XuX/vV9PFBT4rMjltQ50rp44bta6IZu2BnryXFUJFdJmlOsgm7frUfRkPPOQbTFm9pWcztK4b0Cl8fPdlTWlwQXlxZhB2RBW2Qd62h0Taw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sEpt0T38DsLBoLnS933Po3XgycGa2RG8vzAErHBP3kA=; b=i8nDHQ6IIHBGsV53mdijm275gb2/CKmjvUX6JqLvVLSozBtF7X5vd20xLfmhWc2/eAC8hfOcwq500usx23S1ZqEuiraIaQHSrWr2mDt8nCf/fJQq2cziPcJTy6MSviuCriVmGMAkqHzzoYN7cczwes2bvR7gZ9APfSmYSDPhFwlwIyraoWffb5+UJ43H0qGok8O/6cSoIaYFSVlcGLbkS/rgpNcNuPu107YYMphga8wR5HWExm4WBl36nvAYLCKjNZR/AG3aOoHFINu1D/BvuqjNDxfcZtB5XQa6w/oBIVHTvdDrfBukOx3yOaNMeGOyMGJywGu0ZXHbJ4jV3BVQmA== 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 Received: from BN9PR11MB5276.namprd11.prod.outlook.com (2603:10b6:408:135::18) by CY8PR11MB6916.namprd11.prod.outlook.com (2603:10b6:930:58::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.23; Mon, 13 Feb 2023 01:54:16 +0000 Received: from BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::6a8d:b95:e1b5:d79d]) by BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::6a8d:b95:e1b5:d79d%7]) with mapi id 15.20.6086.023; Mon, 13 Feb 2023 01:54:16 +0000 From: "Tian, Kevin" To: Baolu Lu , "Liu, Yi L" , "joro@8bytes.org" , "alex.williamson@redhat.com" , "jgg@nvidia.com" , "robin.murphy@arm.com" CC: "cohuck@redhat.com" , "eric.auger@redhat.com" , "nicolinc@nvidia.com" , "kvm@vger.kernel.org" , "mjrosato@linux.ibm.com" , "chao.p.peng@linux.intel.com" , "yi.y.sun@linux.intel.com" , "peterx@redhat.com" , "jasowang@redhat.com" , "shameerali.kolothum.thodi@huawei.com" , "lulu@redhat.com" , "suravee.suthikulpanit@amd.com" , "iommu@lists.linux.dev" , "linux-kernel@vger.kernel.org" , "linux-kselftest@vger.kernel.org" Subject: RE: [PATCH 1/6] iommu: Add new iommu op to get iommu hardware information Thread-Topic: [PATCH 1/6] iommu: Add new iommu op to get iommu hardware information Thread-Index: AQHZPD1VEVujMOhMCUmoab2cFB5/6a7HyazggAFTpQCAAwY+oA== Date: Mon, 13 Feb 2023 01:54:15 +0000 Message-ID: References: <20230209041642.9346-1-yi.l.liu@intel.com> <20230209041642.9346-2-yi.l.liu@intel.com> <8665f299-fd4f-738a-6492-59f0deef444f@linux.intel.com> In-Reply-To: <8665f299-fd4f-738a-6492-59f0deef444f@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5276:EE_|CY8PR11MB6916:EE_ x-ms-office365-filtering-correlation-id: f103f54a-07f6-44c6-ac3f-08db0d65365d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Av+wiqFdpjI7Wn+pUM59bEL43Ysj1GjgUh6lFybSorL5rZafZxkrtVgXnvRqAHs4mfGAvb6T/QnC1pwYn4kppfVTmjePygoDeXs5RHE0QCC3MGBg34RKKDdr15HwJYVKi3x7Ve/CZUMngvpV9n8AsXOeim3aNoNnBeteLbt5Mqb1x7/gZb4FTbojQto7DwTMvJrlTt7LCgzXDfzB0rMvo9df3oIbLoDzXpZIYM+wWiPm1MsdWWNKw/lKK3Sw35Bw9SZORjCYwSZPEOLOd3Qy386BDyInIENj4vhR2f1SvMP+RlfCkAtBwb3baGES59jJi4L3SbCLdhr6HqDuneWmE9NOf5pUme+t9nVTBX3jZpWigzICz+2ByDQUYH76Cue9y9fRR5R6WS7V33GN/osb5hwwJxZw0v1l15nAQqGFQAhhSzoZu3b98QpphHnjNzdqpUpCrQCRk2D8UuNr1CVRMgwfJCNLqtDEVrPFM58B62FG0qIfnyYn9/noD97zD9HRFOgiozRHvz+v2g8hKxMXv99cspeDg8zmLdS8kXpYc2dQm4uuqRCnzonMR+Sl7RO5p/vlQfw213+rEZxtyBJ/hYqbXPbqlgiKgQZ7MlAwzvWulrwD01axZd64MZVfyfH2AVlQcG2ZMgwQODWkSz8kE8PW1VbUoFvW8hvXFbD3Dcf9lYxermG2aqF3gwx40tjfKFK3G+ADg7qIs6cvoJ86sA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR11MB5276.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(396003)(376002)(136003)(39860400002)(366004)(346002)(451199018)(7416002)(5660300002)(4744005)(41300700001)(8936002)(52536014)(38100700002)(122000001)(82960400001)(33656002)(86362001)(38070700005)(55016003)(2906002)(7696005)(316002)(110136005)(6506007)(53546011)(54906003)(26005)(186003)(9686003)(71200400001)(4326008)(478600001)(8676002)(66476007)(66446008)(64756008)(66556008)(76116006)(66946007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bXM2bVdsYTh3THZ5NnJ5ajRBMy9zNTVDalh6a1ZLRG1oTHhTaldpNUpoSE8y?= =?utf-8?B?TXQ4Y1pqRlhjN1lOTjNXZXloN2JZdz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?M3hUdzBwQy9qd3RlTjNLa3I5aEkvaVl6anRBaXZONFd6NGMwSmRZelhXZTRy?= =?utf-8?B?dzdyZDd5YTNFZFBZTk1VRmtGTVlWU0kvc3FUamg4eDVhazhGUGJCZUR6bXdB?= =?utf-8?B?aXp2LzVnMFFvUENubFNBdVRJRHVxTnN6Wk1MTDNSaThreWxuRitYeW1GVXhX?= =?utf-8?B?YytBVnFzS09XQzdBRmF1TzdaMW5MMnJnODRtbFQ2T1hqbGxHZUhsWUJDR1Nx?= =?utf-8?Q?yD+UooFgmls5NXGqQBJE5VLJ5?= 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: BN9PR11MB5276.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f103f54a-07f6-44c6-ac3f-08db0d65365d X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2023 01:54:15.7398 (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: X7PO3WIWrkUL3A0ML+HG0aXFzMZ+ViG+LOPaJbyPacpnbnvlQUX0oD8LtqFNFKVT5CCndoiBwxC8VNAJLdx34A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB6916 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBCYW9sdSBMdSA8YmFvbHUubHVAbGludXguaW50ZWwuY29tPg0KPiBTZW50OiBTYXR1 cmRheSwgRmVicnVhcnkgMTEsIDIwMjMgMTE6NDMgQU0NCj4gDQo+IE9uIDIwMjMvMi8xMCAxNToy OCwgVGlhbiwgS2V2aW4gd3JvdGU6DQo+ID4+IEZyb206IExpdSwgWWkgT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