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 5C2BA424F1 for ; Mon, 4 Sep 2023 17:06:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6081A402C1; Mon, 4 Sep 2023 17:06:40 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2058.outbound.protection.outlook.com [40.107.94.58]) by mails.dpdk.org (Postfix) with ESMTP id 7FC09402AE; Mon, 4 Sep 2023 17:06:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fcR/Kn9JssKdRj3t4OlLTr+1Jvzobip7gieeyfk6du1X6PvSx9t7JEK5z/Ut0FQZaiJnEYBN3rpKTreA16vCaLp7RmvbRNGOUetS0NP2HvhCWMwSp808sROJnBk4g+0NDhN91EqYmBHZKVoACsjbPodMzimihiRaWNqd9qj+2xhcnSruMQt1ktMC0eYy+/d7a4jX+so8YkeTHl01hVUjxfIUWz+HWJvZL1KozFjeve3eTENacZxup3OY4p6GhJj09SnWxNA1hrrsbVbrocK54bGOkV4LMgTtYmpeJZNjbtXPLyTfiYRlKvQNtIY5M+EAHLVBdhHbiAcqebvRH63HyQ== 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=1R8LGRDlUKO/4j53iL+/fXLjlKdvLmemYHr0BL5V8zI=; b=fd1dAwqEicgwBVE6BCB3gtS/oitLzWOGp47j33TD/DJhUhaJSsP47cK9ZFAllaywtPPz2Du/oNCw+Y1JYOTU+Uw8SHsA5BU423K8b6OrkkzpxpyCaelZMXGSADA8G1gnm8tHmYSW9p9S6iy9W8Zg+HZnWgzWYqhj8BL8+cwPqAtN9ScawGqsHa9oNIkiIpJ6wJHvE3vdh+b9LX97HQO0mMenXQFjG3cpJdvekY7mpBgiPly26H63GKKQtCC/CT5A7uar26G20sg2EmyXZdJzYaihvtTjMhzcigHe5hU9mBFcoGKYYbhMrWhWTYok1pKvc/D2lmeXPqkQoMI0sIo43A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1R8LGRDlUKO/4j53iL+/fXLjlKdvLmemYHr0BL5V8zI=; b=kK9IYRIkdDB6DjbMrbutkZv/XzprQ/E7htPG270iOZ6ex1AmffacisR7cqIVDMUwoNbG4GyTM5gw44/mn8eKOzxQqI+BX07gNkatj2gb318oyPMH6NaAI/SmB0xPFvnpPnEma9MurU0ZOTrQ9hfmf/1P+g+ZT1CX7/mTqkXSAyE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) by CH3PR12MB8332.namprd12.prod.outlook.com (2603:10b6:610:131::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.32; Mon, 4 Sep 2023 15:06:35 +0000 Received: from CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::a652:eb45:86f0:f68f]) by CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::a652:eb45:86f0:f68f%4]) with mapi id 15.20.6745.030; Mon, 4 Sep 2023 15:06:35 +0000 Message-ID: <91583d88-9ee1-2c79-c37d-f2ac51b51560@amd.com> Date: Mon, 4 Sep 2023 20:36:21 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process To: Wenwu Ma , dev@dpdk.org Cc: david.marchand@redhat.com, maxime.coquelin@redhat.com, chenbo.xia@intel.com, miao.li@intel.com, weix.ling@intel.com, stable@dpdk.org References: <20230807015820.1329972-1-wenwux.ma@intel.com> <20230830050713.58247-1-wenwux.ma@intel.com> Content-Language: en-US From: "Gupta, Nipun" In-Reply-To: <20230830050713.58247-1-wenwux.ma@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN3PR01CA0195.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:be::23) To CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR12MB8308:EE_|CH3PR12MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: acdb90eb-dc33-4237-2f99-08dbad5887e3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bB8rVdiQDBkc9EvQ/u+8PZkje2Z+tPk4MMYzQ5Jw3lLp1kMnbogpvweeWlAwPy+omTwhIc0o5wZ9DESpNIZhtbBEF8iMIfRF0mN6XCSpp68zb9zDBoq1TGwr5w5RK0VXgE7IkLZmdTudMd4pfyZOBdN0MFkMCClk4S2IGBtNewTH/hajqm7AzngCSjdaEfJQebBRedfGXbUtisapuDw2fQz/YK7ErtR4zIP822WAbPWbyh52W+M1lOr3Ux6FcK15kAerbyGYHM9kRgaBM1fQi1p8B2AAznhlpBCjauT5Vqgnziv1JX7aRyVo2B8DBsZmqkmA3nnmqF2xFI2/S4qTHdLOrLWJwY1BLpj+OKsHcN6xNQP6ec/hHnvN9GNDcrzD69iqWvdJe9DjwGkaBQyxZoxw9Wo2+AJpDXUFwe8A9D7qK453W18brl103ZYoSal4lYJAfkUHxLgesKPnSMEx1j5IbmHQ0yK1+J9SQ/CvsfyFby8vLPi/1vleFpy2q3zLjFqr2HRo7EFeMmzNM8orsRXHuRQLj2/X2YlC6HKTiZkrJvmtb37kmjEdRSK2XLF6OkKxDFdJ0v6d5nBANsBdU6Wcda6wKIQ/cnoj7o0yUIdSf+Pcs0txuMFGZ9xDO8aAzED/uL/8pJjuQIWjzlr4Mw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8308.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(396003)(39860400002)(376002)(366004)(451199024)(186009)(1800799009)(6512007)(53546011)(6666004)(6506007)(6486002)(31686004)(4326008)(8676002)(8936002)(316002)(66476007)(66556008)(66946007)(478600001)(41300700001)(5660300002)(36756003)(86362001)(38100700002)(31696002)(26005)(4744005)(2906002)(2616005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZXd6eUFNNjMyUDhiY0JhcnZMZElLVGM5Z2sxc3hZQ29IK0Ftc0hDODhyNUN3?= =?utf-8?B?clBucGIxeGgwQkh4WGFqQTBiNGZGc3AxN3cxRXhveVc2ejJQSkhHK3BHNW1O?= =?utf-8?B?bE5iT09qTFNtUmVUMEJyb1g4RWg1aDcwMWhDaCszLzFhZ2d2Tk1ZNlRlWWpL?= =?utf-8?B?KzZURlg0ZGRqWWFTRmQ3b0FSdW4vSDd4RytabEpEV0phMVpJUTdxcjRXNm9u?= =?utf-8?B?RkROZEtuc25RTmJRYUthL1Z6dXlYT0dNNTJtZ09ITms0N3g3ZGZTRUhiWEpN?= =?utf-8?B?Z3ovbnZZK1lqbGV6M25vZ3dUUzU4MVM4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Q?MATRyRtRhlR7/Me0ICnatpQ1k?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: acdb90eb-dc33-4237-2f99-08dbad5887e3 X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8308.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2023 15:06:35.2602 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ohRBy9tUIZuCnTVm0ORe9JYuIQXVcc0y8xQesmn7H6HrAO0gB6Vtcb0l1EIE5hAX X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8332 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 8/30/2023 10:37 AM, Wenwu Ma wrote: > When doing IO port mapping for legacy device in secondary process, the > region information is missing, so, we need to refill it. > > Fixes: 4b741542ecde ("bus/pci: avoid depending on private kernel value") > Cc: stable@dpdk.org > > Signed-off-by: Wenwu Ma Acked-by: Nipun Gupta