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 25A0B439FC; Mon, 29 Jan 2024 10:22:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DDA6440A6E; Mon, 29 Jan 2024 10:22:54 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2139.outbound.protection.outlook.com [40.107.223.139]) by mails.dpdk.org (Postfix) with ESMTP id 249174029A for ; Mon, 29 Jan 2024 10:22:53 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ja7NC5rJAgrg4Sm8ZyoXKRvpz0Ej2cNoMnVXXio2iGYU5NtpNBDhf24+DlG1nZuF5pvCPzbVh6a3e7ObbMcVxsm0JZIs3sXhsd4qhN4ulaiwXGG34KVyNpFFPCRX98GlQDHhG5JZPnJbcz03tS0EJa6SBXygCUokTsnAMgXjZO6KG+c4aMC/sviUJQOR9Zeer3+ELL4sYBUOVrOM7+mlpz+nxuy8uPdoUnoBrsxa3unOd+bDjJYAoNhth11kKSbu4rpWP2nR02PPXiAIjV9xIsap2wJ04YIHEknw64cB+KUx2ZGcHiCOQoqirmG5pgm+oRj6joLRhUoekgcsNDb+ZA== 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=Uo5rIYW/gqFjg0QYrH7Gc+Tb+8vNe5DLxD+rTP0Ls1I=; b=c7lzXVZr9MpgZqbBAhd4UGB9StP4iMcoqVgOCKQI5mUh4r0I+gMf67qUvFEOhUgTVdjM5GW9n0zd3ROmWC1RY0whi0RhFabLzGlFeCex/z3JhxfSFazEzZ/OyzV4cMcik+rUJGwB7nBv7s7L4p5qI06AUJuTONqJKYbalI8ryJIagOwWqOLV0z6oPdPCjdu63rqvOwW2Rv7GX1/7//sSYcoJQ/r1w4jCXyNuw5TFDwgmDoP8KbFR6P7jq6nZIm7Hgti0kn+sOkK4Aeaye3GCWBc2Ww8nvbTspEGdDuRUy1P2ViI+8h4aaimVCWnYZ8GSw0TyyWpj1AJvOI2ulUhqDA== 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=Uo5rIYW/gqFjg0QYrH7Gc+Tb+8vNe5DLxD+rTP0Ls1I=; b=sGJgoRDyMWMz2w4j+QhbCf+LQUKn/2L1XFS9TjpsSYPPwrHN/GWqQ81NmUS/dbPG0OxcLIJN6/MZSDt5HVzrUoM3tdkneZ/EQiIcSUDMwcHrs5MTloTNzjZTmpmHgaW5XV8u23dStd11W5gw/4QxpHYO1AAtnTLjG4ps58uXEX8= 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 DM6PR13MB4446.namprd13.prod.outlook.com (2603:10b6:5:1bd::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.32; Mon, 29 Jan 2024 09:22:50 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::8e02:f738:570a:f8aa]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::8e02:f738:570a:f8aa%7]) with mapi id 15.20.7228.029; Mon, 29 Jan 2024 09:22:50 +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: Mon, 29 Jan 2024 17:22:29 +0800 Message-Id: <20240129092231.3531217-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240124104523.2022242-1-chaoyong.he@corigine.com> References: <20240124104523.2022242-1-chaoyong.he@corigine.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR21CA0021.namprd21.prod.outlook.com (2603:10b6:a03:114::31) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|DM6PR13MB4446:EE_ X-MS-Office365-Filtering-Correlation-Id: 6ec8b4ca-0303-43ae-0f33-08dc20abdcef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QIACP/9IMYz1ObMYvwaZF7xMEtA7Q1gaAFQxAtVDsHDDevNoIs0C1K/S6op99IRC7Wjznb1YTbnBYbPwuaQBwmJk+LOPnOy65aN1wNGtf74Trj4Et4M6j+8bv5eSY7hg8QtJ35PK5Tpcpsq5Vl+mxHbII80LcZdqf+IKJHpU81xOodLOOQGaY9IZm8Lx+GSAKayrlIRuN+LmLpeqz35YAi+QU8vihyEIhWUBBAMawkA8FcwCwaY7jit9QJkS0rx22Xzc82Im/S/UwM6NfgYf+RXAAGE4+Ez2lafXJvzwj7tU1TICft4WApDddLod9VEUgvPuZg2az+ryboNhxmD3cNggoKPXGknVVWlWWPHYdu/PtlBS8ZUMdI7KDRgedF6toN5BZ9Hc2yebUqxK/6QOZ97dZYRw/bQTXqMhSJcOaFtugFXtwbPIAJITnmNUZjqf5eaLDDQyOQ/r7luiPUC5yJ4uMHvlf4MCGWdKH2le4eqiTDNki/+NtteYpZuhirH5SuonRISiEHb45bPtqHalKuvf44tizBClk3nxaPo9dx/yVJ5F2f/lRlYLbwqnuA0fYkJ5Ajp54h/M3Jf8W8/MxArXFNm+sIH60FOTytddcl15VGxccIJlu9fEIuOTa1o/ 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)(346002)(39830400003)(376002)(366004)(396003)(136003)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(41300700001)(38100700002)(66556008)(52116002)(6506007)(66946007)(316002)(6916009)(86362001)(6486002)(66476007)(8676002)(8936002)(44832011)(5660300002)(2616005)(6512007)(478600001)(107886003)(2906002)(1076003)(4744005)(4326008)(6666004)(26005)(83380400001)(36756003)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?A14VI+lJzOPkA1h4HU90PjswHEn9DB0Q6VG0U0c2t5PxiA0D1ORucifRkpi7?= =?us-ascii?Q?HbVj5efrJHg1HSGvsIpn6WopFDwOHy6B6DruGlaoPylFyteqIOHPJW+uFOtb?= =?us-ascii?Q?au9pwrLG7JLWD2AiEI2P79XGPn5fSwjLdHL0pP9D5tRNTd0jAfhkEW9Y2Mtu?= =?us-ascii?Q?b+ChfbRgmsrUOoBLwUIJQ+uOEc5v8Qfg10+0X/4JeOQZSW/jKZMmyuxqt9RT?= =?us-ascii?Q?tLUzSB70vjC916Ue76MKhXrdqrxmbDtjlOfsaPbZAB0N3K0Ekts7607bJ2f6?= =?us-ascii?Q?2IAoezj7tZsAS8nH6tNO+fRNLBxHe8gk4qnrCGXLl7RL50FnvcYVQ+K11fYa?= =?us-ascii?Q?HH6gXdwMFuOWH+0huLjlnLpQWWg10JuGbGGXUzeplpW1E5pJW63Cm9G0AfyS?= =?us-ascii?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Vj0M4cFzLGhdacTA8Qi9YJ637DPfC2a8DyaN2z5l9w?= =?us-ascii?Q?9KJdZi16D1Y35lJ0Csx2mOKw+0Kro16+GnNasRf4AGrWzO+gDcmXJlIBv+Q0?= =?us-ascii?Q?YvDo/MkgpVNgA9PUpbyF5xPkXKfXrFbeZyYL0PCTe/XwVBvdSNMKvHmoMswQ?= =?us-ascii?Q?yRerhlyQ5qwkraEf5R4BzHPwC2J8l54nnnmyNOC0hS+FjbjoEyW6q4gE0WPY?= =?us-ascii?Q?tWFETXHNGtT4Ph8GMszeyZDtC0tfXdySbFZtzo7yoRuG9icA6fbc9GOlQbi+?= =?us-ascii?Q?7NMvxvj3I7RHwsVzutNW9CLbVV5ijj+XFa9CT53qkOSeO9YW95av1ZSXm1Vk?= =?us-ascii?Q?vg=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ec8b4ca-0303-43ae-0f33-08dc20abdcef X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2024 09:22:50.1427 (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: 1xyuwEZbFsJ3k5gYhsJfYWyyQk7nPdRXoNcxOoF3IwretUtW5bDBK9F5XtJ2d/sawm+MBAopF2nvOPRT39miM215VZsT3PWWEzD+sENnjQY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB4446 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. 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 | 102 +++++++++++++++++++------------ 2 files changed, 68 insertions(+), 39 deletions(-) -- 2.39.1