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 711DB433A7 for ; Thu, 23 Nov 2023 11:29:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60E9F42F19; Thu, 23 Nov 2023 11:29:13 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by mails.dpdk.org (Postfix) with ESMTP id A08B74026B; Thu, 23 Nov 2023 11:29:10 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UZGtQIpIVKKN91QXnGJCUk32z6GiINiFab+oUkkdfrddIxYAc53ASS9yZf3zHEjXiZ25ci7XhE/pfy+epOIZeYBd9yLdpyZUdbbfXQpTMajz3juo8SCQh6m7L9kXTlwW36iO2qaSjluFEDQaNY38hb0kNFuyIY4LBfAwLUNVJea8m3Ouj0JpmE3sMnjaG8ULqDIJ1giszOj8oH3Y33Ucl0fo6nKq1ff5k+JMi9msTm1D7nbggZQF/RJ3mP4r9EsLXk2vkdIWxshheN+A78YCLPFgq8lq+8lUlhNdt8ZGFnUADopiaDA3+k5J8IM86a8jxrWVPKSFVd6oXgw+wqmADw== 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=OtoS7FbVdPVKjv7q6mOxnQQEejy+8NIHZzYjsNwPg6U=; b=KByPI/J/twhIFj7a9R9LGPuvOvSK4ts8B1ylIBZtRjPtwNfpNiLeh8rEPy/48j6y6E0JwXSCt1j32C77SfFS9BEIBRtEfl4KvNJwXyeFnRjoJwkSQnQLTAcWHq0ROU16eGef9phr5RG9dpyk2Bx2zPPw3gQ22l3pTszComh1my/WQfkHBtd6m0Tk7l4HGSzaMvtb69P4usQk+FSu0r8txPv5KXWS97ZUXUwDDnu8TNoUICUDLt4QzIyagBMKI6gmlrX83QtJkyIJWZdb23VFD1P32QG/3Z5TFscLBd9zIdH/GOLDOVHH7mFcNs6Vo0rs8LSSe+3gkSbZ2qYk6zmUbw== 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=OtoS7FbVdPVKjv7q6mOxnQQEejy+8NIHZzYjsNwPg6U=; b=z+lgcTB7JZNavBsZcsxzmd2KAlvCdUqh0s4bfsYKamT+Z4Zv6CXbZOob6rvXaYn1cJzVTcJIUUpRzIZIcgXDOlmE8Mav4e4on/mhCxpVImswIJu8J90UOc6MSvC8yRa+lz6ahudN8N3ij+oJy3y7H0JS+WuDS63UzXoCeB2yj7k= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SJ0PR12MB7006.namprd12.prod.outlook.com (2603:10b6:a03:486::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.20; Thu, 23 Nov 2023 10:29:08 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f%6]) with mapi id 15.20.7025.021; Thu, 23 Nov 2023 10:29:08 +0000 Message-ID: Date: Thu, 23 Nov 2023 10:29:02 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] eal/x86: add AMD vendor check to choose TSC calibration Content-Language: en-US To: Sivaprasad Tummala , bruce.richardson@intel.com, konstantin.v.ananyev@yandex.ru Cc: dev@dpdk.org, david.marchand@redhat.com, jerin.jacob@caviumnetworks.com, stable@dpdk.org References: <20231109052820.2129745-1-sivaprasad.tummala@amd.com> <20231123072730.22948-1-sivaprasad.tummala@amd.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7a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ME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20231123072730.22948-1-sivaprasad.tummala@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR4P281CA0430.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:d1::20) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SJ0PR12MB7006:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a3bc1b1-5c42-40e2-2640-08dbec0f0695 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rh8FSm2r5myBBhPbs29vkr73dwqyGGtls4TafdJASCzX4gsG35Ng96dxYbGc6E+s7z83MBa9IlGS3Mq4oU5Obk5ojSqVfnssXJ4eKs3PJj0V1wgjLvxSLYBTol5VWzHMer2JNSameHgcZBHgLgjcIcnEsldrG7n9isysWt0OtegEhKGHJloYY0bSo5t6fkqy35xaKXa21/D/QRTtkJ9ELau9mFgFE8opuZyYQby9qVFT5lcAtaiB6I6AVou2uQwDoj/1KYnFQxyXEejw713Jf4+b3caTAsSwx0quDesATappdiB3GlVi4Y3YS3n8xuqPTQUz5TuDO2zw3MILKOKMLGmDwSHTSbapbyN2heFKQUMedTdNjNDo9GT/LMfBwTR0louV9K02Lahu19b6VEMqi6lGOvkF0FAoWK2rV9tyOAYo7r6+in2FadlF04SJKNoFb3VeT0p3rkNjuP5c6qe3SMovEoNNkNvdSlNqQVAHE3zRkyVrQV5HfiQr7MyV/oXeNj5OA3abqkLz/uS36/lhSNvKvwL5J4bDTPsR18yRa9ci+lOSLuv1w6rYWHTamKVlXVQ6P3TU8FAZcsO3PbBiVwRGyNg98yZwprJLk2V1LHj6uj11Hx4tadX3GxXQK33z2RPlivsMR3Qj2IfdedaL/w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(366004)(136003)(376002)(396003)(346002)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(4744005)(31686004)(2906002)(44832011)(41300700001)(8676002)(8936002)(4326008)(5660300002)(316002)(66476007)(66556008)(86362001)(6486002)(2616005)(478600001)(6506007)(36756003)(66946007)(53546011)(26005)(6666004)(6512007)(38100700002)(31696002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VXRmSzIvVVdPV0loaDF4eFBRN1FYMHZlaGg0ZjlIeko2cjI4MmFQZHp4U0ZD?= =?utf-8?B?dkhsSEQzTlR5UkgxZ1RRT3dNU3dIOXdkZkhnUVNZMVBQMTljTGNOSndJWjhx?= =?utf-8?B?WCtmK0VTQmV3cHZIVU5JQ3hOSnVRdjZISWdkSVQ0bDFFS2ZMV1d0MUgzZ3Ev?= =?utf-8?B?NUVIOHAvZFZ4VHNkTkV6bDMzWTVtWU9IZEptRWpBZFNockViNjduNHlUMVVL?= =?utf-8?B?Y25LNSthYUgrSVFGT3hZcmhvUSsxSkpMOXhkYW1tdU1KRkQvQldVSHhVa2My?= =?utf-8?B?TFdWaVhDZEdZL1ZON0tSNlVnMmJWTmJuZG13UTNCSm1SOU1McndzZHJpRzVp?= =?utf-8?B?NHNyZUJaMS9MRVduM2tHU0pOamdGQjUvVGd0WFpyNHowbHpjNUdvVVprV2Q3?= =?utf-8?B?YWc2ODFHejd2Nmlvd1lYcXJHREtubnY4dmFoTVBaUGE1RER1SDhZaGJ0NkM4?= =?utf-8?B?djdKdXBGVnd5eklKekY3WlFFL1RBTUN2eWMvZEc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jA4OThlOEFpbnlUR0kzUEZOSzlWMXEz?= =?utf-8?B?Tys5TXZ0cWdFeUpCWWQ4NEg4bmJnVEVJbWtOZzhYWUpHMkFmek4zQ3BCUGx2?= =?utf-8?B?MXN0cXN0bjNsZjdWc24xUHFZM2NNTUZ0enBKUjF1OUN2WDZJZEMrREVzNHh4?= =?utf-8?B?MDRYeWdPeHhLT0txMXRsdE9pYlVFSS9LN0QrNDZjME9UNi9GUmRMTUhrOGxB?= =?utf-8?B?Y1RsbDFmQmxGeCtIUWhqNDZoTTR6MDAza3FUay85SS9pSldxWkFLMFdTVXpS?= =?utf-8?B?aStRMGlFVTUrTm10bDlOR2RpQzNKNVVIalZaVFlpaFIwMmZwc0c1SjNYWDd0?= =?utf-8?B?UjBJSHRCdGxUemE3WS8vMlNFN3dRK2lDd0hSSlphd29ncCtqR3JCN0Y1QXNF?= =?utf-8?B?UXlYZmhGY0liajhDby9tZWY3WnFwbmlyQXNDYnBOaTdadmU4cmJFTHAxZHdY?= =?utf-8?B?TGViT2xVN3VpMGxaRFdmUlZNNEVxRURuQTNId0Zza3NXeElNUmsrcXdGZEVU?= =?utf-8?B?N2hkM0dZMXRDTEFYbHp5NkhXbWFGOXIyYlNiSUU3aDdRN0lvOUJiK2taMnJB?= =?utf-8?B?TGtUNzU5VzcvUHlpNW1qTThLcDhHZW55VU9CWmNOdFdtSkZHU0lDYkw5UmFQ?= =?utf-8?B?bXBrVVVFZE8wNjhQcUQ0NXU0cVQ4dEFPeXhkZnNmZys4Q3pJQ3VRT2lvWTVH?= =?utf-8?Q?tY5M=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a3bc1b1-5c42-40e2-2640-08dbec0f0695 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2023 10:29:08.4332 (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: oNKxOnKtdiKpLGSTyvJixck+VDb60xPKZh7dSUo1P7A7drKL8Bf0XbLNnDSckgVg X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB7006 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 11/23/2023 7:27 AM, Sivaprasad Tummala wrote: > AMD Epyc processors doesn't support get_tsc_freq_arch(). > The patch allows graceful return to allow fallback to > alternate TSC calibration. > > Fixes: 3dbc565e81a0 ("timer: honor arch-specific TSC frequency query") > Cc: jerin.jacob@caviumnetworks.com > Cc: stable@dpdk.org > > Signed-off-by: Sivaprasad Tummala > Acked-by: Ferruh Yigit