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 D1792A0C57; Mon, 1 Nov 2021 16:02:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8BAB410FF; Mon, 1 Nov 2021 16:02:49 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 3B20A410FB for ; Mon, 1 Nov 2021 16:02:48 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10154"; a="254634700" X-IronPort-AV: E=Sophos;i="5.87,199,1631602800"; d="scan'208";a="254634700" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 07:38:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,199,1631602800"; d="scan'208";a="531202723" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga001.jf.intel.com with ESMTP; 01 Nov 2021 07:38:22 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 1 Nov 2021 07:38:22 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 1 Nov 2021 07:38:21 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 1 Nov 2021 07:38:21 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 1 Nov 2021 07:38:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N0d532RPijwG2+uVuEbC2+ivtaF3neBlj2DjKh7v6TTlp0c2E+njLby6cuadaQJsvfYRq/gWPnvultggP6t6A8dXDyrV+noqPkHNFevdGemLt7KtEMj1Yqp2UhDohHf9b6/Phcaf4bxtzv1pbOy+WkULTTcDFUImP987gFCQlo8UIf/kztj1dtAgFFc9BwoZXHzMiQ0VbiR553OdtXp8gcqs4QEtNHYihCLLfK2El3AoEpAYUFD2yRelZ2wSNHk6pQpFJg1kPtHA4Z3/Pn0SUdDWbyJXdD/hJtALxt6jqkSU2D6pecBqiQCbE0QupYCHQzG0T8qHrsafx4bqI6eCDg== 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=gDgIjDhTv5N8IC/tEvh6Svi+q4x805r9a3ChtpYo30U=; b=MBnIRkruoIysMj5FiNmTCEPilgClr3hRf/1OjPZy5mr4Gt45JcPyxE8+H54k6In9+qb/NeQR/0qcpAUeyRP+ecyXpcewyiBsVnMpOUpRBSii8ej8dLQo0HBsE80brP8nvEKxU88oZemkcH1wr+xOObj1kBHI97b7YI6EIy5QcGxk/RZoiir0YSH7yVcR4dSjopF8tKThXZvDvXA77jBes6ddtFaWM3nfBATWGrusN79m4nZ1hediX1BuwJhqoe8ENRWx0GP+XrDNUyXTAhRbSLeL26L3kfgSTZrLh6GfviED64jgrM/5lZGFjlbw4aEmW9QzYEFkWxV/bFtJNqZEOA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gDgIjDhTv5N8IC/tEvh6Svi+q4x805r9a3ChtpYo30U=; b=QCXd2f+ZXuhe9aXwZD0B0y0gJsrwo7p6B4kzoyJUuNbWsgooIc025HJPUAZEDFkYU9fx8M+sS9DPypYHXeeR0V2DPuKxZb+RyxwUN8/7jno4GttLI+I1meP4OZwzcNk429wh9R++CkruqGbrSzgoZRfi+SvQOZq803lGVS475W4= Authentication-Results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH7PR11MB5862.namprd11.prod.outlook.com (2603:10b6:510:134::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Mon, 1 Nov 2021 14:38:20 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4649.019; Mon, 1 Nov 2021 14:38:20 +0000 Message-ID: <4832f0a8-67a4-ec48-30b6-01aa7d80ab1a@intel.com> Date: Mon, 1 Nov 2021 14:38:13 +0000 Content-Language: en-US To: Tomasz Duszynski , CC: , , Nithin Dabilpuram , Kiran Kumar K , "Sunil Kumar Kori" , Satha Rao , "Jakub Palider" References: <20211005074620.2224968-1-tduszynski@marvell.com> <20211022115625.1956708-1-tduszynski@marvell.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211022115625.1956708-1-tduszynski@marvell.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB9PR02CA0002.eurprd02.prod.outlook.com (2603:10a6:10:1d9::7) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB9PR02CA0002.eurprd02.prod.outlook.com (2603:10a6:10:1d9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Mon, 1 Nov 2021 14:38:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b5ffbf95-c738-4924-4509-08d99d453fd3 X-MS-TrafficTypeDiagnostic: PH7PR11MB5862: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3276; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /IJQN0aGNVQC5BBGPcCQEDl1fEvCMlMNwhNp87Xk+j2jGdbvYBjKta+oBB1i7isHBYQY7DgxXZgEQRii/Vsw8pLQcBU0yLqCSXYtpsB0otx8UKopMxEyjCFgC7Hmgy3JRKjy5RRhGd3II80t0S+mo6mVr7ry+HbNo5KQe8EhZ+TeNtmbOziHcF6HxKsBrNCOrt3GBKzYPdKH7pUiEO0ai/uGRXw25FI6p44HziDdA74nQ3Y2i49lX/l+sFDwb7CXvnrkaNbTnrhGXlvDlVOQ63pLuahI8ZtBvgdPS6hSS7uO9jS4ciA35TD75vXw/Sk1yCWmP0kxK+8t4VMPKgBiBxb9RT9T51kyS6vonmwl3J8XUdb5hQVKa6zXsiHQJgsV6cZRaLm00VVtQSvEpupJ+5pNgMe2+/N0kWrw8cEkTzBr5PbmAaF1j4eGCeYWAy3ehIFB4+Oe5s9idXOPQcWMmRjfSomnVH4ElsIn72rb8ATyeg57+EC/fpcgnH7Hq+C/TDhX8bgDhekwhzA+aFT26ReN0FXHp9A2L8UxOmu5ut72Co9ulM7lBv4MznKtUAsP0UOa9C70rPS726i5I/9dkyYXQPWVjtU6Uug4pgfsA10RYoyYBX/t07tYF+XbUlCcFUBGQjqVNfMu233ZGynGIPDuKqBTNxPMDSMBfnUSDf8JWV8zjb/Bz6OdzrzIp+727WRl9rqhD6KOkAx+/HIwWg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(5660300002)(8676002)(66946007)(4326008)(66556008)(4744005)(53546011)(38100700002)(26005)(36756003)(31696002)(31686004)(186003)(66476007)(54906003)(86362001)(8936002)(82960400001)(83380400001)(6666004)(16576012)(316002)(508600001)(44832011)(6486002)(2616005)(2906002)(956004)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NktvSVZ1SWl1L2xqb3B4djYvMUk1L1dtV2xpUHROZ2RHNW1jWDA1SnJLWTM1?= =?utf-8?B?M243ZkZRdTdaeExxRjlCZmI1UE5HblpCa01WdFFpOFBMNlhVRlA5bkoyMTdi?= =?utf-8?B?RDcybHZOclhwaUhmMGdPWDhKa1hxcHl3L2JEQmRoUjNjUG9JVVNCa1U2TVFE?= =?utf-8?B?dkdsem52Skx6QzJvKzJaSGZqS0ZzWGpSc0F4RkhuU3YxZ0hGMUplR0NONDVE?= =?utf-8?B?QVUvQzdyNGxQSXprdjc4TWpPdVNKdGdkSHVZWFMxSkJPMm1pMmhIN05zMVpN?= =?utf-8?B?TXJrUXhQSFh6ck5kclNWOEN2MWV1VWtyd1hSQWNCeTJiYUt2TFJiYl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aitxTFdNYld4Q1FzWE4rczBsZzI3THhKWlJISVJOUmkxQzdaUVVwa1BFS0oy?= =?utf-8?Q?H3c3xH1xB0y4jNcuC1cdQe8=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: b5ffbf95-c738-4924-4509-08d99d453fd3 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2021 14:38:20.2095 (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: qDKsbVpZcDSfQmk3jC1LK1sDciqC4AXDdKeG5Az9PyHAmorq91YuD8nhr1GqmAkiHYeYaeZ0qxPww69DIU+vug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5862 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] common/cnxk: support BPHY telemetry 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 Sender: "dev" On 10/22/2021 12:56 PM, Tomasz Duszynski wrote: > Add initial support for baseband telemetry. > > Signed-off-by: Tomasz Duszynski > --- > v2: > - make bphy telemetry available only on platforms supporting baseband > - use platform types where possible > - remove unused header > > drivers/common/cnxk/cnxk_telemetry_bphy.c | 52 +++++++++++++++++++++++ Since the telemetry support is for 'raw/cnxk_bphy', why it is implemented in common code, instead of driver? > drivers/common/cnxk/meson.build | 3 +- > drivers/common/cnxk/roc_model.h | 5 +++ > drivers/raw/cnxk_bphy/cnxk_bphy.c | 11 +++++ > drivers/raw/cnxk_bphy/cnxk_bphy_irq.h | 1 + > 5 files changed, 71 insertions(+), 1 deletion(-) > create mode 100644 drivers/common/cnxk/cnxk_telemetry_bphy.c