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 7BAAF43077 for ; Wed, 16 Aug 2023 03:12:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6BDBC43000; Wed, 16 Aug 2023 03:12:03 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id A809B40041; Wed, 16 Aug 2023 03:11:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692148320; x=1723684320; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=qHsgc7aYfpzBZRVfpOs0emFuA/xLFzGXCkxeA+SFV84=; b=ZO+7KswnH0DgVWf+roiIF2LhG2S2srrhe6O7phsMvfbXtFlg3374giH4 TEMi3O1eGKi7+SbG4imqtdhAQ+dLhwYXsqNItdk95dlk7P5/qwT4zUCFl +PtuDsnT8QB1omRqOw98qlzLzh96k5MGTeE2Obrfuh0wEimbKsbK5TOif fWySqc8YkT6QtZLA8jk3Zgf2oHiLFbrtrHEjNRk1iBYYdrqSVrgnm2OTc D4SAgHhW+OPiSGb8PwE9x1MhFnpZP+anruMiJ4yFQedX1ZC9ARIZjZhdi lLgp56NVP98K1vp9l0LpQ5UmHE7EInzuxgGZKAOiHzZi6xHJGWk5b1yj0 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="376144984" X-IronPort-AV: E=Sophos;i="6.01,175,1684825200"; d="scan'208";a="376144984" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2023 18:11:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="1064633111" X-IronPort-AV: E=Sophos;i="6.01,175,1684825200"; d="scan'208";a="1064633111" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga005.fm.intel.com with ESMTP; 15 Aug 2023 18:11:57 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 15 Aug 2023 18:11:57 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Tue, 15 Aug 2023 18:11:57 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) 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.27; Tue, 15 Aug 2023 18:11:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jtjOzOFZBNtew7z1FO1MzZ9GUTFIwWu0Xi0DPWmSinsaU2hEdftiO7RUTMF5o/tDjARjDtrctWc1E+2tw5uMf2EE/ku5Kc27fcHxIcgyOlbULBscHYlf3QZXm9sgX/Xwpbb0Kwxizo/rVwtCCEm20rnxKMFCBiAai4iMGp9wCp2EcB3OmJLITCzS0Aoo1Gutn6bPFHdXJWikoKAe93oPawAoDxT2FRFmdVS/cGz8kFt/0PkaS6lQuYrds2pWrtvpxg28zgiKppYAmaE91eWZPL8XzNnn5mOssG2Ctl0aRAOw5rUwyaBVMVp+J5NGPDnNH231iy7CNt8SEFKNDY2xSA== 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=qHsgc7aYfpzBZRVfpOs0emFuA/xLFzGXCkxeA+SFV84=; b=U0JBCYQH3A/vwKEIEm3DFN78GesK40ME7iCghmkztP476CHdaenlsdGljCab32T+LcR86wRzilTKyrBcgE4NoH8JzdZ61I8NaHWe1T96WkIZuZPxtA9pJ4jKtTeDv6AUdw20HkcOF2U0W2FvPH8dioTgfGQ/4xZ3YzdfrC07S5JtlM+E/Gsjh9JepANnDsJh7OkLYp1563y96mqgNHtCpJMP4UZsv5TcktrRok1k94T3fgge9e4HKZs6fSaMiFKWLexBo3zP0MI++QnExAnfdHE7ZYja3UoQxI+t2x+oHHO2IA0UBii5qsOhw9Y2A6oCA1DynZn6GKPZzdSA07KIhw== 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 MN0PR11MB6110.namprd11.prod.outlook.com (2603:10b6:208:3ce::19) by CY5PR11MB6113.namprd11.prod.outlook.com (2603:10b6:930:2e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.26; Wed, 16 Aug 2023 01:11:55 +0000 Received: from MN0PR11MB6110.namprd11.prod.outlook.com ([fe80::eed9:9130:4f18:775]) by MN0PR11MB6110.namprd11.prod.outlook.com ([fe80::eed9:9130:4f18:775%5]) with mapi id 15.20.6678.025; Wed, 16 Aug 2023 01:11:55 +0000 From: "Ma, WenwuX" To: "dev@dpdk.org" CC: "david.marchand@redhat.com" , "maxime.coquelin@redhat.com" , "Xia, Chenbo" , "Li, Miao" , "Ling, WeiX" , "stable@dpdk.org" Subject: RE: [PATCH] bus/pci: fix legacy device IO port map in secondary process Thread-Topic: [PATCH] bus/pci: fix legacy device IO port map in secondary process Thread-Index: AQHZyNPLbZEI2V0t9Uy0aE+o3yW/Gq/nyWMAgARhS4A= Date: Wed, 16 Aug 2023 01:11:55 +0000 Message-ID: References: <20230807015820.1329972-1-wenwux.ma@intel.com> <661e8d7c-ac06-8d8d-9068-3d5812cb426b@amd.com> In-Reply-To: <661e8d7c-ac06-8d8d-9068-3d5812cb426b@amd.com> Accept-Language: zh-CN, 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: MN0PR11MB6110:EE_|CY5PR11MB6113:EE_ x-ms-office365-filtering-correlation-id: 8b45f2dd-c919-467b-ad91-08db9df5c866 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LV5p25yGV8sCAlhxW2rLDtDVDiOdWbegBFck2DLy2IdUaG2xkG5R11P4okbAwpv/a/AQRTS4/ifsFRuMx0gxsyb3DFORgJcumQ9Uw6mt4vkX5l5mkp4u6SNZi3hz8U/1CaqpaYRBXbDrRtrTHj+I7sHqhwkNXjuY/mKSBGFPzH5LbVKHAa6Eraeti/+Ccm+PsVpYoZOVBSWIUgRiyRgNPOSMlxJh91ex7KlAsUWMMAz3S0vojrFXed3W1WdA0Xzu/dWoFq1fEFYZ3PaDCu9H1T/PZbqeRa2DMLCY3cdsBz6w0ABUafXxoYYDmw9WlVip4XLSHo3GWxG5Qg6nJ5LethEL/IohsPY3hH+rIWCnkFWSwAm3bTl2mNiYPek13zAoxBcZJxQ9YsSTl8no4tauy14HRlo8ni6GqILokT/2wl2GkpyQy/FW5WOhLtWs8I/+q1Pw0ZJRtIb/h7Jtl4A0+rDpedzQ0h3g0MHVZczWLXkZGtK/5BJUAytG420PQuCW+U4GBjj2OZxGy0SeDhKqM4RUOl3ygLapgfbSmLSZqPZf0LVK1VK3CEnb5Qj+MzgG2Ara8AfBVEwAj+mWGivHmhXHofWFnyMyFvAivD73l0gM6W3wkTPSTsdteBtyZ7uy x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN0PR11MB6110.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(346002)(376002)(366004)(39860400002)(136003)(451199024)(186009)(1800799009)(66899024)(71200400001)(66476007)(9686003)(38100700002)(6916009)(83380400001)(478600001)(38070700005)(53546011)(4326008)(76116006)(66446008)(66946007)(66556008)(54906003)(7696005)(82960400001)(55016003)(122000001)(6506007)(8936002)(2906002)(26005)(64756008)(8676002)(316002)(52536014)(5660300002)(86362001)(33656002)(41300700001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?L1RnRCtDNXlIOTJpMTRrUzMrOVNkdTRESnR6ZmM0L3dCV1BQYktzQXRzK0pw?= =?utf-8?B?d1NtNTlKUXFZMDlGMkdpVjQxWm90bWJSMmlTZVh2OGRrZGFGRzJIRVVQSSs0?= =?utf-8?B?ZW9Bb1E5Zy82ZmdGQkNoeXBHWXp4OGdTSGxSd1dpeWxFZGkxenR4cXpBdER6?= =?utf-8?B?RHh5ZTd2YTVnZ3VkZmVST1N0S0ZLaGx0WEFoalRLTjBzTUN4R2g0eExjUnRh?= =?utf-8?B?Nk9MNjUyU3NkTlJveGxlS3p6YnlPSTdiZnRlUkpDbnNyclpheTNjc3BlWFIw?= =?utf-8?B?RU5GUDVaOG9rNndyMm82REQveXRIUkdLbzB2cmRXQ0lCclZOTzk4NW1Fc3ZW?= =?utf-8?B?NG5EbnJvdFlkSHpKekkyZmtYMVdTaFpIbTRkR3J0Sldja2g1eG1BS0VubW5G?= =?utf-8?B?endwdlR5N3pGdGNSY1c2em1GcDMvUERWK1FQWVdGc3M1dVhmWkNlczYxWXlL?= =?utf-8?B?WHdwbUY1bWdyZ1hHSW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?V2I3NEoxaHBNMTB3aXJvWWg3Um5FN1NqN3RydzZmL1Z1bGkzVHdpRFJXK010?= =?utf-8?B?OERmclZiVVhyd1R0ZDZzSlZZZ2tOclg4Q3lOb1dIM1F1NFEyR1RXL2orQ0Uy?= =?utf-8?B?ZlFyWjJGWHdHbmN5SlhYUjlRNy91OHdpMDlWUlFVeUM2VEtWQldteVdxN0lF?= =?utf-8?B?bU9PRlc0eXFrbU13Nk9icEFWbnYyYzRvUDRMdnIvZDByL1NIV05FQmVkOE1q?= =?utf-8?B?clFvQ01TTDRYOVZVUHpuem4wT29CcjdGWXdLRjVRSXEzczJYS28yanRWZTdm?= =?utf-8?B?b3krVXFvMFB1eVdveXRwOHJFcnFaaERmMm01WlhpSXRZSUdrVjVVcnZRdGgz?= =?utf-8?B?MHllWFJvUDQ1bUpSSXFTMCtMcVpBODluMkV6V25USDhmL3AvdTA2cE9IMWhv?= =?utf-8?B?S0FneE9HUUdaalNhRDM0TVh3NVFOMFp5VjRCM0pqS0VtZHgwZnFOaUt5Wm9x?= =?utf-8?B?ZjVuSkF3RmVJdCs2em92cTNYU3p0WVJVQ1RIRUxVaFpRTGxuY3lmOXUxK0Zx?= =?utf-8?B?NUd5SlhBRWxOTGFLZkxFTUNOK2VXeGwyNU1jRFlvbHkzZ1BOOUNweGx4TU5U?= =?utf-8?B?bWtSRTQ4QjR1N1Y1QVJyaWpGbVQ1ektVVGtSRE5FeG5CZVV5SEVhUEs1SDkv?= =?utf-8?B?cWZwcWZha01YTjFHYUp6UHRxaXE1bHpsWW9jaDBSTnlXWXpQL2xsYXhMVnl4?= =?utf-8?Q?fYOnH+siU8zih9/Thv2ecWZ5Z?= 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: MN0PR11MB6110.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8b45f2dd-c919-467b-ad91-08db9df5c866 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Aug 2023 01:11:55.7338 (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: nEn4j9J+t1iqyETDQqpYTqLA5Wsq0ERz8H0dBvn6UQAVfNbWhTEnoCVIZm71+pvij3DvooNVpzTMVtlLSQ7ppA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6113 X-OriginatorOrg: intel.com 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 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogR3VwdGEsIE5pcHVu IDxuaXB1bi5ndXB0YUBhbWQuY29tPg0KPiBTZW50OiAyMDIz5bm0OOaciDEz5pelIDE0OjE1DQo+ IFRvOiBNYSwgV2Vud3VYIDx3ZW53dXgubWFAaW50ZWwuY29tPjsgZGV2QGRwZGsub3JnDQo+IENj OiBkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tOyBtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbTsg WGlhLA0KPiBDaGVuYm8gPGNoZW5iby54aWFAaW50ZWwuY29tPjsgTGksIE1pYW8gPG1pYW8ubGlA aW50ZWwuY29tPjsgTGluZywgV2VpWA0KPiA8d2VpeC5saW5nQGludGVsLmNvbT47IHN0YWJsZUBk cGRrLm9yZw0KPiBTdWJqZWN0OiBSZTogW1BBVENIXSBidXMvcGNpOiBmaXggbGVnYWN5IGRldmlj ZSBJTyBwb3J0IG1hcCBpbiBzZWNvbmRhcnkNCj4gcHJvY2Vzcw0KPiANCj4gSGkgV2Vud3UsDQo+ IA0KPi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