From patchwork Mon Jul 1 14:28:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luke Parkin X-Patchwork-Id: 13718213 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A61A7C2BD09 for ; Mon, 1 Jul 2024 14:29:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=9h5I0O3kaz1LhgIl/JGDseBwKHZ4K3S5Et5omB0u3bQ=; b=tPoupepysW4+svxNws0miIYff5 9umqyQf363gZVhxI6nPw+q07SZEbe4W3xwwcXSWmjB151j5rP+GWf1XrxQ/HkPlVoojv/69Ecvpfg 8Jz6mD1wEXF5qPaP40ZVotFnIs5f3I2Y9Xor0kTWDaby0TXK71AdPSOSDDXsZLIYzNrss5D+ZdmMP 6G9wj8j+AGlBKTfTKl+nRKsUzrNVQ1UjxkD6Z0KTPnNI7kfU8zoRBbljCslpTzL5D2up6Bj6tGoRq v5X2KnqkqfE88Qm//ll/Uzf4TxzCCM+f8HbygiSqBWARUHhhRCUVpbYNGy1U6PkoGHhnOzQQkqxBQ WYFC8aGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOI29-00000003jQ9-3kkv; Mon, 01 Jul 2024 14:29:33 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOI1y-00000003jLI-1Htx for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2024 14:29:24 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D13DE339; Mon, 1 Jul 2024 07:29:43 -0700 (PDT) Received: from thinkcentre-m93p.cambridge.arm.com (thinkcentre-m93p.cambridge.arm.com [10.1.197.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0390A3F762; Mon, 1 Jul 2024 07:29:17 -0700 (PDT) From: Luke Parkin To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm-scmi@vger.kernel.org Cc: sudeep.holla@arm.com, cristian.marussi@arm.com, Luke Parkin Subject: [PATCH 0/3] Add Per-transport SCMI debug statistics Date: Mon, 1 Jul 2024 15:28:48 +0100 Message-Id: <20240701142851.1448515-1-luke.parkin@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240701_072922_415793_FFC0E086 X-CRM114-Status: UNSURE ( 8.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This series adds support for tracking Arm SCMI statistics, [Patch 2] A config option to enable this, [Patch 1] And in [Patch 3] a selection of new debugfs entries to present these statistics These statistics are per transport instance, and will be a helpful resource when debugging the SCMI and running tests. Based on v6.9, Tested on Arm Juno [1] Thanks, Luke [1]: https://www.arm.com/products/development-tools/development-boards/juno-arm-dev-platform Luke Parkin (3): Add Kconfig option for scmi debug statistics Track basic SCMI statistics Create debugfs files for statistics drivers/firmware/arm_scmi/Kconfig | 10 +++++ drivers/firmware/arm_scmi/driver.c | 61 +++++++++++++++++++++++++++++- 2 files changed, 69 insertions(+), 2 deletions(-)