From patchwork Mon Oct 21 13:37:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaldo Carvalho de Melo X-Patchwork-Id: 177087 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3438782ill; Mon, 21 Oct 2019 06:42:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIaILBHS8XYteNGcOyYHOmVzcFdg846CBlBxzDJK+O0FG9HNQRVMwNOtY+PiXbhX27u0cD X-Received: by 2002:a50:8f65:: with SMTP id 92mr25947903edy.9.1571665377119; Mon, 21 Oct 2019 06:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571665377; cv=none; d=google.com; s=arc-20160816; b=OIFvRVvXBFSH+PHeBF7DezSuzfM+nJ3pUvDcB/kheqB1l4b+DGWLGChEiyrdgqLyPV 7nAJgA00R7VwMFUchwnxpOHJxPrfCIBYblF+lVW+F9Gq0S91Ntb9Y2QXOBLPNkKtWB2b qMTGFrZDm2XiwC1LLsAMg1G+4moRnGqGcZ8qOZSGZ7Jhytqj7rhMdgekLwS8ONUAN2SZ qaNFf85SxRat4p7kZNTYRYS4lXVOhO4entYGp7n1CMplC2qam7mj7W1e07FaJLqdVkCW QNMli98a3OxlrGhDUfWsAF+HXkQjTWPMt42nuROdGJ+xjZNyby/nRmh0HM5Zrot/r6kd 4xSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OrGVqgsWAQtsdSpU5IuggY+a2E2MFlyW+pZ9GL2AEMI=; b=UWtENcsApmbpwpd+oJnJVEsmVcclnJ6Mgu1+qFxCB1ik8otpx5sVPLrCTByFf8tD4D XicTt7MBdBopGelVGnP30Ch4kAYoTWQWMa/fnyRIA0WaQoKdmwX3icOFLnSXfWxHBumH AAtsF+9m3mJKGR1u1QETurdEYl/GGRFouw4HCRW5wYlbgWzxbjEuhfid7xiHa2fmlJKg K/l/2/RtivtOZgxYzMLa0+FvFPyJsN+NT6jRnE/O94tnVGjYlVSRkjloEyes0ELSlrmr xKSjrmZJhG9o5JEwkPDf+Zg1uQvv1ZnCQkgx9i88dkR0u2AMZ8WONqtQmN0m8PZLRAKZ eHoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tr3KUjun; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1si8831256ejf.28.2019.10.21.06.42.56; Mon, 21 Oct 2019 06:42:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tr3KUjun; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729333AbfJUNmy (ORCPT + 26 others); Mon, 21 Oct 2019 09:42:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:41554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729351AbfJUNj4 (ORCPT ); Mon, 21 Oct 2019 09:39:56 -0400 Received: from quaco.ghostprotocols.net (unknown [179.97.35.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 612C721929; Mon, 21 Oct 2019 13:39:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571665195; bh=OJ45aNISZct2ZDJvxP7I899FNuLrsSm4dUJUusunFsM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tr3KUjunfENlxz7TuWlJloSyBHNZZMTdtBHzw3JxGNzXPcOTETQYAjEPPQLvAxw4C aBsWR9zybTn3VCHIALyJGtYMQCleUKWpGGpSaeIUUFuIvHfDnvvyfbq0vnajLaKVNW lAdlqDEuxhRwk9qMRo6a9w+O3kp8QZ1G/9ZNg0oU= From: Arnaldo Carvalho de Melo To: Ingo Molnar , Thomas Gleixner Cc: Jiri Olsa , Namhyung Kim , Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, John Garry , Shaokun Zhang , Alexander Shishkin , Jiri Olsa , Mark Rutland , Peter Zijlstra , Will Deacon , linuxarm@huawei.com, Arnaldo Carvalho de Melo Subject: [PATCH 22/57] perf vendor events arm64: Add some missing events for Hisi hip08 HHA PMU Date: Mon, 21 Oct 2019 10:37:59 -0300 Message-Id: <20191021133834.25998-23-acme@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191021133834.25998-1-acme@kernel.org> References: <20191021133834.25998-1-acme@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: John Garry Add some more missing events. A trivial typo is also fixed. Signed-off-by: John Garry Reviewed-by: Shaokun Zhang Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Will Deacon Cc: linuxarm@huawei.com Link: http://lore.kernel.org/lkml/1567612484-195727-5-git-send-email-john.garry@huawei.com Signed-off-by: Arnaldo Carvalho de Melo --- .../arm64/hisilicon/hip08/uncore-hha.json | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) -- 2.21.0 diff --git a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-hha.json b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-hha.json index 447d3064de90..3be418a248ea 100644 --- a/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-hha.json +++ b/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-hha.json @@ -20,6 +20,13 @@ "PublicDescription": "The number of all operations received by the HHA from another SCCL in this socket", "Unit": "hisi_sccl,hha", }, + { + "EventCode": "0x03", + "EventName": "uncore_hisi_hha.rx_ccix", + "BriefDescription": "Count of the number of operations that HHA has received from CCIX", + "PublicDescription": "Count of the number of operations that HHA has received from CCIX", + "Unit": "hisi_sccl,hha", + }, { "EventCode": "0x1c", "EventName": "uncore_hisi_hha.rd_ddr_64b", @@ -29,7 +36,7 @@ }, { "EventCode": "0x1d", - "EventName": "uncore_hisi_hha.wr_dr_64b", + "EventName": "uncore_hisi_hha.wr_ddr_64b", "BriefDescription": "The number of write operations sent by HHA to DDRC which size is 64 bytes", "PublicDescription": "The number of write operations sent by HHA to DDRC which size is 64 bytes", "Unit": "hisi_sccl,hha", @@ -48,4 +55,18 @@ "PublicDescription": "The number of write operations sent by HHA to DDRC which size is 128 bytes", "Unit": "hisi_sccl,hha", }, + { + "EventCode": "0x20", + "EventName": "uncore_hisi_hha.spill_num", + "BriefDescription": "Count of the number of spill operations that the HHA has sent", + "PublicDescription": "Count of the number of spill operations that the HHA has sent", + "Unit": "hisi_sccl,hha", + }, + { + "EventCode": "0x21", + "EventName": "uncore_hisi_hha.spill_success", + "BriefDescription": "Count of the number of successful spill operations that the HHA has sent", + "PublicDescription": "Count of the number of successful spill operations that the HHA has sent", + "Unit": "hisi_sccl,hha", + }, ]