From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 01C4A433B7; Fri, 24 Nov 2023 11:38:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C97AD402B3; Fri, 24 Nov 2023 11:38:27 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 95C3B40283 for ; Fri, 24 Nov 2023 11:38:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700822306; x=1732358306; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=wurVF7K7DC1sY+LmfBpau2u7jBhcgdBLynLmFQpKHKM=; b=c4rB042t7gyU6rFrVcYWJ2DUW2IvC9R4CcSsExcmhjjlE3/RtDBvtasA fUets9+rKpxc/cJsoRr+4UE8qnTEjp7gQGOMQFue53a4eEatVu63Gnd7U 8Knw1ZKq/h/YMqAArs6dpU1lbq05WtvTrWmvnmSFSEr5jDuWPHt/SYW+U ReGx1dpP3WYVf/2XQ3wrkKMAajJ2agqEzL2N66pMkjhXND9qMSFbsMqcP 6iJLo6tyle0vLGcM/yvvXEU8R+PY+L0sReASkhROBi6Hnp2DkyJJ92Ufv hgx6VgLKgAhyBL/v27EHsvcGkSURuqPISTAE9QnvrpoDX4LKZw69bBZXW g==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="382803752" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="382803752" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2023 02:38:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="1014869016" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="1014869016" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 24 Nov 2023 02:38:24 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 24 Nov 2023 02:38:24 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Fri, 24 Nov 2023 02:38:24 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Fri, 24 Nov 2023 02:38:23 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XeFGMctXucDlXqxDlhGqqoKEmeyTKKdLRiGklfG7RCWB5weniVjgmuV+RVdjod/rGkFpm+/o5aDs58rMxlqYHkuASSr9tUKzX+OynACD4Kf2DAfxcv7gzofvS4+yxsPmUUIcHwJ7atipDzrrAiqzv7Xc3DmRoYDllNsbJLKnqM+FAoVX2kuVjuI/isi7xpX1xiNKMGkUgexBaYLQX/hI5xMnTqnyARbkYjqbnzmzXyJGJ4cJwHa9FKTDhkVlhGjs3a5J7K353Lo8jCdlkdWh1V6qjWVTE5PMUNYpwcvFLyYMEKsvgFoHwTxI/Tu5Gy9M5o61WgtMAVX1vSynb6C3hQ== 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=JCTpMxE5ef8wXdOzEisdC6rHPeq8qRUpAY104Qrk0WU=; b=B7uu5HaDU+aFdxAL7ed9bRklFZlXPYBCBA7Tx+rWIGa+6gRGn+F+21U+KJZ6odslCM35KqDAjnuBXwwUHT+r0YsyVeflW4b9hBEcZcdv+36s4La7dKGAoZTJfVQjpjcS2HBgg2l7ZdBqreIiUPSHCcmPdp0N6VvfEuQDW+F7l0KLhYpnUeDctIoon7vtUVyqWcaBeCgUnYEpNsUPaki8FRmLRHyan5bJh9ez1y0T4bMT9KG9aLdELiAn6CI8KXFTiTmpkGtxWipDXYnsl1ZznJP/nOqEdoZPcbkg+tXOQZb1MDs3xYTl2daJJid6XTwhke//iX9Q25mTD4tykgXMNA== 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 SN7PR11MB7139.namprd11.prod.outlook.com (2603:10b6:806:2a2::14) by DS0PR11MB7831.namprd11.prod.outlook.com (2603:10b6:8:de::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.21; Fri, 24 Nov 2023 10:38:22 +0000 Received: from SN7PR11MB7139.namprd11.prod.outlook.com ([fe80::5216:6b58:10e7:9875]) by SN7PR11MB7139.namprd11.prod.outlook.com ([fe80::5216:6b58:10e7:9875%7]) with mapi id 15.20.7025.020; Fri, 24 Nov 2023 10:38:22 +0000 From: "Ye, MingjinX" To: "dev@dpdk.org" , "Gupta, Nipun" CC: "Yang, Qiming" Subject: RE: [PATCH v7 0/2] fix legacy device missing region info Thread-Topic: [PATCH v7 0/2] fix legacy device missing region info Thread-Index: AQHaHS/vUY5hDORc/0SHWqeiBdk0GrCJSVWA Date: Fri, 24 Nov 2023 10:38:21 +0000 Message-ID: References: <20231114102418.409285-1-mingjinx.ye@intel.com> <20231122102232.108299-1-mingjinx.ye@intel.com> In-Reply-To: <20231122102232.108299-1-mingjinx.ye@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: SN7PR11MB7139:EE_|DS0PR11MB7831:EE_ x-ms-office365-filtering-correlation-id: cf876926-5bce-424d-9a14-08dbecd97b08 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FUWvopvRjuVcq2irYaHsRsH3MglA80FyQVwNWkv2CnCB5dRhQRF8OJQ5dGGIY7nlrOTIv1J8sR8KASkoeCgFBt4exgLeYpzOtCrD62LDl1bT8UpJbU9qvY/U0L7DofSbXhb6WMZ8wkVlOiQeBy2zNJrsxE1Buv7liugOTnyK4UGgrzRPgKAgACj3UFQruVb5CKblDWAvTREr5aHiQ5uWWtLno6qEkM1l2HOqLVc+AvlppVn32uE/mipoTg00EaCcrtoJT3266G2CFj6D4naMQUL8qPOlpYjvZfLVJWYfdEbb0BOCqo1eGHTUC1zg64CwFSl1HxwZkkQkMWHCX/zai6b8Tzy6mD1RjOwakG7xb/957Lm/hbJXsBwpzucDEtbACp06veKTpYT2q0CSaogeFf/vT8ZL3sDJNZE0xNT2sChOm33SuVcWIWH3IQtb9aORMydS+8YJt8mKH/8q0M626fDzuv7+MVeeAwYuI7AeiY4kJREbGuq+gddqTWTx8m75rcItUS0Ae+vfoEOdmkjBfgknRAl6938pDpka77vZ8h/7H4J+8CblgMKyZwrTC9tTsTflbYOXH5006qx1nHh+M2+pImttcHccFGk0rXOnDz+u5pqVWyl46RplVw5o7h+O x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7139.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(396003)(366004)(136003)(346002)(376002)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(64756008)(66446008)(66556008)(76116006)(66476007)(83380400001)(66946007)(8936002)(8676002)(316002)(52536014)(82960400001)(110136005)(55016003)(38100700002)(122000001)(4326008)(4744005)(5660300002)(2906002)(41300700001)(38070700009)(107886003)(71200400001)(33656002)(9686003)(53546011)(26005)(478600001)(86362001)(6506007)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?IlJKg5eO2eg/pNXSrQSQspY2YbO7XczsaOtIgC6X3E04OcTOOmIP1Yr6OhmC?= =?us-ascii?Q?4JYi2LPCeO/joU53wVAwTBTWYYJ+OslM5+hVfySVWZifMfVMIpqXP/sH7Vhe?= =?us-ascii?Q?lXRyqLja9jWxIWuPiBTwLOjO/IUOSGHeGR+RO5KK7CbHor9MdS8kKls8hxz9?= =?us-ascii?Q?GLPzK2B51FmvHyxwQHu6VIhycfO6UDTaDl5qQxlPGzORwhvmigayvif09TdT?= =?us-ascii?Q?wvw90F6H8bn8HTW3sNCeG5KRgrcubRDxO+o/RAXpp7bqof+sT6rO6aZwuT4k?= =?us-ascii?Q?0bygy/b1+z46XtmKbRu5+oNk6Tp1luujM75gUkKdrFL9fDfA2nCx8bH94m84?= =?us-ascii?Q?XuAnAuWBNZVf6mTSb3egGi0cL4d4Hw+DOTtQILjGUw25ZF/l+0TmCqEcgMr4?= =?us-ascii?Q?8YKfyS09vmxx4Vb5qBi4BGW+/pcWzTX63tYo0nlJHAThX3HMtWCyP9Js8psh?= =?us-ascii?Q?tVXlpjjBhZH/WqyB0sQ0nZ3zRw6mjFg1aiQYm6QlBsyEUeB0nGJ4iU6zuyut?= =?us-ascii?Q?TCFwtIt9mmxJczyWYO+JXu++gyv0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Ra2b3GNpEWdXZq4+MxBlxrVlQBuIygiAQ4z4MzGJx3ljbCkDT4sMbJ4m3m?= =?us-ascii?Q?f9q5AZ+fu0uH4eZx3J6x2nxSTz7IlXGBmsuz+zaNBUtaBFzOFjTwHHtcWV/K?= =?us-ascii?Q?5usWwuxYksOsTv2tcOR3uTAi3gcP0JxEmx4eZZuJ?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7139.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf876926-5bce-424d-9a14-08dbecd97b08 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Nov 2023 10:38:21.8863 (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: eL0wqEVRlXPvrxaIyHBjKLM8z/dkJDlmlg8yCXuAcN+Xb5HXgf0w52RwgoN1JkR3lr1sJawWzEwgPFrEnzkUlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7831 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi, can you please take a look at this patch. Thanks, Mingjin > -----Original Message----- > From: Ye, MingjinX > Sent: Wednesday, November 22, 2023 6:23 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Ye, MingjinX > > Subject: [PATCH v7 0/2] fix legacy device missing region info >=20 > Fill in missing region information for legacy devices in secondary proces= ses. > And added rte_vfio_get_device_info API for EAL, which makes it easier and > more generic to get device information through vfio driver. >=20 > Mingjin Ye (2): > vfio: add get device info API > bus/pci: fix legacy device missing region info >=20 > drivers/bus/pci/linux/pci_vfio.c | 26 ++++++++++++++++++++++++++ > lib/eal/include/rte_vfio.h | 29 +++++++++++++++++++++++++++++ > lib/eal/linux/eal_vfio.c | 27 +++++++++++++++++++++++++++ > lib/eal/version.map | 3 +++ > 4 files changed, 85 insertions(+) >=20 > -- > 2.25.1