Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932835AbdGTF5S (ORCPT ); Thu, 20 Jul 2017 01:57:18 -0400 Received: from mail-bn3nam01on0064.outbound.protection.outlook.com ([104.47.33.64]:30944 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934153AbdGTF5I (ORCPT ); Thu, 20 Jul 2017 01:57:08 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=cavium.com; From: Ganapatrao Kulkarni To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Will.Deacon@arm.com, catalin.marinas@arm.com, mark.rutland@arm.com, acme@kernel.org, alexander.shishkin@linux.intel.com, peterz@infradead.org, mingo@redhat.com, jnair@caviumnetworks.com, zhangshaokun@hisilicon.com, Robert.Richter@cavium.com, gpkulkarni@gmail.com Subject: [PATCH v4 4/4] perf vendor events arm64: Add ThunderX2 implementation defined pmu core events Date: Thu, 20 Jul 2017 11:26:08 +0530 Message-Id: <20170720055608.5333-5-ganapatrao.kulkarni@cavium.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170720055608.5333-1-ganapatrao.kulkarni@cavium.com> References: <20170720055608.5333-1-ganapatrao.kulkarni@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0044.INDPRD01.PROD.OUTLOOK.COM (10.174.214.30) To CY1PR07MB2571.namprd07.prod.outlook.com (10.167.16.26) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: add73500-efec-47b5-73b1-08d4cf342715 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CY1PR07MB2571; X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2571;3:2zl82efn+lFrD2tM/0uRWyImiLsSPy+FVLpN8MxdEV3/gaffeSQ0CtUOQrQmF9gicHeTpugihGb62CGMYO0/HG37RCP7rI6tVuy+BkqdjvKf4BOB+Jxb78lQ3XPyzjYJwszUOgeUflYWr86bh9EZFaGKjFu897s3czehNN+GeB5CLbNLzlyksVMCRM4H8Poqr/8Te/LEns1FKmrjdp/WyVzZaMuQSaNLJyFLmxLgkqvNKwqeK9V+F02ltBqVfNtqu+a61g/7sJ0x2xWLw1VVftvKQ7ua9ydWN1UGU/S/epGQk4vtOXA8Jkn24UHWqra/w+xkb0bD99dBMk2OZgpOiHGv3AQUi7ZHifVFBbCzEuHiCE9893XLjtPpvxNV+zGkW6V4EmQ0pKFoD700tyxl8lH3hZjgGiUFqcYJu727DbhfKyq95jdZw7GM5ftGlM0UEbAj0QxNOCjXq2QWzZwWXUkAOwFZ8ZGGyISTaH0ydW5GjyZGX9jRGy29M526jHWAR+Apjj5ibj4b3teZvPoa0PtZcqRRN76QUuEkBwoBQ+nWgG63tIHQPkzz5XDM291ntOh8DzR+EYMfMNFaNJnVPS0DzrSoERE52pDlGCGBwnKqJJZ1BrDB6896Ca31Ffgz4yfjlhM+87h1l1dwAQDq9EFtMev1kDaJ+hNHhmxM7HdkqF7hvdrzD2xtOzH275n+03ja0q0lPTcn+GNRdFMmczCE4y3au14OY+v5brAedDs= X-MS-TrafficTypeDiagnostic: CY1PR07MB2571: X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2571;25:5lFlUzlEN+CrwN4glmJiFOIKIjm6EZJgc/4MuSL5sHe9CFu78wphXtGrXoOtAUm/grtr3gZkCBCxFTbnISoWuFPdlJR3lRhBPG+5HmanQSurmcQeG7wQA/3KS+QBnCOFvvzyPmQqhkf1s3/OzTaVT0LjJ2prEApI7pj9nmhu3AyENdh/1nuqH6b6U9FF+K+oxoR4bUbzk+kdOjxnWXdNXXG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+jCjOr9e09P39R5Jgve+ThPC9X2GdnuDKl0pGrVkI6xGa6D5GCTjlxC2gDJ3t2RFX+QqnpSyZn6O9Byq5BQRSeB1orU5K1ON+UXoXxBvxoVBBj9uTBBjIW3Nn31c6YvLm8CR5Cu4/HshzzmA1w01TkNpstAeVlr0W45HrqXLA0NOI89aeuRneLBwQmeRlQ9I/TQq37pI95xPUnWDUkkZFJTMZGZSGWzboOk759JdU/MIkhacBziz/eu/27HR07sl4hSeErIaWm+Nhl02zTDHUmVXX77UoE6S87WqaH5HotFeK6yy61bgyD8xLrR2n2PoyW04nPIb+szYpv/xrSQ1sYRpvj2ihFPA4lipVaF5I= X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2571;20:tmPp1J5awOaJIV4xZWKeE6aizx0HW8hkt647AiS08lwu4DMFWH1KbUjMPLJr8MJsCm3syRAWJ/9DcKjCMH8u4XA//piEZo/vLPM4Gnr32zd+BEVSe5KchzA65tLiqgjJ35dR8GdL29o6PizBlU2jlo9SFOCqRamNylxQ+VNuHcrO22HWuUqEY1EamB2RsJ7AyhRobZRArK9b9tXZUNr2VOrfWzB/cXOXZ0dz2IheFK9cqiJce7MH7dmrok9qprewk1wTNfba9cqIDwxPBkEU6wZTZuwJy9QFxbwpzzlSPT2Zz+rb3F2QjyTOu6eaVdzTMon6/HQXEywOuMrmWOChOembVdZflm5JKwK+jx9FnVa5HD8VN4oGHus/5m6hatOoJ0TC4I8EnbvCJeAIxTSatBUv5lK4j64EnbFv7TqIivp8xxknT8TC8Fny8xy6DeXusmyfZCFFt4K/u4VXa7Rdz+mMl0RCUwYOye4Ua4bxMBQ/TtzKlc1brkRKkppxME3K X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(148574349560750); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123564025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR07MB2571;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR07MB2571; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2571;4:TFwBh+0UzDZ7ggNPVlUBgZTMTRTdawRoy1ifUdbaMD?= =?us-ascii?Q?nMBLReKw9oNdvDJMwqojRTJgz8ZwUSeeZUir9xz34uiC9OxIDN+8KlAxWI4W?= =?us-ascii?Q?12g8BJKe/CYKkzQ2av1EKn5RwJ5z6K+HeJgh0ISWw/6m2j3aS92owNge1gy2?= =?us-ascii?Q?W43OgGcFXJr1pzO2j3PvsKe2cWLgDZ83OIcqF4aQT6Zbvw9SyRrWRftnXjES?= =?us-ascii?Q?ev01E0Rubtmah+AreNCyFmOZUvGwxBXA66sTvewUVECPP9OPRxLsPetk0H5s?= =?us-ascii?Q?zeqcE73m6GcttRHs+TrawusQqUa4mAFexjYqVloy/n3XIIFa4ntedVFbZNlV?= =?us-ascii?Q?BCs9vRksJRGhw/5glZKCStj0N/2yW4EBN6jCSHwHOqxaH98B305W8t8yf3oX?= =?us-ascii?Q?tCOinHjf5QB7XK9CqghHNP6Sy3r7yUZttWrXi9/3TLDIMaHv5orA6FeCpQKn?= =?us-ascii?Q?Adjz9mf7hp3gQ4aveO8fQommDTTplYlxivoQsTWyL/Ny7bBgL5IoHhTW784L?= =?us-ascii?Q?/1TvCkkg8EdMWB86GzXSPGfikQSp2D0uTvZWzhIWgRj16Uy5mkKZ5+p+5sxu?= =?us-ascii?Q?/KBKEiTVY7gHqbHJt/brWMwHp7zrvYggHohn3zRBS4PucwG+am1h+1Q2zjqY?= =?us-ascii?Q?HntnJZVJ0i02nu4csaF6rTDnQm6i0qdYIeDt7wBXVHAzysnFnYuOppN0kg5Y?= =?us-ascii?Q?7tI7b4TrZtKDscQyOuOY5SuK/a9IfHBqEsdxXyfLLcZnpQW5jhUVhWeaswye?= =?us-ascii?Q?4QJe0QfsjOQh9I352bs9s8vOCQ7QklE9Ey5Ffph5ZmljmNwZx5I7zNCpx815?= =?us-ascii?Q?CRxv8Tfn4sxZxibRPC/Z7a6+6U2IcpA/1VOQ3uMJbKTm3yRM69VaDl8DfiLJ?= =?us-ascii?Q?DA2i5TTbEvaS8tXwLhZzli9w/qpjQK0M1TttvYluDwFXKLWx3R+3f3y4URSu?= =?us-ascii?Q?4M9ai/I0kflrp9GNE9mq6v9mottLBHz51lAigobRtW9BZsEprfY1g3WCNqwJ?= =?us-ascii?Q?7MrTcAxTO6DHmbk9LJb8lzvn3STUz8sM+SGmV5qWEAYQNyT49xp+5cnrSNYq?= =?us-ascii?Q?GtLS9oyEumT+KFZl8L52fvn8+oqa+lkEEkY4w/uxe5wNsfOcAseGa/VETnLE?= =?us-ascii?Q?GMa/xtRIe0ZF75J83OCxfjr6EU2OazLodKvt4cfso/JBhHIVFIttOGRHbp2W?= =?us-ascii?Q?2+QvFA/d/PE9FITcgd+chwKBrdgfVPhEgPlT3zZb76h3Hsov2A+fS0QbSQXp?= =?us-ascii?Q?iZJpjjX0KgrMNCMSs=3D?= X-Forefront-PRVS: 0374433C81 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(7370300001)(4630300001)(6009001)(39450400003)(39840400002)(39860400002)(39400400002)(39410400002)(39850400002)(8676002)(53416004)(478600001)(72206003)(189998001)(7736002)(4326008)(50466002)(53936002)(48376002)(305945005)(6506006)(2906002)(5003940100001)(6486002)(76176999)(50986999)(66066001)(5009440100003)(50226002)(25786009)(1076002)(110136004)(2950100002)(81166006)(38730400002)(47776003)(42186005)(36756003)(6512007)(86362001)(3846002)(7416002)(33646002)(7350300001)(5660300001)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR07MB2571;H:mypc.caveonetworks.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2571;23:lUITGUqoxtIaieaVj6kfI2n24yY3UKyqsYq+zpplK?= =?us-ascii?Q?qBPr3+xHJ8PGEoXzRhAzaEKxZYF7g/hnWAowelSmog0DDejihCPxJPgpCemc?= =?us-ascii?Q?cJPRmoC7O9L9/33YaeJibgIpncN5AzPGKt4klBCtPK8IMGnXGkd7DdXogqC9?= =?us-ascii?Q?4Jxz6LSz3/CFreBe/kkdkDZSTs6mOnkpuj2FMk6v75pr88iXIAveILZIyova?= =?us-ascii?Q?a7f/Ak3BmbWZcXx7QdQxW5c2lfRZ92FAzndcZcHHIXJ7qJBXaAcj0Qom7mzJ?= =?us-ascii?Q?khcJJ8lQZo4v/eyPv6Pfl0+VwqNp9z/xEK6LAk0M6CdjcTF4FW6GO399IhAO?= =?us-ascii?Q?rLt9Py7HwZLEPLHiYomom6Etn9fEGSJPQiJlxmp8K2FxbYeAIMMJIdst94Lo?= =?us-ascii?Q?flgaFw2sG0tvj6VUuJu1MKAjOy5WIKoV5JHyowWvqnYBhUXEMtmmxc7ljoBD?= =?us-ascii?Q?Q0/tNIRDaAGZFt0plpscCmHhHC1g1iAhrZIEWk/Wpk/njtRWjaXPwPGnwcVA?= =?us-ascii?Q?LSVrfxq64mQEIOr71e5aEj7yA8lD3hwu/Vy/HDfWGU7AOqIX6UtmP/3gUt/y?= =?us-ascii?Q?xHO/LhTE54/55zJPtDVofmlDs4e6ymXuG9jYgxqQXSZsAgndmii7u7ToLeFr?= =?us-ascii?Q?vy1IpYFJe22B5w6QtTM0AEWI39xTeZ2kv/evfsbe/22K/pkH0tbk2RcrRWEH?= =?us-ascii?Q?9tS3CJjj2+o0cYkh4twn2kfVbkk1CYMx/Gq2ta+2m+BCTSReYpIqyXBOuXEd?= =?us-ascii?Q?BA1ABM0fqOCe9A5TKbdC0g+bt5eFVl+1qBoMYbmo8YpUE6yzCHoq1etVFBgI?= =?us-ascii?Q?pSoSYKwJJpNPoXbpe0xGCZw8K+TkkjIpi0lZUJFpM3aLmHlv7YdLtsKnzVFq?= =?us-ascii?Q?z+g7aBzjD4tN2Q3vKH6fIF3/YtEYI634RUN6Imgwor8g99NpMCV6M22JlIqR?= =?us-ascii?Q?lk4nKhwMUmuHSBX/v8JbEXJ4ruU1RrA5WnaZmmd5yqpJkB2+mcFRPu6CWOPy?= =?us-ascii?Q?AKJkPPB/vhEdVDwkTmnQ8uNkqBBY4JaMbp1YrUA1lT7isq/eF84EibiQ+Aop?= =?us-ascii?Q?F6kqx4000LvlzDyBfqeWVMrWlK4NRamwuHUedxuM+NbeCDCbSLCXtJXI4NRR?= =?us-ascii?Q?KtQZ5r/YXwioa6FhgpbDoq7O5mscffmwMoFjUDCxE76sYS5wgDbj0Gu7x3ok?= =?us-ascii?Q?RnIS1HDH/SCBn8=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2571;6:OALjSfUOKXM+GWqdlAHp5FsojNqfOuy/OcB9h+2edh?= =?us-ascii?Q?WElJiawrKHwkVcAZtz94eYtDy+8+ciZRp61hk5wA9+5LJzPyC7wIrfHBgrSq?= =?us-ascii?Q?5IOmiOUkmouem3oCLwZ7tiC9PTjqVPoMLLFEDv6xldM7tcG0KI0v91w2IABc?= =?us-ascii?Q?6Ae5+CeFdUpddw6SUQOWvLmu+5bTf8aIzHfrT86eRTFZOjjV8Xl/b7nSrcP4?= =?us-ascii?Q?v6BW3nQXQA/12P06u+mwa97qx7TXXcKWwhYBQa2cYurLErGgkAKWpsKyQQXC?= =?us-ascii?Q?HeWu4caLIRxzOC6v62dzUq+521fyetBosPpcgWHx1aa98Q/jIPpO+9fBYHEp?= =?us-ascii?Q?0/ygYDdqa15p5LvczaFVz653zmFbSTmaLyf0wUSTkvggkObumDMAEJCprKq2?= =?us-ascii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eavgSGJxicHg0YjO8c7Oy8x6Ri/buoX62Iqi6cY1QQAP8TiNGH5xYlSWvos3uA/YQ3gT6/3/nEQ/vWIfWy+7o7PY2G0dBTacyDdmw8/Kbar5FoSK9IDGeI6qB58WBYSeM= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2017 05:57:02.5486 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2571 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3552 Lines: 101 This is not a full event list, but a short list of useful events. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/pmu-events/arch/arm64/mapfile.csv | 15 ++++++ .../arm64/thunderx2/implementation-defined.json | 62 ++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 tools/perf/pmu-events/arch/arm64/mapfile.csv create mode 100644 tools/perf/pmu-events/arch/arm64/thunderx2/implementation-defined.json diff --git a/tools/perf/pmu-events/arch/arm64/mapfile.csv b/tools/perf/pmu-events/arch/arm64/mapfile.csv new file mode 100644 index 0000000..7167086 --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/mapfile.csv @@ -0,0 +1,15 @@ +# Format: +# MIDR,Version,JSON/file/pathname,Type +# +# where +# MIDR Processor version +# Variant[23:20] and Revision [3:0] should be zero. +# Version could be used to track version of of JSON file +# but currently unused. +# JSON/file/pathname is the path to JSON file, relative +# to tools/perf/pmu-events/arch/arm64/. +# Type is core, uncore etc +# +# +#Family-model,Version,Filename,EventType +0x00000000420f5160,v1,thunderx2,core diff --git a/tools/perf/pmu-events/arch/arm64/thunderx2/implementation-defined.json b/tools/perf/pmu-events/arch/arm64/thunderx2/implementation-defined.json new file mode 100644 index 0000000..2db45c4 --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/thunderx2/implementation-defined.json @@ -0,0 +1,62 @@ +[ + { + "PublicDescription": "Attributable Level 1 data cache access, read", + "EventCode": "0x40", + "EventName": "l1d_cache_rd", + "BriefDescription": "L1D cache read", + }, + { + "PublicDescription": "Attributable Level 1 data cache access, write ", + "EventCode": "0x41", + "EventName": "l1d_cache_wr", + "BriefDescription": "L1D cache write", + }, + { + "PublicDescription": "Attributable Level 1 data cache refill, read", + "EventCode": "0x42", + "EventName": "l1d_cache_refill_rd", + "BriefDescription": "L1D cache refill read", + }, + { + "PublicDescription": "Attributable Level 1 data cache refill, write", + "EventCode": "0x43", + "EventName": "l1d_cache_refill_wr", + "BriefDescription": "L1D refill write", + }, + { + "PublicDescription": "Attributable Level 1 data TLB refill, read", + "EventCode": "0x4C", + "EventName": "l1d_tlb_refill_rd", + "BriefDescription": "L1D tlb refill read", + }, + { + "PublicDescription": "Attributable Level 1 data TLB refill, write", + "EventCode": "0x4D", + "EventName": "l1d_tlb_refill_wr", + "BriefDescription": "L1D tlb refill write", + }, + { + "PublicDescription": "Attributable Level 1 data or unified TLB access, read", + "EventCode": "0x4E", + "EventName": "l1d_tlb_rd", + "BriefDescription": "L1D tlb read", + }, + { + "PublicDescription": "Attributable Level 1 data or unified TLB access, write", + "EventCode": "0x4F", + "EventName": "l1d_tlb_wr", + "BriefDescription": "L1D tlb write", + }, + { + "PublicDescription": "Bus access read", + "EventCode": "0x60", + "EventName": "bus_access_rd", + "BriefDescription": "Bus access read", + }, + { + "PublicDescription": "Bus access write", + "EventCode": "0x61", + "EventName": "bus_access_wr", + "BriefDescription": "Bus access write", + } +] -- 2.9.4