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 3D735424FC for ; Tue, 5 Sep 2023 05:10:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D95C40A6E; Tue, 5 Sep 2023 05:10:49 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id E26254026A; Tue, 5 Sep 2023 05:10:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693883446; x=1725419446; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=q9fKsMmiNBwjm948k5md7jG9HkXdYWxcwvD5d2/zWl0=; b=X9nmToUjBEREnuIPHLqWc357LmEKTT6j5kIFj2uQwlwYT62GsbXC/1Dd RsZlVXfCfXoABhVV13+sU7pMrRSE3UH4ctxiWsUjO76op84+Gw2SQiyYD wFsY/wGOmMqZATq9vcITFM6X+12Qc65+ozo3X153A8Bp32BDA/WBIMUf0 lo7CeN7XV5M2S0FxVEBALqSHbb09PqHdURLpJSHTp5WjIUDjSyHE+BWu2 CK0uCdTJ5shPMhaeLpK/cxNznzM0RGbsonF8Mp8P7oHSZ91Zhu3GxP/g0 vXmt3bKa3iptJCw8ac1uHPT67mZ4Ia+8bpWezcPOjI57IxUKTb5ORbwPK Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10823"; a="407677816" X-IronPort-AV: E=Sophos;i="6.02,228,1688454000"; d="scan'208";a="407677816" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2023 20:10:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10823"; a="690777293" X-IronPort-AV: E=Sophos;i="6.02,228,1688454000"; d="scan'208";a="690777293" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga003.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 04 Sep 2023 20:10:43 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 4 Sep 2023 20:10:42 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Mon, 4 Sep 2023 20:10:42 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Mon, 4 Sep 2023 20:10:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WoAE5jprhBf9QhWsHw0ONCwC96qaECs0TBjKnLSAe/yve7JuU5KtJJhfQ5OlViusByuHPWE04176sIxnGvxYEu/gk8TjDk3cZ5seS+r7hu0IsyN4AEDnAnJP2foqcMnMqZS6bKxlcrKvv0OgmsRpApOEOLjLHuUhzK3uelrUDYYfUoBQbOz4J18LEYt7C1jp29HUdb7yMRPlYQac0drnAUhl2Y01EsMJmaVIfQO2o7rP+MFy/L8IpeTobL9ZjiffNxKsuwwhLD0z1MT4yXwZJ4HwlQieqUqkO0LhXjSZME6RBP0mqYBskK8tGGrw3uqHWbHfYscQzHnHXHazYfH1Vw== 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=q9fKsMmiNBwjm948k5md7jG9HkXdYWxcwvD5d2/zWl0=; b=RjJomfHkJi7jo/RUC8/o7EvwhuT9nAT9dvxhhPWFNmH1sWt23VmlRgu843FNzePwUahUK3+4oHNly7oCNLkfKozO5VEqJ+/lVLeduhug8xjzb16nEddIi39Qtk4Y7XbiG8FpvwAMmPC5OL89+vWpvHTelh1miDJ+ypwPTJk8tkj+goTopQ/qB+XoeB3XGJZ/7eFifxVnhrEl/Yw1NVWjzXjZyVzp+TWA60Aab2XtkzCddTKHctxQy15d7k9VlUb2NUCv+ZAgEHjbNB9C4zNeYv3mj2N0ABSOPqhImqck1Khg6OIOVc1eBOUtB9uA1m6XmUyzW95ydDOby0fG5QQ37w== 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 PH7PR11MB6006.namprd11.prod.outlook.com (2603:10b6:510:1e1::13) by SA1PR11MB8318.namprd11.prod.outlook.com (2603:10b6:806:373::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.30; Tue, 5 Sep 2023 03:10:40 +0000 Received: from PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::c335:3eb8:4835:88ef]) by PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::c335:3eb8:4835:88ef%7]) with mapi id 15.20.6745.030; Tue, 5 Sep 2023 03:10:40 +0000 From: "Ling, WeiX" To: "Ma, WenwuX" , "nipun.gupta@amd.com" , "dev@dpdk.org" CC: "david.marchand@redhat.com" , "maxime.coquelin@redhat.com" , "Xia, Chenbo" , "Li, Miao" , "stable@dpdk.org" Subject: RE: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process Thread-Topic: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process Thread-Index: AQHZ2v/fWSCOmkBmrUWI00HlmWUMrLALls+w Date: Tue, 5 Sep 2023 03:10:39 +0000 Message-ID: References: <20230807015820.1329972-1-wenwux.ma@intel.com> <20230830050713.58247-1-wenwux.ma@intel.com> In-Reply-To: <20230830050713.58247-1-wenwux.ma@intel.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: PH7PR11MB6006:EE_|SA1PR11MB8318:EE_ x-ms-office365-filtering-correlation-id: 2a18b0ef-650c-41b0-bd27-08dbadbdaf0c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sa5VhPaghS7b6WeGfm/JvDTQCqGYz0um18AFDvxY5gba2CPL7vy3Uo0vjgXpmY39gKlD1MxbmKcGK5jcnoYWXQHQ5v2Ndb4nNXBd4tZD+/CFJoYXKusf+OwJ/FGm8iLJbd6Z9xiUxJE0E6I8u2hku8v5dgwk8ULV6MG6RVQ0D8xGvb4Imp0Og+rr4PFUtHs9fXeqEcolLYx0NRWYa7atHM9DSK2e1D2ezU49mJTTSje7DAGyQZU+cxV60S0O/p6vC7OrqdKQJRgJWKugscWoDJaabmH3qWOWixW95x4NsSdWtjxGYwO1a6lftGWF8XTDTMsNoLCzAUHYkOnwoJH/R8QqysFDzL71nc5gTbwqC4JunvfQ5ohT2YbOc8RmlMOxtbLLW/rGMiect9zyiN3HwQSupSm16f97vZDMeg/Zzk7sSTna7VhbXW2DPj4NKhy1RRVwKKhuEAcDcvL1M/Vm34B384LznHPjFJ40KzHX8JHEtIhkdgeAaMiZn3p0UzYSh3sV7M04biqOvvHrgDQkvZhpRIYFSKx6fknzi7rH5u2yjcyWUCL68Ks54f60dEVMGsrLzAcWiezbJjjBpQ5VdbgBPshci5WVR2qVYPtug1TJZaIvRkiBAMeBHGN5EgN1 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6006.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(346002)(396003)(136003)(366004)(376002)(1800799009)(451199024)(186009)(316002)(66556008)(66476007)(66446008)(66946007)(2906002)(64756008)(76116006)(86362001)(110136005)(33656002)(54906003)(55016003)(8936002)(52536014)(5660300002)(4326008)(8676002)(41300700001)(9686003)(38070700005)(83380400001)(38100700002)(4744005)(478600001)(82960400001)(122000001)(6506007)(71200400001)(7696005)(53546011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+Qc6XlO9Qag7XTN8lHzZkfOjRwxjZjjsJmDcrzoGpddDd5GbuCY24zNA9MrT?= =?us-ascii?Q?mNBqvfteGwxnXNNnYJPCyOoaD0KQ5qh+m4txh8E+dJLZSFdRzg5NEVXDKLH8?= =?us-ascii?Q?JALxJlcR/8NgQtO8dyyN21I5xs9IRJfRjo+AWW9A8b/RkI+wOezbozUWdf9B?= =?us-ascii?Q?6eZLWr0H1Ao8lhir0+xZfs47Iw8mIQRNXafIK3Y7L3X63O4O8tVQUIwOCpuj?= =?us-ascii?Q?eVL7DHlkZbh3Zoo/JeWqZ6l97lckw/F1mWcRtzn4cEyi+CCaAcvKNtmWk0bn?= =?us-ascii?Q?SXhSr9qgUNk/Yvsyzn4zokwNAalkIa3X4AaK3Ni54ussHdqI/jakRt0JU9/4?= =?us-ascii?Q?gWQYyfd28fCR0R01LDAarefoMgc7UiNAYIPdG0H++oDXVLjX9ACYVMK71Zko?= =?us-ascii?Q?+/clESYlgpWVKiUjAU0b1fjG2oro7d1N0IZeugl/UmfDEqJcCXucOlj0KJ/b?= =?us-ascii?Q?WPjqeuvp5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dq/KAoV8?= =?us-ascii?Q?pKFuBXVFHid2MTJnFpdd8T1V1ytFxZgugxOewQ7iVZfm0ousFyukMA02vVVV?= =?us-ascii?Q?ykxlXge5P0pCINqq1hszjlxbYf8KawHdwxN5jagzBiuK8ZUnOwpdplw1NAYf?= =?us-ascii?Q?+JOdUnFj5A1FUBKgFuY4Xpt36uYMfX+xfZ0qDuUFclJqM1UWOy06Fx9A+w?= =?us-ascii?Q?=3D=3D?= 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: PH7PR11MB6006.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a18b0ef-650c-41b0-bd27-08dbadbdaf0c X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2023 03:10:39.9969 (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: pmIZcE20Wamp1iD4Gh5R9T3chJrNdEbURDZxso2XKHydYd7Dn0WCOiDmbwdv9aest8Hk13tiYHtcuzVVZm3xzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB8318 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 > -----Original Message----- > From: Ma, WenwuX > Sent: Wednesday, August 30, 2023 1:07 PM > To: nipun.gupta@amd.com; dev@dpdk.org > Cc: david.marchand@redhat.com; maxime.coquelin@redhat.com; Xia, > Chenbo ; Li, Miao ; Ling, WeiX > ; Ma, WenwuX ; > stable@dpdk.org > Subject: [PATCH v4] bus/pci: fix legacy device IO port map in secondary > process >=20 > When doing IO port mapping for legacy device in secondary process, the > region information is missing, so, we need to refill it. >=20 > Fixes: 4b741542ecde ("bus/pci: avoid depending on private kernel value") > Cc: stable@dpdk.org >=20 > Signed-off-by: Wenwu Ma Tested-by: Wei Ling