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 7D0094339B; Wed, 22 Nov 2023 12:25:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0AB444028C; Wed, 22 Nov 2023 12:25:43 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2052.outbound.protection.outlook.com [40.107.96.52]) by mails.dpdk.org (Postfix) with ESMTP id 2083440273 for ; Wed, 22 Nov 2023 12:25:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kjbavJqXm0u9EyTqRNYIDTaXSxenhtGp4tXCV8OyuAokdLwQ+jEauCLY8EeFs7JoZiOa/WFw9k2x+3cs9H4dix8z5Er+S4Xlw98t6QnY6AQHuE24mrQS1ZAFXqo+T0xQB+X+8o34QlDEfiDITab2ekczehmZ14ZBGrbhzVFLofPoamwel3xmQgOyHVISJ1LH9C/sjplM7yW/jOLOR90ndqYFQa+kQWarVj9uD0nSTS9sEQyhK713+rENODHPZ0dQJ14NXXejwKfNsZ9TyEje7ebd1+8PZHmrQDwzBFL/MdDpmNdHiK0/wItbUXwEMX06SoYAFjjnaHa8XNDbnKEjBA== 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=urUPaN0wxIfXsKsbmsnym4GT1O7vYu4MnxWAWgDJx8w=; b=bn1stPtmNx0CF87QY8I1w+S9wyRsmkqTBZWne1b4SbYsOKzgj/PGBCuQzzdUaON4fAqju288utP2O8GJTaR4YHYWb5m+njVR1BgCr3MCjqw/h0FtKh7NyNJTFFoX3Lz4+dpKIb/wCTMznZWbNY7sSO67xkTTDQXAm0CBg1EgmoF4Cxk7ONhFht8e7rGZMAK4wCMO+Tp4r0E8S46uxdiELjm4WYATZeuazS06RD+BYzBRH3UfuMlkHnetsGQY5NUWrWJ92p9zjZGc5sBsLaq8OUaJhO0Vcz+5utq9FK7VkUy9KTFhP37cmhTJZ10S21lIof6YF57l+Y9CHjweT5qMuw== 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=urUPaN0wxIfXsKsbmsnym4GT1O7vYu4MnxWAWgDJx8w=; b=WVQ854ouq5Q0IJ800cI9h3quYoMQPY/uDoMdxaITw6ppR4rTJc6NwjnJCwFm14BJWsalliOHh+NSkHpBm+sTxQsPTKMolwYlpfkqVNvxid2cgRqtfg1tBE9eGgm2JukYgcg4LLp9GouTQVTmJIBw1uSZNtHDPHM83ApUaOOAPxw= 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 MW3PR12MB4362.namprd12.prod.outlook.com (2603:10b6:303:5d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.18; Wed, 22 Nov 2023 11:25:38 +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.019; Wed, 22 Nov 2023 11:25:38 +0000 Message-ID: <66767370-5959-46b3-a58f-202d2411d266@amd.com> Date: Wed, 22 Nov 2023 11:25:32 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] eal/x86: add vendor ID checks for specific implementation Content-Language: en-US To: Sivaprasad Tummala , bruce.richardson@intel.com, konstantin.v.ananyev@yandex.ru Cc: dev@dpdk.org, David Marchand References: <20231109052820.2129745-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 AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6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+DLHqNxKuyO 8Zk= In-Reply-To: <20231109052820.2129745-1-sivaprasad.tummala@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0074.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1e::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_|MW3PR12MB4362:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e7b227d-041b-4f1c-bc1e-08dbeb4dc06c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 60infKEDP9OaDeSRE38r/mgAlWHDsWf8BPILmlgUMolpYhpatXyiuVh3JZQ3PCgidskThIjUUFxuocipTytH8GpQilVBSnD7MA/JHOu4qsJpGZ+Hfk/LgtYmvvgwHA1JGfr5fzvQ+Sz7cM32ppzHj0zM15r5qoseInAwTZA7dheHq0zFM6xRKOb+vgBhg2lagKsIpwuVEpv/TCYpvf9jlsm/ccj8+Xxz+fSDFj0nRIvNvOjsH7Bmv39JpAbxtXUIUEWc+0rs+F/LjfnZoRfSBPKfxuNQ47nTx0FCYh5yK+ibDS0/5K3Oxrwwy65qPBuwzn2mcr1AI/SZ97zDgbtNfu+mNoHUXkExO3CzfCP6X6cQp93m5XLo45/MCq5wNygm+1oKA4xnisLOm9vfS/q4A5dIb3mC54YYUoywnSSE4AzSAeDo1eHQXOHL2o9wbyLZMr5p+23z2RAUs3tl+qOdgIZ9boJiPx/hJtU4+aSAd4DFfugaQk/RKgt9nd90TwgObGroX5O5rN3JepBd4no23Lx69cCPF3vsURmxyGhhGqumdCU8hHPaQZdwvGQ9bY9iObclJObyhLKipzEI9CZGXpP+eJn4xz5FXyXJIAHOaGHxAdBcU59AK272+Zq1rlCyWcJyfdoFXEpWfqunaC/mUw== 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)(366004)(396003)(39860400002)(376002)(346002)(136003)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(31686004)(2906002)(44832011)(8936002)(4326008)(41300700001)(8676002)(5660300002)(316002)(66556008)(66946007)(66476007)(36756003)(86362001)(53546011)(966005)(26005)(6512007)(6666004)(2616005)(478600001)(83380400001)(6506007)(6486002)(38100700002)(31696002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ODRmY0lLbDRWd2RId2hlRG80bEF4N3htZzZSN1orckhtMzUzTVhnNVVJWS9H?= =?utf-8?B?Vi9vZzhWZklYZTBHRGJRbjVmRC81Ry9zNW1xdEE2YUI1UkRmTVJEZ2svQ1hG?= =?utf-8?B?NjZhaVc5N1JFN21LMVBLaFVVK1JLeDNqdW5TaWVlWlZuSERqQnFlSDIvVGpm?= =?utf-8?B?SUsyKzRuMnl0NjVsRjNReWVsSFdBUHVMdDVtOEhhdkpYMEZreFRFNy9rM2k2?= =?utf-8?B?aGpQZDF6bkVzN1g1SVp6RG9odkxvYmdMQnIyZTFpVkhiYzgrZVVUNFZNclhn?= =?utf-8?B?MFVIb0VVd2FNN0cyZ1d1b0tJNmpnU1hhYXJVQ1RvZkcxaVFpc0g1NnQvREs0?= =?utf-8?B?YVcwZ0c0K0toR1JaZGlYL3Rud0hhS2UweDlWQng5RGJjNGpYL0pQSGNjUm90?= =?utf-8?B?NlhPNGMyR1E5VTRSNStIT2NrMHVNUVhIQVhwWitWTU5aYmhKZ1NEWnRlZXNV?= =?utf-8?B?ajZwWWMweHplZ3NNY3N5K3BDN0Fvd3U0aUxUamNXVG4xeXg5am1WL0xibWp4?= =?utf-8?B?aStp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?utf-8?B?eU1HbzVpM3IrWFBuVkFia1doMUczeGx5MG02Z0pKUnYweWdpNWJmVTdjb1li?= =?utf-8?B?aTNETCtIenZFc2dEM3pqZytqL0tVb0NWTnRjT0RhT2FDRTEyaVRLUHRFY0Rn?= =?utf-8?B?cGJ3ZEpyMUdCdlFyR3lybVhXdUZGbEVBTmsyVzdENFNuWWcyQnNlYzk1TlIw?= =?utf-8?B?alVkOTZiN3FmaGtvOUNjS0NwVVpkdURFYldFT0lLdHdJaTB5aHZ5UWNMUTZK?= =?utf-8?B?WHFxNndZZWNESWdVd1VqeHZPRnVjWVFGeTZQMGh0aUh1ay9IMkV3TUVLYTNa?= =?utf-8?B?MTlnN3BzY2VsM3BURVJpTFNnVWNrSmNNa21iRkp2eERkMVBYVnR5SXQrSkY4?= =?utf-8?B?b0tVOEZPL29NRHVaU3lMUEovcHh6VWV1c0xhN0x1dU5kL3RSREdqM1F6RGRq?= =?utf-8?B?N3I5ZEd6L0J6aFJqVEl1elhXYk8vb1BaSzJFZFdZU3IwNXY2VEdsdUtVUE9m?= =?utf-8?B?ZkNXNnpHbUxVcC80Um92eGtmK2IxNEVVbWE3WkdVOHRVZExYdkRiNzdrS2pM?= =?utf-8?B?RXA3bnZtRGE0SDFvL3pqUnE5NHpLRmNNWnJlNGhYejlpSE00QnBSTDF2aWwv?= =?utf-8?B?QmVFQmJTY09rdWt2SFR4N1pheFNpWWZIamJTU3k4N2dISlRjMXVNa3dPc3pp?= =?utf-8?Q?BAu0=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e7b227d-041b-4f1c-bc1e-08dbeb4dc06c X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2023 11:25:37.8879 (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: 6RW4HSYhYAzWhNIKTDHFh5eizPi7FG97zVjpwt17Q8jpieHmoXftZ6/OhU7bsTeZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4362 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 11/9/2023 5:28 AM, Sivaprasad Tummala wrote: > Current get_tsc_freq_arch() implementation is specific for > Intel processors. > > Added vendor checks to gracefully return on AMD EPYC processors. > Hi Siva, Is this fixing an issue in AMD platform, if so can you please describe the impact of the issue and add fixes tag? > Signed-off-by: Sivaprasad Tummala > --- > lib/eal/x86/rte_cycles.c | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/lib/eal/x86/rte_cycles.c b/lib/eal/x86/rte_cycles.c > index 69ed59b4f0..f147a5231d 100644 > --- a/lib/eal/x86/rte_cycles.c > +++ b/lib/eal/x86/rte_cycles.c > @@ -10,6 +10,10 @@ > #include > #endif > > +#define x86_vendor_amd(t1, t2, t3) \ > + ((t1 == 0x68747541) && /* htuA */ \ > + (t2 == 0x444d4163) && /* DMAc */ \ > + (t3 == 0x69746e65)) /* itne */ > > #include "eal_private.h" > > @@ -110,6 +114,18 @@ get_tsc_freq_arch(void) > uint8_t mult, model; > int32_t ret; > > +#ifdef RTE_TOOLCHAIN_MSVC > + __cpuid(cpuinfo, 0); > We already discussed in the past to abstract the cpuid(), even David sent a patch for it [1]. If this is customer facing issue, OK to get it as it is for the release, but in long term I think better idea to switch to abstract. [1] https://patchwork.dpdk.org/project/dpdk/list/?series=29605&state=* > + a = cpuinfo[0]; > + b = cpuinfo[1]; > + c = cpuinfo[2]; > + d = cpuinfo[3]; > +#else > + __cpuid(0, a, b, c, d); > +#endif > + if (x86_vendor_amd(b, c, d)) > + return 0; > + > /* > * Time Stamp Counter and Nominal Core Crystal Clock > * Information Leaf