Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1476125ybi; Wed, 17 Jul 2019 16:10:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4cxF1ZfnKJFZ4EfYYgnZQyUPyQjBzjDeeR5W1NcwHQDrdTaNc+OlShpYulnCvCMyV4vxo X-Received: by 2002:a17:902:7281:: with SMTP id d1mr45527805pll.329.1563405007723; Wed, 17 Jul 2019 16:10:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563405007; cv=none; d=google.com; s=arc-20160816; b=UfH6lskZP8C5z1+Y0e3VzY44HCdQKddXDyrrmFxjsNsG0yHGUSqI/YO0Zvy/NkTQBr yAkj4KgHkG0AI9jBCwGXSOj93C0qzkxfXUP56DBS4HGxASc6ZnxMsaiKGDHHcItknZ2L bDrQ+QB/zRceTJAu9zCV147LJjCuoXikkwT5sa4meslOQt5vWGiBDsQ4sFck/0s4lqdB LQCcRIn+5LK3NoMGMv/Cs81cWc3EeDidXtlwq97vGmIg5/LnGyi27HDo0HOlZ+Ox+nlB c9xjUYvaCSPYkSRM0zodSaTfA0ZR+Pc01bsD9rLAPqn8g8PrMzAaztks5KHZyM7vNSzW kjGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:dkim-signature:dkim-filter; bh=UnaH6g2tkvPcWPqL0mvgI6QMu4mEzJT1U0EWB4bMM2M=; b=KfMXRrMjirdvFzIw/EU+3zn+CFB/ekfAUPBcpUtgjkr0qWL9m44Fq0Pd6ORHZCluIN KNrmSD6ZiJDuiG+iW/w7ppdR81LIB+QNcNV96USccuQxsWv2jSUqpwG2Cz9lNlJOMOYH Ww1dERdSShXIC1I+qcI0Ls4UCaoeW1kFZ1sIM6tzjzTLYUIsLlR5qKS56CyBhN28CYZZ h5e//5dzGYDcqLsVZiHBaRWMN1uXD6IQ9/p6uHyx4pL5VyNj3fSNQhdWJICleRuehJLP HsxniMXgeD6SKGdsmiKXMHefzjcF8zzmYCdCEOjMeVTsnqm9CCUSV98BaMxiWyO//9LZ LeMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2019061801 header.b=vug504LS; 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=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s9si23618870plr.146.2019.07.17.16.09.51; Wed, 17 Jul 2019 16:10:07 -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=@zytor.com header.s=2019061801 header.b=vug504LS; 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=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731389AbfGQXH6 (ORCPT + 99 others); Wed, 17 Jul 2019 19:07:58 -0400 Received: from terminus.zytor.com ([198.137.202.136]:60261 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727769AbfGQXH6 (ORCPT ); Wed, 17 Jul 2019 19:07:58 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x6HN7kxZ1726022 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 17 Jul 2019 16:07:46 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x6HN7kxZ1726022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019061801; t=1563404867; bh=UnaH6g2tkvPcWPqL0mvgI6QMu4mEzJT1U0EWB4bMM2M=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=vug504LSdu9fhlHRJXfgVZBt+RzvsGLNIR2ZHF3zErHGdYVjA/g4xNliqxvH6mqbs YdEuwrdGUYcUbBvehr1GtzdSWlTcdCimSqTxf4Vtlab4g4UPkQf7WbximiwFHSH4hN +OxLu32zbYD7zu2jkO9TcSzB1wyjYZAUUlK8s6zxoWDUX8wUWmt+28M2C+9Z6/L5cL l3Rmew1tp7JipkMgUdFZ5T05dfWUoG/DSzKa+3q1dMMw+8JSNHZB2dL0hmdQFGG4ai pqCK145jfzpLz2e0QDuNFsBpZnoA7bvWjv6Ek4nqfhFM4kiWGGUaUlAtl972i186V6 /NBBuHK1R5G1A== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x6HN7jCh1726016; Wed, 17 Jul 2019 16:07:45 -0700 Date: Wed, 17 Jul 2019 16:07:45 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Thomas Richter Message-ID: Cc: heiko.carstens@de.ibm.com, mingo@kernel.org, hpa@zytor.com, acme@redhat.com, tglx@linutronix.de, brueckner@linux.ibm.com, linux-kernel@vger.kernel.org, tmricht@linux.ibm.com, gor@linux.ibm.com Reply-To: mingo@kernel.org, heiko.carstens@de.ibm.com, acme@redhat.com, hpa@zytor.com, brueckner@linux.ibm.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, tmricht@linux.ibm.com, gor@linux.ibm.com In-Reply-To: <20190712123113.100882-1-tmricht@linux.ibm.com> References: <20190712123113.100882-1-tmricht@linux.ibm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf vendor events s390: Add JSON files for machine type 8561 Git-Commit-ID: 6e67d77d673d785631b0c52314b60d3c68ebe809 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_48_96,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU, DKIM_VALID_EF autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 6e67d77d673d785631b0c52314b60d3c68ebe809 Gitweb: https://git.kernel.org/tip/6e67d77d673d785631b0c52314b60d3c68ebe809 Author: Thomas Richter AuthorDate: Fri, 12 Jul 2019 14:31:13 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Jul 2019 13:51:59 -0300 perf vendor events s390: Add JSON files for machine type 8561 Add CPU measurement counter facility event description files (JSON) for IBM machine types 8561 and 8562. Signed-off-by: Thomas Richter Reviewed-by: Vasily Gorbik Cc: Heiko Carstens Cc: Hendrik Brueckner Link: http://lkml.kernel.org/r/20190712123113.100882-1-tmricht@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- .../arch/s390/{cf_z14 => cf_m8561}/basic.json | 0 .../arch/s390/{cf_z10 => cf_m8561}/crypto.json | 0 .../pmu-events/arch/s390/cf_m8561/crypto6.json | 30 ++++++++++++++++++++++ .../arch/s390/{cf_z14 => cf_m8561}/extended.json | 2 +- tools/perf/pmu-events/arch/s390/mapfile.csv | 1 + 5 files changed, 32 insertions(+), 1 deletion(-) diff --git a/tools/perf/pmu-events/arch/s390/cf_z14/basic.json b/tools/perf/pmu-events/arch/s390/cf_m8561/basic.json similarity index 100% copy from tools/perf/pmu-events/arch/s390/cf_z14/basic.json copy to tools/perf/pmu-events/arch/s390/cf_m8561/basic.json diff --git a/tools/perf/pmu-events/arch/s390/cf_z10/crypto.json b/tools/perf/pmu-events/arch/s390/cf_m8561/crypto.json similarity index 100% copy from tools/perf/pmu-events/arch/s390/cf_z10/crypto.json copy to tools/perf/pmu-events/arch/s390/cf_m8561/crypto.json diff --git a/tools/perf/pmu-events/arch/s390/cf_m8561/crypto6.json b/tools/perf/pmu-events/arch/s390/cf_m8561/crypto6.json new file mode 100644 index 000000000000..5e36bc2468d0 --- /dev/null +++ b/tools/perf/pmu-events/arch/s390/cf_m8561/crypto6.json @@ -0,0 +1,30 @@ +[ + { + "Unit": "CPU-M-CF", + "EventCode": "80", + "EventName": "ECC_FUNCTION_COUNT", + "BriefDescription": "ECC Function Count", + "PublicDescription": "Long ECC function Count" + }, + { + "Unit": "CPU-M-CF", + "EventCode": "81", + "EventName": "ECC_CYCLES_COUNT", + "BriefDescription": "ECC Cycles Count", + "PublicDescription": "Long ECC Function cycles count" + }, + { + "Unit": "CPU-M-CF", + "EventCode": "82", + "EventName": "ECC_BLOCKED_FUNCTION_COUNT", + "BriefDescription": "Ecc Blocked Function Count", + "PublicDescription": "Long ECC blocked function count" + }, + { + "Unit": "CPU-M-CF", + "EventCode": "83", + "EventName": "ECC_BLOCKED_CYCLES_COUNT", + "BriefDescription": "ECC Blocked Cycles Count", + "PublicDescription": "Long ECC blocked cycles count" + }, +] diff --git a/tools/perf/pmu-events/arch/s390/cf_z14/extended.json b/tools/perf/pmu-events/arch/s390/cf_m8561/extended.json similarity index 98% copy from tools/perf/pmu-events/arch/s390/cf_z14/extended.json copy to tools/perf/pmu-events/arch/s390/cf_m8561/extended.json index 68618152ea2c..89e070727e1b 100644 --- a/tools/perf/pmu-events/arch/s390/cf_z14/extended.json +++ b/tools/perf/pmu-events/arch/s390/cf_m8561/extended.json @@ -4,7 +4,7 @@ "EventCode": "128", "EventName": "L1D_RO_EXCL_WRITES", "BriefDescription": "L1D Read-only Exclusive Writes", - "PublicDescription": "L1D_RO_EXCL_WRITES A directory write to the Level-1 Data cache where the line was originally in a Read-Only state in the cache but has been updated to be in the Exclusive state that allows stores to the cache line" + "PublicDescription": "A directory write to the Level-1 Data cache where the line was originally in a Read-Only state in the cache but has been updated to be in the Exclusive state that allows stores to the cache line" }, { "Unit": "CPU-M-CF", diff --git a/tools/perf/pmu-events/arch/s390/mapfile.csv b/tools/perf/pmu-events/arch/s390/mapfile.csv index 78bcf7f8e206..bd3fc577139c 100644 --- a/tools/perf/pmu-events/arch/s390/mapfile.csv +++ b/tools/perf/pmu-events/arch/s390/mapfile.csv @@ -4,3 +4,4 @@ Family-model,Version,Filename,EventType ^IBM.282[78].*[13]\.[1-5].[[:xdigit:]]+$,1,cf_zec12,core ^IBM.296[45].*[13]\.[1-5].[[:xdigit:]]+$,1,cf_z13,core ^IBM.390[67].*[13]\.[1-5].[[:xdigit:]]+$,3,cf_z14,core +^IBM.856[12].*3\.6.[[:xdigit:]]+$,3,cf_m8561,core