Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4953856imm; Tue, 31 Jul 2018 03:04:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfw0Ao7+Wm5d6n2Mj1uzWH3T4EEqPj4lOolKCpnn3SwNeFoHki1Aj3WVHhoujtFh2y8Zr1N X-Received: by 2002:a62:4909:: with SMTP id w9-v6mr21804705pfa.154.1533031497822; Tue, 31 Jul 2018 03:04:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533031497; cv=none; d=google.com; s=arc-20160816; b=KaPjNG7I5xyiIoAh8xgokQPVbla3HfQfnTeXtMXDph/Fl6tv0ti1seWRFl4ZYMwZv6 YEBDQC4OObQVkpwXttP5/Q8S9+zVTjcaBxc0MtrUcGU5R6b8UgVP1KDHcz3SwgYCeYB+ Kc1EvbyhObD+u+H9KF8J2ui6737SpPIBk/O0ZqzaWkXcPjWQCRIWzDvRNeJEXG551Z9i W7qSB4zKGGhJ6j1nlhAhfxxNB7W4sCVykguWIdYJDaIb7pm4q8WQIS3xl1LcYQl7a5NI Gw9RbCAEKMQH0W8eMfR8bvo/ArOQghDPnLeYROTaJGxSLeNX0oxVEQ6girl1vk5ot8X8 YrFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=ah900ZJto+VHAnRcXT5QLB7FNUeiikk4Va+HPMQ8f1k=; b=Xh8NoPRIIcnv2G/uPTM0SZ7DHRbt2+W3oBCccTWvZyJPTVSyp2iFT0+bLGWHOYMKNy rOt7a9lcsdThKuVMWF2W2Xib+Cad0u0a+QIQcrrq47QvY8+nEHmEhIV8H/ojIO15Dwjr Zthh+2wIHXi7xjNJddN2P30XBcdf2FqLStP5hOnveWqI8F1IyQgQlFOAkvaFwYExMn+P oTlP15eNiq4M3PsbF6YuMDST9u6eLf7E3EOjcjKUfySoc0xbhFEnQTWm1dKbW1LAS7am MFoOUg+DoO/uyya2QKP3Ih9Cs6s0Fg3gYucZm4MZGay7maXGiE+39E4kq2UYzcbl0Drt 8WYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=Twa+YwBr; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v40-v6si2484290plg.124.2018.07.31.03.04.43; Tue, 31 Jul 2018 03:04: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=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=Twa+YwBr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731953AbeGaLnQ (ORCPT + 99 others); Tue, 31 Jul 2018 07:43:16 -0400 Received: from mail-sn1nam01on0072.outbound.protection.outlook.com ([104.47.32.72]:19632 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731511AbeGaLnQ (ORCPT ); Tue, 31 Jul 2018 07:43:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ah900ZJto+VHAnRcXT5QLB7FNUeiikk4Va+HPMQ8f1k=; b=Twa+YwBrZ30cCqYpJSxaZjgsKvbgptacDrB9WhRJcZWUzA0NwNm4vrwFGkpK5h2rbm5OV2I9nrvVYkQa5U5mW+WAP9j6SuVW1apXLTp/Z+mcfV69B8Q54bo9WJDqJwbmUlXZZeqZq/RsrTrbSueTe3+V/CbqVcW++VFj2GWRA9Y= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ganapatrao.Kulkarni@cavium.com; Received: from mypc.cavium.com.com (111.93.218.67) by DM6PR07MB5308.namprd07.prod.outlook.com (2603:10b6:5:45::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.4; Tue, 31 Jul 2018 10:03:20 +0000 From: Ganapatrao Kulkarni To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: acme@kernel.org, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, peterz@infradead.org, mingo@redhat.com, Will.Deacon@arm.com, mark.rutland@arm.com, jnair@caviumnetworks.com, Robert.Richter@cavium.com, Vadim.Lomovtsev@cavium.com, Jan.Glauber@cavium.com, gklkml16@gmail.com Subject: [PATCH] perf vendor events arm64: Update ThunderX2 implementation defined pmu core events Date: Tue, 31 Jul 2018 15:32:51 +0530 Message-Id: <20180731100251.23575-1-ganapatrao.kulkarni@cavium.com> X-Mailer: git-send-email 2.9.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: CY4PR14CA0032.namprd14.prod.outlook.com (2603:10b6:903:101::18) To DM6PR07MB5308.namprd07.prod.outlook.com (2603:10b6:5:45::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 62c66bc3-92c5-4838-cfbc-08d5f6ccdaa9 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:DM6PR07MB5308;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XfhwbphWxpH4QFHHjo899ot8+mmILK4TPN3a7S1/NmUNncUnwpEuQmwJKU1W86WbVcGbk5vyPMvGTq79lAX4EtrEgijIJuemNFKmmrO9MfCOb33kDxgfTrZxMoE1nzkS8viySQNd54TynPFSDJ9jAjttGEExhs+vDzQLCiKwM0JPWJq/Gz75xH/73IXIxR4+bPsODM686WwL/JjP+sF/6LKs4abtLk2W4Ehtc5PM1jjYH2yrIocNi1gmUJg7K3+N5NX4Wp0O2VRiRJMgso//c9FIoXnNYiU7qDICbtBKguQvYHaCp/jDwwPIa2O/DQxEVqzMo+rnJKrhmXRoA60TknHqUtxM7vN4b4YHSSdTP5ZORasREOWNUX7dBr+GhdYdJ9AUoua;4:hDdJj/Od8qnr+E3f7NOJaPZBQ6GrbodSrUbl3a53pWWW3qw47Nk70/h83mLbdErlWlN9atpLsUD1hFjwNMCyg/Ub7oFOrxp+EfNc9ni8yGCU+Xko6a7Gh9sfcRgKfkqJj6wywwTD8L6tKbPXgn8B2IMgkmpphhuj+FrMq9jrRWIFxSf7eL6a4wEtRLot9WyhN+KBDNE3F/oWsLxtdyNY+MoBXviOHqcKef32aJmEFTXcfx+jASQ4jLhM6m1buO8Qya/QQ5qqo5uOkzJmpcxiVw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:DM6PR07MB5308;BCL:0;PCL:0;RULEID:;SRVR:DM6PR07MB5308; X-Forefront-PRVS: 0750463DC9 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(346002)(396003)(376002)(366004)(136003)(39860400002)(189003)(199004)(2906002)(476003)(68736007)(50226002)(486006)(72206003)(44832011)(305945005)(6486002)(6666003)(66066001)(5660300001)(956004)(8676002)(81166006)(1076002)(47776003)(50466002)(6116002)(2616005)(478600001)(5009440100003)(3846002)(7736002)(52116002)(26005)(97736004)(86362001)(7696005)(7416002)(53936002)(106356001)(51416003)(25786009)(105586002)(14444005)(48376002)(39060400002)(316002)(16586007)(186003)(16526019)(4326008)(6512007)(8936002)(81156014)(386003)(36756003)(1857600001)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR07MB5308;H:mypc.cavium.com.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM6PR07MB5308;23:61zsgaw/fT0RwGfuTVM5fUJ2c++Z6b4K+edeV43VB?= =?us-ascii?Q?0U4uscBwRGHe9vGyG3eQjJtIApuaORg1A/3Udf6GfX65A9gx23YFL0vqonjG?= =?us-ascii?Q?VJ88d2fCfSTFQe+UTeYVhPyDtoH5dCpBhliBkZeqhBygnGHM+tLxt9W522rh?= =?us-ascii?Q?ukfVllRD7mep+8T7jLBf6UUzIXByBOpcDr6tiOlWSVG3XzG6/C1ZBHD9V+Tk?= =?us-ascii?Q?FjXH3K23exNNKjYFqIr4FjQGw8aqm8FYbWbEtB3wkpXT/Hejkc0dzmcyOVc8?= =?us-ascii?Q?9uh0IOW4p70xLCKQDL6iYZJ1wYsSwhx+DgCzOpidi59zL94JpiQgV0mhCsEM?= =?us-ascii?Q?BlJ7QeirM0zgsEso7M7WQQ8YT0Qm7VN+GID2aDvbf4D7jViETwwyTqhI75dV?= =?us-ascii?Q?wnlXkGj+f2n4DGQ50O/9DvQG4RFicudvexzgJ3HQEtRFhYNvEl0fl+P0f4Xe?= =?us-ascii?Q?47DMtioSuyruHIEvT7WXKNYiwaXIeH5d0oWRO4I/W+AHRQH+AlwtbjfFvowg?= =?us-ascii?Q?E4c594K2Pp4N/a4IsNxKBaGSexOrfV1K2omD76wM8qBQn2azCu2UxmRXolaE?= =?us-ascii?Q?PQevndr2MJhB1Bg9y5ZixvDGRho/A66uq/yVTx8gSrJLDfN0q60CbHIrwtuE?= =?us-ascii?Q?DykEXsVNwVQmxgiR7QEiwOsgCqYr8bgXIYkrOYl2V4zbBTI6ZHe14gS17ltk?= =?us-ascii?Q?6L3uJ8kc18vvujhfhDZIvzn6h1/c/GAsKtwxIODImhlxjC2D5cZisxcN3Jvt?= =?us-ascii?Q?i+9oeMpSb5SSFaZxm/Qg7E8v/9GJcZt7O55vK27qB1sUZKu6IY7aVmT8ZTxJ?= =?us-ascii?Q?y/FdCBKtZmw5Azs7ev9GAy5OsHGDqZgRrxlFpKOMOllh8pYh16f4DsjMW3YF?= =?us-ascii?Q?cvvB+odd73yUOWSX3ayQ97zVnlBYrsQO5fV/L4Yl4OZRk29LUPKjuHGfSGVt?= =?us-ascii?Q?ynl0IehzEErcCUyCBqzke3Du9Y9AKHVWWISZZvRnYzPAOTsUKo0cfEqje5B9?= =?us-ascii?Q?uwWiAwXM5/z3yNY8ekcIPBBbxK4AwYK4vBgm0IM0gNTvLhirAYuEex57ao4f?= =?us-ascii?Q?4y/+cNcEWotNDtKHtG4Thpnh94tpT0zj6zJlqiQDjs/veJ9A2GB5/+OH/lih?= =?us-ascii?Q?/15+HvgDXrx0fnO4axguvWzZpE7zfDpLZaKhXNm8k2igDXVKoHixpICxkgd+?= =?us-ascii?Q?gNVERIcx6nEk70L4wL7cDyftJQrJvVHQtBaPgJwA4sStpCJPAjl2jGBKDtzS?= =?us-ascii?Q?GwqGP2e6lVYayQq0H20VlNLziatZ2de4uqWgr6o4C5v7QOHynAtZRXYRGUHq?= =?us-ascii?B?Zz09?= X-Microsoft-Antispam-Message-Info: pDwt/HWqctxfuTlj5IKGq+oyRo+TYoVFVrmUneusaWjvl3BonGQSRkJLMigDVtgEvb9Lbqtrw0xwOIO4ns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eYf84vCmVu0G5MN+8W5ofnAc7Cm1a9naQkre/hcRQcARBu04woXihj0I/Bp8aIW9YIUi4K+3QGGnOaQfVM7n3r6EtlSAXwcNJ14/EZsTHvt1WViJ92K1HxjRmCLtBwCGzm SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2018 10:03:20.2545 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 62c66bc3-92c5-4838-cfbc-08d5f6ccdaa9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB5308 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Ganapatrao Kulkarni --- .../arch/arm64/cavium/thunderx2/core-imp-def.json | 87 +++++++++++++++++++++- 1 file changed, 84 insertions(+), 3 deletions(-) diff --git a/tools/perf/pmu-events/arch/arm64/cavium/thunderx2/core-imp-def.json b/tools/perf/pmu-events/arch/arm64/cavium/thunderx2/core-imp-def.json index bc03c06..752e47e 100644 --- a/tools/perf/pmu-events/arch/arm64/cavium/thunderx2/core-imp-def.json +++ b/tools/perf/pmu-events/arch/arm64/cavium/thunderx2/core-imp-def.json @@ -12,6 +12,21 @@ "ArchStdEvent": "L1D_CACHE_REFILL_WR", }, { + "ArchStdEvent": "L1D_CACHE_REFILL_INNER", + }, + { + "ArchStdEvent": "L1D_CACHE_REFILL_OUTER", + }, + { + "ArchStdEvent": "L1D_CACHE_WB_VICTIM", + }, + { + "ArchStdEvent": "L1D_CACHE_WB_CLEAN", + }, + { + "ArchStdEvent": "L1D_CACHE_INVAL", + }, + { "ArchStdEvent": "L1D_TLB_REFILL_RD", }, { @@ -24,9 +39,75 @@ "ArchStdEvent": "L1D_TLB_WR", }, { + "ArchStdEvent": "L2D_TLB_REFILL_RD", + }, + { + "ArchStdEvent": "L2D_TLB_REFILL_WR", + }, + { + "ArchStdEvent": "L2D_TLB_RD", + }, + { + "ArchStdEvent": "L2D_TLB_WR", + }, + { "ArchStdEvent": "BUS_ACCESS_RD", - }, - { + }, + { "ArchStdEvent": "BUS_ACCESS_WR", - } + }, + { + "ArchStdEvent": "MEM_ACCESS_RD", + }, + { + "ArchStdEvent": "MEM_ACCESS_WR", + }, + { + "ArchStdEvent": "UNALIGNED_LD_SPEC", + }, + { + "ArchStdEvent": "UNALIGNED_ST_SPEC", + }, + { + "ArchStdEvent": "UNALIGNED_LDST_SPEC", + }, + { + "ArchStdEvent": "EXC_UNDEF", + }, + { + "ArchStdEvent": "EXC_SVC", + }, + { + "ArchStdEvent": "EXC_PABORT", + }, + { + "ArchStdEvent": "EXC_DABORT", + }, + { + "ArchStdEvent": "EXC_IRQ", + }, + { + "ArchStdEvent": "EXC_FIQ", + }, + { + "ArchStdEvent": "EXC_SMC", + }, + { + "ArchStdEvent": "EXC_HVC", + }, + { + "ArchStdEvent": "EXC_TRAP_PABORT", + }, + { + "ArchStdEvent": "EXC_TRAP_DABORT", + }, + { + "ArchStdEvent": "EXC_TRAP_OTHER", + }, + { + "ArchStdEvent": "EXC_TRAP_IRQ", + }, + { + "ArchStdEvent": "EXC_TRAP_FIQ", + } ] -- 2.9.4