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 660E3A0505; Tue, 22 Mar 2022 17:11:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 594AB40E64; Tue, 22 Mar 2022 17:11:55 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 7E54640694 for ; Tue, 22 Mar 2022 17:11:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647965513; x=1679501513; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=a9nMU0W4r0mD7MkQYo4ynI/NgjuGyINGB/n9ien93Do=; b=O04C9ZPnFi0XXXcrVcf3tAlEvoFfwFQbSl9ywEp6SBEUv7be4H4xFy2V bOtYc04Ps/QuOcG/kHyvbxZByeiv0C8ICtxMzV17jyyOWV8/71c+H/EPX pF75oYM5vPCiRZU5hON3pb3feCL++1+J/rGyCXP3A79fs9XliNbAFzaEK oRy2iSwRIkz7VU6aCOZaip9R1HN7uGyJdDqASkZ3AWqKewaICHt8QWPuJ zBVqGNPcJZBBBSHFlVcjyWih0zTOmJWIal1u9ARM+vtLK0QPb71vJqiNX Fdi45l5Vl8QkGtGTNDkKY2fyQ8MDqo0qoOq/BlkfW9ZqEs/uV+pfj+xjf A==; X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="237803596" X-IronPort-AV: E=Sophos;i="5.90,202,1643702400"; d="scan'208";a="237803596" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2022 09:11:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,202,1643702400"; d="scan'208";a="785434256" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga006.fm.intel.com with ESMTP; 22 Mar 2022 09:11:45 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 22 Mar 2022 09:11:44 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Tue, 22 Mar 2022 09:11:44 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) 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.2308.21; Tue, 22 Mar 2022 09:11:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F3v9UzOgDm2tCnJdCW1lEHdskUOc2kdNxJPNQg0X22JV941K3oq+wdQ/QmLkMRs1cDfMxSsqnA2pdwnpUxGeRFn0QryiycD6o3VU1YqdXGDR3kpUk8GD+/I12gJN4mOOsn22p6ffuG45SH0UN87B29HuotPcJgP0cORshEmMDNr1QZFI76WDq+aLI6Wo/gZOZpIkaHyOi63TG6pWy7RbjPau2qaAcO2ang3vDjd1aqs9Gq/FKykAuM9slc4vPJ9+v2pE/EWOAFJ3nlVAN9RpAbOUOcK57weglMXIAT1k0n2nbl3nizgL1FEmACUPd5xachESdRULhDC2xgJWh18jAw== 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=igkr4Kyi4FOO5NgNNouCGMW/L/A+eTqKr2ttAOkgzgc=; b=k8YAxzyRA9joZT/bmYi2WGiiQyzq6789QbZh0d7nzHQIUokqaxgWyajldMI4b9yKQ8DjzI5ByDaMq5/P1Ocb2C3cPrL8bwNIQGuO4MM3cr5JA05yyUn7eKeYSpIqv2JL9bNwX9hzyA59ADdVCm8TEh8Pg7Om2yVGMif5L6k1fUO/d91ydXTSCuhGpaKg6i0C57GvQ9TbIWyA5Jx5autXMlMR0J2c+YFY3VRLmwUUVFh4GTiFdR9tMfv57cwet9b++DGMp2kPmcs75ZI/J+/UjAQ5n5VxnG+J/1738Ib6kPj3aVZBrTQzr4YFLX/on5hSKhdd4ZWWaW68/0FYOpMRBw== 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 BYAPR11MB3799.namprd11.prod.outlook.com (2603:10b6:a03:fb::19) by PH0PR11MB4807.namprd11.prod.outlook.com (2603:10b6:510:3a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.16; Tue, 22 Mar 2022 16:11:42 +0000 Received: from BYAPR11MB3799.namprd11.prod.outlook.com ([fe80::1c27:e11:f54b:94e6]) by BYAPR11MB3799.namprd11.prod.outlook.com ([fe80::1c27:e11:f54b:94e6%6]) with mapi id 15.20.5081.023; Tue, 22 Mar 2022 16:11:42 +0000 Message-ID: Date: Tue, 22 Mar 2022 16:11:36 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.6.1 Subject: Re: [PATCH] lib/power: power pmd errata with RTM and gcc-9 To: Thomas Monjalon CC: References: <20220309132221.18210-1-david.hunt@intel.com> <4149792.kQq0lBPeGt@thomas> From: David Hunt In-Reply-To: <4149792.kQq0lBPeGt@thomas> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0487.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1ab::6) To BYAPR11MB3799.namprd11.prod.outlook.com (2603:10b6:a03:fb::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 24f4db39-5852-4c9d-d2e6-08da0c1ea719 X-MS-TrafficTypeDiagnostic: PH0PR11MB4807:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QJUWvVyYRagmGy8aYmdue13pZeOtMX4qZZyRAKxd5RpKfinj1L0Ar5M4jVxHMKu77aKghRefSXxEWnyNc5FXXAIqPcVIvinZlU/NxOwLXFs0aOOHYMWsoXi2YljGo1eTzbjX94IW/zHCH+Qqp5TQo9QH60NTHDSY9CLWTWs/1InWJDKj2YqdUmbF+p2T0vcNrNJbtFdBGHjt3i2wlozXrYXahTBq2JZsMjkogf8r7n7rIAtH6k/Yaw4NQJUezQ4nj5hnzmKQCUTgyCEQMzSoUsER73DGm+6uKKzT9MHJikgzCwJDkhelzjES2dd2WszKI89aU/T5kD+FSS0HlaT5bTDGDJFIhYwmnwk5kBy42spy4Q8uo2PJMdS6uPqmewGvcAs+7iRe25e9vyN6J6RMsePkjeHUSSh+AghNibdlgF7zc5DDr25NG5mL9knUBf1mu419Y8PBE79ySPv21ZmTWEG7cpi6dEvrE99WxuSa+bFmT3tRLYFuxM8BM9E5wL5n+d1q2rMcTb5BOguCq0pPEluGuHQx5216QvvwKLo5iXv2Cu01Zz9/8lJZdu5VmO7NCJ+CaTgKIzuPHehFFfxT3GkglfG6PUCRnONCGUyFJd+gY+1bjqt1eBl5reLsyMJkwRt1UekJkCDCnu4ZPQ6mpUqNVGBTMbeXs+QxjFOeOdIGtPP5INxzFSCpzCAwMsR7BXKJCU8SBPe2s0/AdL6itcw206ziHvxmoJEPjOrrDTM= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3799.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(8676002)(4326008)(2906002)(66476007)(66556008)(66946007)(186003)(26005)(5660300002)(2616005)(8936002)(4744005)(44832011)(82960400001)(38100700002)(31696002)(86362001)(316002)(31686004)(6486002)(6916009)(6666004)(508600001)(36756003)(6512007)(6506007)(53546011)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VENmNXJMd1ozejFtZ1JjUGI0eUFjZnJ4TXpwZndlTGlDWmRmRU1JNHA0eW1G?= =?utf-8?B?bkgvaUt5RUhtdTlkOGVFTHZhYTlyLzNseU9EcWM2bHNxcldWTEU2czk3Qkp6?= =?utf-8?B?bzlYVzNwNU9YRmhqb2l0NnJqMUk4ajBMek1QSHVlcU9aSGFOdE1HRFlSRXVI?= =?utf-8?B?T3VjOUtlcWliNFpxYTVpeHE0TFVyVVBzZkNmYjUzRU1XbzQ2TFdaVDhCRWZv?= =?utf-8?B?Z1R1V25PbEJydjNxam84SjJvNDFBL1pnc1NIamU1dVlmL1dJbGZ3N08xL0pt?= =?utf-8?B?ejlPUHdRZFJYZnhwRmVmdXd0cmxSL3R0OEpzbWU4UjUxMThMSTFFZDZBdU4x?= =?utf-8?B?YWR3bkpSM3N0OUlGanNXQWhYTXBWMmMyWDZRNVNkdnZNM2o0OEprYWx3U2lr?= =?utf-8?B?THhXVFZiRnU0cGY0NDN5K1hwcTRoSUZXQUVIN1dNQlVxYXpqcFd3VCtBYTc5?= =?utf-8?B?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SkZHZnRDdGlO?= =?utf-8?B?bUhwVk1IdFlRNmorMGxQZ2JjdGJ3ekJRN1hvVkJlREd3M3h1NTJaeTlpbGZ1?= =?utf-8?B?QUlYLzl2dHl4ajdlUVdKclVoL1B2WTcrd3RUNitIb0JTR0xjOEt3RlROQjg2?= =?utf-8?B?VENGL1BtMnpnUzlmNmNsaHRIdFZTUldGYVRLTFBDRXJPcEZCeWFmd3cyZDVk?= =?utf-8?B?eFRaUFBzMkE0WTNsdEZDcWF2eTRsci9WSExvVm5yUk93VEFOejdMRTkyaU54?= =?utf-8?B?N0ptVXZJQWhGTURvUlNOWGxuYldyK0FXMS9LVEVsbnB1ZCtBTXJvbXpDT0hv?= =?utf-8?B?ZWE0cjVYVUtjNXRsdUV0aHE2eExubVVnakFCOUVQaUlpRjBYL2R6REF0S2Zs?= =?utf-8?B?b1d3Ynd1dkJwN3FUS2Uyc2E2UWo5dS8xU1dlMU1Nby9oSVF4b2M3YWdodUxP?= =?utf-8?B?UzZoeHgrQWNNeVRoRDlHZEFhQ2ZVTUNvbzdOMDVwVW5UZUNLbElncDhpSkxv?= =?utf-8?B?cjhibDdRaUVaZEpuWDlVV3lsa3hnYlhSWTBuQUJZcURRKzQySGhOTnFTN2g5?= =?utf-8?Q?O/+Lpf4b0MYqVWsZ7ZtYV/zlu66rRWjI?= X-MS-Exchange-CrossTenant-Network-Message-Id: 24f4db39-5852-4c9d-d2e6-08da0c1ea719 X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3799.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2022 16:11:42.1198 (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: mgfjIkUNTj4UzhtazAokFNLWigsMIj21WLhcbyWeAtfgUrHa4Zn/dLhtDMEaumPtYD00FPlixV/CtL4DeE98Pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4807 X-OriginatorOrg: intel.com 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 On 16/3/2022 7:44 PM, Thomas Monjalon wrote: > 09/03/2022 14:22, David Hunt: >> An errata exists where users may see reduced power savings when using >> PMD Power Management. This issue occurs when compiling DPDK applications >> with gcc-9 on platforms with TSX enabled. In rte_power_monitor_multi(), >> the function may return without successfully starting the RTM >> transaction (the _xbegin() fails). >> >> Signed-off-by: David Hunt > Applied, thanks. > > Is there a way to fix it or should we keep this errata forever? If it's a gcc-9 issue, then we'll have to get the assistance to fix. I've send the relevant information on to the gcc folks for analysis, and I'll follow up at regular intervals. I would hope to be able to remove the errata within the next one or two releases.