From patchwork Thu Jun 13 15:18:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jitendra Lanka X-Patchwork-Id: 1947465 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W0Qz90p26z23tw for ; Fri, 14 Jun 2024 01:18:28 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sHmDT-0002mZ-7Q; Thu, 13 Jun 2024 15:18:19 +0000 Received: from xvfrnhpk.outbound-mail.sendgrid.net ([168.245.32.49]) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sHmDR-0002lZ-6f for kernel-team@lists.ubuntu.com; Thu, 13 Jun 2024 15:18:17 +0000 Received: by recvd-f4c5b7f7d-vphn9 with SMTP id recvd-f4c5b7f7d-vphn9-1-666B0DB7-D 2024-06-13 15:18:15.190578619 +0000 UTC m=+166218.951798435 Received: from mtl123.mtl.labs.mlnx (unknown) by geopod-ismtpd-11 (SG) with ESMTP id fhoWudBRTmGPVsQ-6zcF_g Thu, 13 Jun 2024 15:18:14.949 +0000 (UTC) Received: from mtbu-labmailer.labs.mlnx ([10.15.2.12]) by mtl123.mtl.labs.mlnx (8.14.4/8.14.4) with ESMTP id 45DFIDjZ008384; Thu, 13 Jun 2024 18:18:13 +0300 Received: from bu-vnc02.mtbu.labs.mlnx (bu-vnc02.mtbu.labs.mlnx [10.15.2.65]) by mtbu-labmailer.labs.mlnx (8.14.4/8.14.4) with ESMTP id 45DFICTX015861; Thu, 13 Jun 2024 11:18:12 -0400 Received: (from jlanka@localhost) by bu-vnc02.mtbu.labs.mlnx (8.14.7/8.13.8/Submit) id 45DFIC38002113; Thu, 13 Jun 2024 11:18:12 -0400 From: Jitendra Lanka Subject: [SRU][J:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: mlxbf-ptm: use single SMC for total power Date: Thu, 13 Jun 2024 15:18:15 +0000 (UTC) Message-Id: X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-SG-EID: u001.akKQIQDWM5U912AaLWjaiQ2YhnQFpL6RWq6J9XYTDnMI42u/zNoTYZN0MH7JxElYL4QyfN1zX/Jv2oTrX2Xb64lkJ9yw+ixQBDXbqPngOTNXrhfyVIga4bezYNTifNdzML8N2kMUjK7W7MVqWsHQVcaFRSo4Lyq9cGZf8q2HfCkYDUVJhkLwzXbJlTsxkLOY377VHAqwEgjeUyFn2tcTZ/u9r5uHK/F9NKpL2e0J66ABIZiCEIV/CAEC8tiUhACd To: kernel-team@lists.ubuntu.com X-Entity-ID: u001.9Nu+sJkq3f0LJ/tZbyfOWA== Received-SPF: pass client-ip=168.245.32.49; envelope-from=bounces+3445690-1bdd-kernel-team=lists.ubuntu.com@sendgridstats.nvidia.com; helo=xvfrnhpk.outbound-mail.sendgrid.net X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: meriton@nvidia.com, khoav@nvidia.com Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2069303 SRU Justification: [Impact] mlxbf-ptm is a kernel driver that provides debufgs interface for system software to monitor Bluefield devices' power and thermal management parameters. [Fix] * This change adds performance improvements to total power reporting with a single secure monitor call. [Test Case] * After installing the kernel module, debugfs entry at /sys/kernel/debug/mlxbf-ptm will be created * monitors/status folder contains read-only parameters reported from the Bluefield device [Regression Potential] * Minimal - as these are read-only parameters that report Bluefield device information. [Other] * This code is likely to change depending on feedback we received from maintainers. Jitendra Lanka (1): UBUNTU: SAUCE: mlxbf-ptm: use single SMC for total power drivers/platform/mellanox/mlxbf-ptm.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) Acked-by: Bartlomiej Zolnierkiewicz Acked-by: Andrei Gherzan