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 5CD9C43EA9; Fri, 19 Apr 2024 05:26:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF64B4027D; Fri, 19 Apr 2024 05:26:52 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2114.outbound.protection.outlook.com [40.107.236.114]) by mails.dpdk.org (Postfix) with ESMTP id F3F8F40273 for ; Fri, 19 Apr 2024 05:26:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fY6lxWUg3EJ/6Dt80ontms7jVpuaYfQp1bd4lis73Ylu76ZHzskqnZ8f+TU2m2I99MX1ZOd5PJvLljNizUqoU/b62bGwP5vnfcccmNPcuHxSKi8HK6xpj7QwgGtNP8KfnnD170ipvplF01L0Sd/eYNU2rgN1ebxnJi/EnzqdH9L/MHEDBzlHYLNeRQVsdOH89bSIj+V2eHh3rx5AzlBivXHQIZodrRywgkwQ40iKGA+K86dO/OOgMDbVYer6DFmbkjWmoPICszG7T+VG+9c8xx6r7ElfHfVzfSpGg59ttatKBbKkoNhLEZ/cwCoCxxjqLec7O4SNsdLvH9IGpNtsLw== 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=Crd+myIeeWEpDzCHGDSKpi+tPEap7YXMQY5Y6Fk4c8g=; b=Qc5jhE61TRvveHLOHTgVJ7CF4Hbv9QqULmwFL12mJzT3AqEFUBRSG7SSDkPHlj/1qMrhEGIpuRyt8dw7mLfUx3usmfvbks0WWlDfXpTJCLAmEFDTV1hnoVu+TgCUs7ZE+/856+j7Kw/cDmNgTLkk1LnYFCteNhskTGxh9KtwV7tqwpk0HgK0btCKssvuh8wu3vAVElMV/w6tJStQAAWO6xP4N2yRRU0qPDozYMVqwoq+R/2SL5+W64LPldi01RWe4ub5zTzn3JlPdmaw3HCgiqk9P6ZetG6OHSfASQ/a/qjK+G0XU5fRfZH2aROET3mBhdfQDolc5A6Y/x2Cn9u0ZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Crd+myIeeWEpDzCHGDSKpi+tPEap7YXMQY5Y6Fk4c8g=; b=PrxLh8hFNL0ATGddIHw0Y2VjpiKBpqcHK5AanJlXHoEU7VTlS9wwTW07O4rV13aqffOojnhpelgZ11sCJml9pNTcJJ18XYZui5rqnQXI4Uqw1Vq8YXD/f2RwP27PZTnEdmjdCQPHu/YhJfQlMdiwThZ8YaBtbgPfwd61gnJyqyw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by PH7PR13MB6170.namprd13.prod.outlook.com (2603:10b6:510:241::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.41; Fri, 19 Apr 2024 03:26:47 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ec12:7411:559a:850e]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ec12:7411:559a:850e%5]) with mapi id 15.20.7472.042; Fri, 19 Apr 2024 03:26:47 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH v2 0/2] fix secondary process PCI UIO resource problem Date: Fri, 19 Apr 2024 11:26:28 +0800 Message-Id: <20240419032630.1215256-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240129092231.3531217-1-chaoyong.he@corigine.com> References: <20240129092231.3531217-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR01CA0008.apcprd01.prod.exchangelabs.com (2603:1096:4:191::10) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|PH7PR13MB6170:EE_ X-MS-Office365-Filtering-Correlation-Id: 826f4a8a-5be7-4bfd-a5f7-08dc60208b71 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?hhh9RCSj4D6PKGHrlN4fF0K7VrE7eNtqzmmbh89Hy5q+SDJLlG9AyPbfYe00?= =?us-ascii?Q?mPyPWSYipRYlZLfaUPTrq15J+3GBVUEbAvIFxP3Jwnu+dY63q8jMJCb2RYqV?= =?us-ascii?Q?K+/aCQIQmkG5hz6HHuUmz3Ka4bxkoTtHRyBTxiUq7SlwPi3KP7wYJAlvaVYA?= =?us-ascii?Q?OLwFswn4AMiDyF30KgtT0XtrjfDYT2z5FOSR+6P1SAu58Dy9e6X77BEIab2Q?= =?us-ascii?Q?I+auXwap71SKoFibNcr4sx2lfE3mRaf0w4HSUBxPtyoV6JHFodDRe4rLk68F?= =?us-ascii?Q?AUIN11XEAQ3anS8mMGNmsmU3jGY4a2LGoQw4wnOlx+34pa9bX2cqcOmsuQYm?= =?us-ascii?Q?jNXlBHbsMg8a33qHSDchOibjyEoHt+PYyNLHWEc/ik0GI5B7zGQK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88ITqUkno4ONggFj6/9f5PejINlBjdZU6CWWktBEZtx/5pDoVXc?= =?us-ascii?Q?b5OQmFG2PHCKJVWqfligUZwkZyAOeNL9mIgXk0CERkct+g=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(366007)(376005)(52116005)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?n1N1NBX297WJRfPTYg3tSlLttiLRJlxeBQiK2UfFgMFE2aXlL4wU/5tcR7xa?= =?us-ascii?Q?JgcysKyu9vFPRPFfQsUQGqh+4kM2R7DHhBzuOfxBLwoyndUspQV0HcAhf5iM?= =?us-ascii?Q?Ob54H1HtSQXKYXDFzsMwCFwEIrD33nLBRrw1jzkmIBMes7e1F67DnDm0/H3o?= =?us-ascii?Q?a5byI7RZp4aPlmPnajaRYJ+hTBe+4igJ3CpFkmnOey9Uu1z4GNiysA8rMoxb?= =?us-ascii?Q?/r3+KgDPjXTLCGvMEMEzp6xDRxdQSTGWtnOezYTLOvf9j1FK8xj5yN83uai4?= =?us-ascii?Q?mwI6uy80kwvmt/59D9o0LLQAuHgw//wqgto7ta610L6t5OEpws+FPKYG1aa+?= =?us-ascii?Q?oAOz+AqW+rXEOQlnHYFozCzKLTwnWwg6Io+8koyb/TqyfVmzJH7UVJA6Detl?= =?us-ascii?Q?F5nck2xnrnRAfly2u6jLaQGEoRVB8926Iyr0VEmg4/TxDNRDplMEcrIICUQE?= =?us-ascii?Q?XIJMCDxEAsTDscQqfqBtRUBCnlT6JcqmfDWM4Mtl84VTf8+EzMDDALM/E4JE?= =?us-ascii?Q?zmYP01k+5qewRaBfnOYDrWf/UVk0muZs4AZIGbP5+t0ZRIDY/A8OKh1W5EpI?= =?us-asc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j+G2DHUptTGOBruVWW7i11?= =?us-ascii?Q?e2QpapgckIGHXjlDju4t4A9JhWapHJKQOQv04hDuN43jm86nGfgcyFqC0a4M?= =?us-ascii?Q?WjAes5NlSIpK5uaYHIfwtrvSVkhHYAthksy3VzaijJqN17p0YCP5M3HvUsYV?= =?us-ascii?Q?KA=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 826f4a8a-5be7-4bfd-a5f7-08dc60208b71 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 03:26:47.7896 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: N0pC+fdWnoSBicFDVSFCNy2D3UmM4dNLX6iHuYI3pfaSddEI50LEg+ytc9TvX95lqkHm1157FYewG9lhD3QD3dmLFD1Aa4KUbCTUeHZiQfU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR13MB6170 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 This patch series aims to fix some problems in secondary process PCI UIO resource map logic. --- v3: * Modify logic as the comments of reviewers. --- Zerun Fu (2): bus/pci: fix secondary process PCI uio resource map problem bus/pci: fix secondary process save 'FD' problem drivers/bus/pci/linux/pci_uio.c | 5 +++- drivers/bus/pci/pci_common_uio.c | 48 +++++++++++++++++++------------- 2 files changed, 33 insertions(+), 20 deletions(-) -- 2.39.1