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 CD3C445EDB for ; Wed, 18 Dec 2024 12:18:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2CEB40E54; Wed, 18 Dec 2024 12:18:19 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mails.dpdk.org (Postfix) with ESMTP id B3C9240E54; Wed, 18 Dec 2024 12:18:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1734520698; x=1766056698; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=HmkqaGnm4nTiy8/q2xVEORYX4e5W+ciRc7BaLELQQmQ=; b=K4KeRfdJuUBvq1a8i4kBIGMIP1AeL20tA8XF3DorVBOcrWlgVcsS5S8r 3123iCN3r3K+Rp/QurJRxHAHfztDyaPomnYh+r9JcTiS/52oMlixRKkp0 ZRwnChqRPziK5F95fPVhqmtKxAOSn2Q5Shpc9dtGKpwxWF7W8l/EdcZwX wlHIEucehrzwK6z5a0jx7EOoJaw1sMjHS/ewfukGeh6tQltgw3EphRL3R 2qhcZXEnuc1X/nUZ2CHvxgmpgHccIVu6ijRyzK9M/m42mzFmfAT9PM6Ii B6WVjiXXDEjniYlQon/wFIpUwJ9IF2x4miimlWFJE0VHn6GV+cjg26Kwd Q==; X-CSE-ConnectionGUID: GA+WycbYQ723Aub9FMur+g== X-CSE-MsgGUID: Y3sL98oDThmdDpzPhkNOYw== X-IronPort-AV: E=McAfee;i="6700,10204,11289"; a="35207872" X-IronPort-AV: E=Sophos;i="6.12,244,1728975600"; d="scan'208";a="35207872" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2024 03:18:17 -0800 X-CSE-ConnectionGUID: BvGXUqMcRYSTMYm43T5dDw== X-CSE-MsgGUID: BA75UHOwQsasx+GUWbC5UA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,244,1728975600"; d="scan'208";a="98252759" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmviesa010.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Dec 2024 03:18:16 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 18 Dec 2024 03:18:15 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Wed, 18 Dec 2024 03:18:15 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.48) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.44; Wed, 18 Dec 2024 03:18:13 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lPnXYkWu+z48+qu+Tknd6iH484O+p3CG46+oat1+iLfFmOFNDV2ixhFQBAA5T0k6fgxYUsiXdBDcVVsP71t4W7hhVgCSOBBNC7FdmeAvqJ6dBJ9pt7TMyZxklGgrasMjHxZLVShPNhp3JJZAdwzwyD8HZNCK/MYF9mebQVQate95iEWNVceprMR172+UOdPfrZhcI8FwHu2tEakUS4X6KX+ZjvcDwg50ura/codBy+0fdKeDsdZYAbzmLWuXgKkMHcYxm9T1JZ7ktE4EstSB4yhw1/pIGqTwBl7XwpnNF7QXirvb2x64l4waF1IfYtTQQ5DVlhEPpMW7EchubtdoPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=1Us5oc+YXV4TLr+U9sqMJQnypsfW+/5Ob98BfgxW8IU=; b=T+hajbUFVzOTKNtiDKnjDqo3AVC3mdzBZr8MadcM02gtWtIrb2xvOdo/vjFgA5YPSAWqoiEQ1006f1pjBhby9bK2Vcp4f8xTSxAwjfMi7refGCPli+HJcmWP+ApqFA0YOu5r/Sf7c0bUpOL8+COIZTxaz/i26YaPRX8OHYAaVvTxQ1VwxWGsO0JmwHVmOUCfwjNCLJdbDryD+YS2C/EwSXBd1HfAdPPMFMw+R5MtB4j796WzXVcmdrghCCVIyRLYy9r+Sitv06fcVi/PjcoXrO0LX+YJafoTytE4+XZ7JtU6XvIJ5/8N0ROioJvqPrxoYuegAcGfEDuqZfKAlWopUg== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by CY8PR11MB6915.namprd11.prod.outlook.com (2603:10b6:930:59::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.13; Wed, 18 Dec 2024 11:17:56 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a%3]) with mapi id 15.20.8251.015; Wed, 18 Dec 2024 11:17:56 +0000 Message-ID: Date: Wed, 18 Dec 2024 12:17:48 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 5/5] eal/x86: defer power intrinsics variable allocation To: David Marchand , CC: , , , , Bruce Richardson , Konstantin Ananyev , Chengwen Feng , Stephen Hemminger , =?UTF-8?Q?Morten_Br=C3=B8rup?= References: <20241205175754.1673888-1-david.marchand@redhat.com> <20241217085954.3310414-1-david.marchand@redhat.com> <20241217085954.3310414-6-david.marchand@redhat.com> Content-Language: en-US From: "Burakov, Anatoly" In-Reply-To: <20241217085954.3310414-6-david.marchand@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DUZPR01CA0111.eurprd01.prod.exchangelabs.com (2603:10a6:10:4bb::12) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|CY8PR11MB6915:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d5c34a8-ff4a-46e7-8883-08dd1f559f29 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|7416014|366016|7053199007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?WWtmbDBTYm9NNWYvYXpvYUE3bkpJRVlWM1NTa00rV014cVBWWW1ZWFlmb3BY?= =?utf-8?B?WE9ZQUw0My92S09FOWJXYnNIUUVNWXJrdTg1TnZqL2VONE1xRG5tU0VSR0dC?= =?utf-8?B?ZEdFbGp0eUIxbDN3L2srdVgxeFZncVcxQTZUK3A1VVJtc2FHaC9IYkRCZWxU?= =?utf-8?B?ZUloTmlMSU1DVWtxOStIV2daT0I4WmIrYmsxRUtldzVaeWNFNXVRTVNjdkNF?= =?utf-8?B?MVl4NlJnVW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=?utf-8?B?ZWIrVjcwdjRhUHpId2NxL09IWFJZWFNadEhsd0tHL1RnaXFqekpFU0lEN3JV?= =?utf-8?B?K28vTFc1bjl1ZTl6NGhBOS9Wbi9WUVNpdmJsQmdnSUF5MXNUc05Vbi9hKzFE?= =?utf-8?B?KzJVbWFIek9HT1JjYi8xZUh0NFo1L3BHdkY4R212bGtTSU9oK2xUZUFNc29r?= =?utf-8?B?elpWRm9xVnNJN01MbDByb3llSUZoUExSVVRSMFpCVldSWktYMDNvOUo5QnFZ?= =?utf-8?B?eHdZVVhXTnBZY3hwN1dtNzVPWDl4eEFtWnpROFhEV0VzWHZ6cjNSYUZXRzFw?= =?utf-8?B?NVlHbWhIakVyMktGb28zTFJsc0tlWHZUcWFwemRkdjJYcUpZSzJlZkJtRGZX?= =?utf-8?B?Y1J4cVdmRURKQkpIbi9NUnFnVmlBdGhlU0FUdFZCRm9SblpibXpFYVdJR3RR?= =?utf-8?B?NFNNWlVOVGJNU0ppWFhhdGtEZXM3RzNkOW1idW5jcnc2T3B2YlRPUEJITmp2?= =?utf-8?B?RHkwem1zbHZraG9qTWJjMXFxK05nRkpidXdtVzJPc3d1N2VSK2g4QTZ3dFlO?= =?utf-8?B?UVkxVUF6OEZPc3RaY0xHRjBrdjd2dURQUHd5QnkzZmozRjM4bTExWE85T00v?= =?utf-8?B?cmpBZ0xhM1A0aUI3Q2trdXRnd3dtR3RyN2ZIVFppQ29PNVZHMjhxS0ltRm9a?= =?utf-8?B?MVVsdDAzUmVhR0ZIQkM3d3RtM00vWFNlMFR0ak9mOXV0M2grUmtxbndNaGp5?= =?utf-8?Q?y2TMYcHaIWSHl?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(7416014)(366016)(7053199007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-Message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hXaFBDZW0yRjQ4S3pod2puSys4SDhaTkx5TGM1ZTVkRjZzcXp5ME16a1Rr?= =?utf-8?B?ZjFpbi83RGRNMWI1eG9BUm5hRnJPTkl6M0FocDNGMUFHekhhVjhDcFRxN3Ur?= =?utf-8?B?UTk0dzYwUktUckhiWk1QQS90VmI5cTBYSWtMd0ZtSk1wYzR2Umd2MmNLMXk5?= =?utf-8?B?YUZ0Vmk4OEFPSlNkb1hxRTVvL3RGZ2pJa2xYbEZMWVlTemtyY01aeWNXOEVq?= =?utf-8?B?NjAvY0tJdjhocVcxaFBFNUNHeFRra2VYZEFtMy9CUUppeWNSWExuUk91emdV?= =?utf-8?B?YzViQ2ZJUkhURSttL21JbTRaR0RaRGQvRUZuRGFnRWhQMHZOZkN1OGl1OTdR?= =?utf-8?B?OExHdFhmWVlwOUlONFBJNXhDblNpZVRDUzdlcTYwYjlPcjNyWlhHT1c3U2VL?= =?utf-8?B?b2c9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 1d5c34a8-ff4a-46e7-8883-08dd1f559f29 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2024 11:17:56.0996 (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: nKRLX1xS5WXv5SYg9RJBurWwKRhyaijCYp6s4FTd2FwqTxJ32oEbAshuKw+Bn9RjFvhljmzFKHfhMIa+5G210J2ujTHSp1kBZgM4k0ikStA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB6915 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 On 12/17/2024 9:59 AM, David Marchand wrote: > The lcore variable in this code unit is only used through > rte_power_monitor*() public symbols. > > Defer the unconditional lcore variable allocation in those symbols. > > Fixes: 18b5049ab4fe ("eal/x86: keep power intrinsics state in lcore variable") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly