From patchwork Thu Jun 20 13:12:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowthami Thiagarajan X-Patchwork-Id: 13705474 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 14FBDC27C79 for ; Thu, 20 Jun 2024 13:13:28 +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-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=OAkMbYlZ3HVuDROEb9uqOGwBlriAuNGM+bvkvRBxTIs=; b=zei4wkYgDta/2OKWOxNTj1Twz3 FIG3z4OHUFGxJeOnac1Qqs2pJ6Q+XQSBvPY3mmHTdhh790ebPV1tDyuv6A30khB6RJEz4G4oUULRD D0yFgz9mfwyxdHmINvUKnLjKZqOZfAm53JSbPzitE4bdlY1jw9XirYgcJ3tpt5FGYBZ2dGROc3Gn7 dnW91PLWfItBkUawF1a7Ib0KdGdBTqfvbSSM9JK93fKe+ijt5PpnVDz5lVsNOuhsvhu6rskyBrt97 EukJeEMF0eR8xynGdElWUB69Bg5OeZZt4+SfxkZgrpmU7QzevOgNJL/i4wuzJcLEGn032Yr498hKl CSY5dC/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKHbF-000000057Rp-2ozn; Thu, 20 Jun 2024 13:13:13 +0000 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174] helo=mx0b-0016f401.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKHbC-000000057Qx-2CtZ for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2024 13:13:11 +0000 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45KC5CF4014642; Thu, 20 Jun 2024 06:13:02 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=pfpt0220; bh=OAkMbYlZ3HVuDROEb9uqOGw BlriAuNGM+bvkvRBxTIs=; b=FNjMccZPwtGNxPAoCuG4rVnq6gdvDgmZEof3W/I K5Kz3Yb0JzsLKqIIcK2pMCn2aA0r10DsPBSBoJLE8KaZJ9GqFoLwxhRK4+mAi7kd t3NSphcd46urDblBpxPNwPUjtEmqHV9Zrm26rfPv8N5rAuHgCcc60NljrBRe0MQ5 ZNF4YnQazTB3Qwd3dlHTcp8Z3Sli/djujNu7oL6OHUv54O9DXmaRUNjTRfmCX93Y jX+nRhXS7WpsmqVNxTxmbsopR8PX5id/HBDtgtE26fveMrQOkXX7AquzvRGsrYnk TBeSuDVa7NNamgT9/7CJlXRz3fgm5JmwUH3WNpKm3QAaPfg== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3yvbdya518-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Jun 2024 06:13:02 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 20 Jun 2024 06:13:01 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Thu, 20 Jun 2024 06:13:01 -0700 Received: from IPBU-BLR-SERVER1.marvell.com (IPBU-BLR-SERVER1.marvell.com [10.28.8.41]) by maili.marvell.com (Postfix) with ESMTP id 8089D3F70C9; Thu, 20 Jun 2024 06:12:59 -0700 (PDT) From: Gowthami Thiagarajan To: , , CC: , , Gowthami Thiagarajan Subject: [PATCH v5 0/3] Marvell Odyssey uncore performance monitor support Date: Thu, 20 Jun 2024 18:42:53 +0530 Message-ID: <20240620131256.590903-1-gthiagarajan@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: vA_BB6_2SrmUgoBe5BFwy8dKGyP0Qb5W X-Proofpoint-GUID: vA_BB6_2SrmUgoBe5BFwy8dKGyP0Qb5W X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-20_07,2024-06-20_04,2024-05-17_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240620_061310_572047_1873CB74 X-CRM114-Status: UNSURE ( 8.44 ) 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 Odyssey is a 64 bit ARM based SoC with multiple performance monitor units for various blocks. This series of patches introduces support for uncore performance monitor units (PMUs) on the Marvell Odyssey platform. The PMUs covered in this series include the DDR PMU and LLC-TAD PMU. v4->v5: - Fixed warnings. Gowthami Thiagarajan (3): perf/marvell: Refactor to extract platform data - no functional change perf/marvell: perf/marvell: Odyssey DDR Performance monitor support perf/marvell : Odyssey LLC-TAD performance monitor support drivers/perf/marvell_cn10k_ddr_pmu.c | 530 +++++++++++++++++++++++---- drivers/perf/marvell_cn10k_tad_pmu.c | 66 +++- 2 files changed, 521 insertions(+), 75 deletions(-)