Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1936355rbb; Tue, 27 Feb 2024 06:04:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU0F56Q2XWBJktlU6urITZI2FtgBv+VGFnR5YhPT/ZRlJ47Yoc85f2uQVzvCjTgefKDam7N8ua0NUlq4kupAJ5rmva6rZhcbUET2L8jsg== X-Google-Smtp-Source: AGHT+IGrZZNAB7uWHhGaJpWfQI3oOq6Iphvl+dUQ/xgcv47T6GlgB9fr0gapjN7jfkJROd3CdajT X-Received: by 2002:a25:29c2:0:b0:dc6:d7b6:cce9 with SMTP id p185-20020a2529c2000000b00dc6d7b6cce9mr2651530ybp.57.1709042691663; Tue, 27 Feb 2024 06:04:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709042691; cv=pass; d=google.com; s=arc-20160816; b=IgXBjWVLXV5TintcTu+ZKnnL7/b23WvTr3D0Z07O5E751A+8dm/1EfmMTDA5ru6Hge 1xasEhUw1WpJoztz7jFdDmNyqAxGm69qD2b0isYrfioba2TB8WQqblRMP0PGaooDsFrx HwaxQAF2TfgwsyxlTD6GnhGXeOABCB093wl6tSfpl16Uh+mAQu1Cfm4AuA1Qc85+RyIl c2G2HGFHWB1lB+Ukw2/zFAit12K0kD6ooG283Co9d9gZSTnE3hgl4nF6q/EBVQ+LxF5U 7H/8DekgCjAYuCwoOslnhdfkBSN9Y4s3WczlNllXEVowb4sSksHTp2BiWs62TRd0wzvL f26A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=rojNcnfF9kJd7NdnnPnr+a5n3516+iqDUSRCgYKDbiQ=; fh=1awGoXFQD/jPtnlqeOMVpXuOLzyNIUCdaHPFNO/p69Y=; b=lv5jT84l1N6NA215FScvFS76fxfi2m+I1soOzP16z3KFgPxUWN4n2aGUsIkqPPKpNW HbVBwLqNJhMlqZqu5z1IeS9ghLY5fAgYgEKbNUtFFxmK/hFIkUKzXlPFRtgufuxsDHAY E4iYOfu0J/Y4FiLOkz8hwAWNW6pghAmnOto+cv1quE8etePu7Deg1AbpGXJcgLtrcV9q oPHxa0M55WB7aG7ztcLPJVROUSmQLuEImSrc2XiO220+lOgye/HYbvXTOSAiSrhAZ9rO 8blNjy2KMOohHieAUKWws4sI/1XiKjIMj6Is3Owdj0IFxAZUWYQnN+1x2MfZXV55xIBi kIDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=jP7HXWZ1; arc=pass (i=1 spf=pass spfdomain=marvell.com dkim=pass dkdomain=marvell.com dmarc=pass fromdomain=marvell.com); spf=pass (google.com: domain of linux-kernel+bounces-83366-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83366-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p205-20020a8198d6000000b0060789ba6c75si2476398ywg.52.2024.02.27.06.04.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:04:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83366-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=jP7HXWZ1; arc=pass (i=1 spf=pass spfdomain=marvell.com dkim=pass dkdomain=marvell.com dmarc=pass fromdomain=marvell.com); spf=pass (google.com: domain of linux-kernel+bounces-83366-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83366-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5CC661C217AA for ; Tue, 27 Feb 2024 14:04:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C523713EFF4; Tue, 27 Feb 2024 14:04:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marvell.com header.i=@marvell.com header.b="jP7HXWZ1" Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76B9C13B2BA for ; Tue, 27 Feb 2024 14:04:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.148.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709042685; cv=none; b=j7ka0DslwE98/gg5XODrOBAxqiP2EtIePtSRoC80QYAjQ1ZyCC7P1WCnsfCmDBBhbhbDEOqe3Xlb94nMqq2noxDPEyD7tu3rMFj9RSwFkMkMkq8+kctoC1hZbg7I1bdV9vA+SD4x0IwQLxaLqW9DhB41RAGEdLWaU5IXSYRbcYs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709042685; c=relaxed/simple; bh=3Q+lbP9fpfOK+r0+ltKIMrTUg5KwkTJ8OyUxh867q+E=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=UBkzL82KgyHy3FJYgDend1DhLXw5ZgHeVw/cFgk+juP+QuFQUQ/XQfVA91Sh9MwvvpI8lOd9JqoEUePev5GB4T+NbGu8wEnjTaJ+fH8Lk9FYmHLyCDPQmwO+m9dfw6bBLpUGr0IrSyRTF3UTN2UoUb84vMm7vyM3qwbBVzciPRM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com; spf=pass smtp.mailfrom=marvell.com; dkim=pass (2048-bit key) header.d=marvell.com header.i=@marvell.com header.b=jP7HXWZ1; arc=none smtp.client-ip=67.231.148.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marvell.com Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41R7naY0028471; Tue, 27 Feb 2024 06:04:31 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=pfpt0220; bh=rojNcnfF 9kJd7NdnnPnr+a5n3516+iqDUSRCgYKDbiQ=; b=jP7HXWZ1sy174BVMyYAyGyGm q+lQX/Z4Rbq/azUjZ9vzz1prFisFR22FsgwQORwxJdzqVWmPJFhxhQyNGNqx9gOJ QMEi38RXseHC1kESVzDHOiCVFg0RN4Jdb4umHWlropxP2Rbzh6SyrYq+pQ5Fac3I CCPrZpvajHlcotalKZh+sLj+/bgHmozPqh1mTvnV40KAMR2YDdq9Jn2GqNgHKZj1 8fx5lwBPYZBtTd238D35+ub4uH44PSZnwMe6coGDZQJ+OkdoBLW/bF5ut4+gldxe 5quMJYjSfEwD/uvt19gSFFA3/14n8/ECtT6WqoIpY//PZb+ssqGgFZVpezOQBg== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3whbpe0xgb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Feb 2024 06:04:31 -0800 (PST) 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.1258.12; Tue, 27 Feb 2024 06:04:30 -0800 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.1258.12 via Frontend Transport; Tue, 27 Feb 2024 06:04:30 -0800 Received: from IPBU-BLR-SERVER1.marvell.com (IPBU-BLR-SERVER1.marvell.com [10.28.8.41]) by maili.marvell.com (Postfix) with ESMTP id EF4CC3F712E; Tue, 27 Feb 2024 06:04:27 -0800 (PST) From: Gowthami Thiagarajan To: , , , CC: , , , Gowthami Thiagarajan Subject: [PATCH v4 0/3] Marvell Odyssey uncore performance monitor support Date: Tue, 27 Feb 2024 19:34:22 +0530 Message-ID: <20240227140425.3418814-1-gthiagarajan@marvell.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: hXX9Xp2x5RJu1LtnKdCWpNZvF_UwbOv_ X-Proofpoint-ORIG-GUID: hXX9Xp2x5RJu1LtnKdCWpNZvF_UwbOv_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-26_11,2024-02-27_01,2023-05-22_02 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. v3->v4: - Refactored the existing ddr pmu driver to extract the platform data 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 | 528 +++++++++++++++++++++++---- drivers/perf/marvell_cn10k_tad_pmu.c | 62 +++- 2 files changed, 515 insertions(+), 75 deletions(-) -- 2.25.1