Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11769102rwl; Tue, 3 Jan 2023 04:35:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXtQe6RZDbrZgjSXbuawZtfghhRtQND4Z/TfuDDtSpJ1+auXzxlP0C1VzeceNzIAhcTUyEji X-Received: by 2002:a17:906:656:b0:7ee:1596:4b6 with SMTP id t22-20020a170906065600b007ee159604b6mr36569673ejb.59.1672749321535; Tue, 03 Jan 2023 04:35:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672749321; cv=pass; d=google.com; s=arc-20160816; b=y/sQrDDZNFkPMI6lVXMMjOGDV48xqGpuU+cRifFbaeqIb8i5Xims9kwjEEYspeyXVP GEaCKCdTbh305L833EiIsvCVfY3R2jLkmfml2Cd9WomnqwwXjBeBE17jQz8UMjo201vc oDKBp7RpS2osjNaUaRD7U4Vjiq9rFVooVZviZTJQth5/GH/38+G+rEHhJthm5xHqVMjN eeLlCfCw93EW45HJTwttPfmKCUQ93qXSuXexyNVkfjKXmTbK6q4xK/eiWI9TjIeeQ/PP F5TEDxILazQPOCKGpE4wOyakZ8INrdotoye2oqMKPy3JutQZWaKK1Z2PNCbJC7QTIjO2 HjiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:organization:from:content-language:references:cc:to :subject:user-agent:date:message-id:dkim-signature:dkim-signature; bh=BAfUCK9yGE9d8Z61WCgPOIouGfaJpHEf3LWuOdZXvDU=; b=TlUVXntRT30ZQGwiBGEhzsySU9Sotb6MT3T/ZqjZuPN4NsYzWQpm6mDQrhAQY5Mc01 N4kON0gyWVFp7Ia8/0g6zlKAtRm1PSHLBz/lKtkHbIGYpb0HkeKbRCLziy0eOzF6N8Ox tKRafkCA/6Cn8Fm8htLHqYZwSilb+FAlRWgUnUJZVwbxIwQ/Rjw3zsQhj6GQj+F4I5BE gd5LkizcNl5w17xzAZbWsslSNVMiNQgYjHZSZWLQYNQ8OJw+UdLc+SnxEwtaYqSClgjH ayq7jVp+KmeV/viVxyxifrpnYiFCt5wwfMLZoRJa/BAN6kTiiVF30EJJwA+eqdP6/aaw ku/w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=mnch3Eku; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=xtcZ69CJ; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xd1-20020a170907078100b008327270a79dsi26392809ejb.423.2023.01.03.04.35.07; Tue, 03 Jan 2023 04:35:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=mnch3Eku; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=xtcZ69CJ; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230459AbjACLxW (ORCPT + 60 others); Tue, 3 Jan 2023 06:53:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236962AbjACLxT (ORCPT ); Tue, 3 Jan 2023 06:53:19 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D8DD6572; Tue, 3 Jan 2023 03:53:18 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 303BniEw005461; Tue, 3 Jan 2023 11:52:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=BAfUCK9yGE9d8Z61WCgPOIouGfaJpHEf3LWuOdZXvDU=; b=mnch3EkuY8agCUoHGzm8lb4cAD+EYrKP02RSjpE+K7MNyhPZMhPdeqpPDMftdp4K1tsH 3BmNAiAmMVN74ZUR2Jnr0vHuojAgfgVrfZd80zjIOsQK0KLaJU0Uh+vlVW9DXnjVEXXW HxegheRfJWic9/fsFi/6StpBdiwfKfQ7XF70SguWqcKf4W9jGXbq/SpH9EDlMmndi+L+ TXySIcrbLdUIon1SCG8f4XQCZhkYPgQ9iLCvCHluUzwxEwB8662Qp00jzQyxD43HBx/R VkPlkpLhTgLCVNUx8Y/fRqwoVrJZctD8WjOuNTg8tzzn50hspXV2w8LoxXpmqnwT/O95 vw== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3mtd4c3sx2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 03 Jan 2023 11:52:23 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 303ANsUP034059; Tue, 3 Jan 2023 11:52:22 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2168.outbound.protection.outlook.com [104.47.55.168]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3mtbh4qvu7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 03 Jan 2023 11:52:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WWAvFSVkWtMb8zCjw+mfZrj0E7eJAEahYFLtyG990dac6DLghxlmw0p4RsO67NrY+i88nZNrA4CcJ4XicyC5NPckToF0p7PZV1HhuGjskJBJBJEDvs3GfnTJ7CW4f6QK0Ofc2iSVSMEvIMxkpWy4h5AFPLq6QxsMeoJ1+gckcJ+TSXa8xnkVJr9T3tw2rkCtyaSMAO55HgbTKOs6ZV8Gq7IbVwp4F3rSr3VuW265VRfYFMJNVvNC/kZ8/GnELnR4MDC0N+E+iBbPSkaZ7SfbyaPX+zd7MtDluyy162EUyKoyosJHAqw2RXOqybH/mn0cqEyqx9Ldi1qisbtJmpfXIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BAfUCK9yGE9d8Z61WCgPOIouGfaJpHEf3LWuOdZXvDU=; b=hbCdWMZYZOM1wBseLvYKvrY0GquuR2707Zg+LsLqv7CSNnQmxXzez+aPEYhAW6XBgQyiy/eRlzQWLxetIitwzr4rAqPoOdfsEEuZiAEHZxVzNfsC9p0wSxYxhFTtj8hDLlAVETPcgaFenF14+NFZkQ6wOm9HT+fqTOI/EBsPOl5rMsttDtv/v8/CP/UY2ewS8uurN1EYY/jtu+EjJiujiO8gcAMv/U6TtC8Lyn6rAN5QJCjxVLwjLWG0thr+U2gFVorcoN4ujnk9/Mb3HWj7Cm9LWmgDPMfmtDLHXJ7M6e+rHzmMrQ8NoXmTz3DRDbQ1HKsBD8ccMhrLtbWNmm0oyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BAfUCK9yGE9d8Z61WCgPOIouGfaJpHEf3LWuOdZXvDU=; b=xtcZ69CJtzD9zx+LJFcutQWKIMBJ0XP6fCcB1kob1RVCFVEym+wTiU5sc6YJsfQpFheTAgG/E/8QMlHIh/FP1QlDH83zcKecINCgVbAG56yYxWI17w+5ivP5UPSe0E4TdsZjP8zSWkFYFgEiQ3FUhuxqb43pVZM2w+UnL0HV4Tc= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by DM6PR10MB4139.namprd10.prod.outlook.com (2603:10b6:5:21d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 11:52:19 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::1040:f0e3:c129:cff]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::1040:f0e3:c129:cff%7]) with mapi id 15.20.5944.019; Tue, 3 Jan 2023 11:52:19 +0000 Message-ID: <5c5716e5-b2ff-67cd-b608-4eeffa7e04bc@oracle.com> Date: Tue, 3 Jan 2023 11:52:12 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v5 1/6] perf vendor events arm64: Add topdown L1 metrics for neoverse-n2 To: Jing Zhang , Ian Rogers , Xing Zhengjun , Will Deacon , James Clark , Mike Leach , Leo Yan Cc: linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Andrew Kilroy , Shuai Xue , Zhuo Song References: <1672745976-2800146-1-git-send-email-renyu.zj@linux.alibaba.com> <1672745976-2800146-2-git-send-email-renyu.zj@linux.alibaba.com> Content-Language: en-US From: John Garry Organization: Oracle Corporation In-Reply-To: <1672745976-2800146-2-git-send-email-renyu.zj@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0233.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:b::29) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|DM6PR10MB4139:EE_ X-MS-Office365-Filtering-Correlation-Id: 302881e0-f2dc-44da-bcd1-08daed80f777 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z32biJKNooKWMC2/Hm+YN9rVDNaWqcCQLkjxFY8r3kpopH0DC1zle0jPIIRC2TAfxMDvEOmvHkuPlCE2TSPSFcqMcmHDj1W5GSDj6mvg5wPH/IQ7kbzTRfSZs7roufAlAYWo8OdwLWBQp/hqrsL3Ok7tLSuuvucZDbuz6+JGeSGCPImGNboZA8WbLqA5SBk2waDlJ4VVD5cMzXYm/bhcDIvbQrFzs//VqKHn33L0L5lF0uG1i6K2LjT7Yyeco3LadvhP8SAZ0+5iITYT462egLlo9pyrvHOYeRzb36Dfu0O91xzLWb7xO449KRfUutsF9Ho/s/bacp3hopZ/VD6dDN0OCpphVJ0Jgl/cFcDhXrEughh2OTCR77mwD9PKNDFAMv1ySruPZhLIH8+Wvi5JUnQHpsag9HJioU0sIouUj2uMSjs83vzdbsLvhA/csRw9+CktUybkxJsxKwQXeSLYqYHY4SEfNZ+wNxQ810yyWVSTRls5rlTxTFKZ+zbPTMKzj0Ps1Rs1ElEiU8iO6enzrPnKzvjOWYqFkXUdvvb/6jgr1xXgcHLFM8AXs2DCTVvBWKYpPUQEhxgIc9JimEzxh8tlQEMfdBU0KV2s76UVFO99jgswetAy2fvXt1C0QmqfaKgYW6tpZC9MQKwQgYVwIhPJ0V5jbQ9WBq49JQtCtbIyvZKNTqVfchaedj7dZ0WDhQWJKdCBl2BmMfuEHbb8CBAbIfZaFQfT5hMtJNmDBFqV+i0SRT4divQAV9Kq5yWWwa1GsHna8spZ8rnjI26SHQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB4313.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(136003)(39860400002)(376002)(366004)(346002)(396003)(451199015)(38100700002)(36756003)(31696002)(86362001)(6666004)(66946007)(66556008)(2616005)(53546011)(316002)(6506007)(66476007)(478600001)(36916002)(186003)(26005)(6512007)(6486002)(31686004)(110136005)(54906003)(2906002)(41300700001)(8676002)(8936002)(4326008)(4744005)(83380400001)(5660300002)(7416002)(22166006)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eTBMeGkyK3BBVkIyK2ZmYTZhd09DbkQxVFE0V3lNMmExV2tRdVZxQW90cStn?= =?utf-8?B?RjNrSEljdExZRXNJZER3dUhveGFUR3hmS05WS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5TnkySkplb0hzSERyZUU4b1pwaUZ0NmNEN2owN3ZObHRERlVQQm9PaEs4?= =?utf-8?B?czVQNzYwWXhtZ3JHNmxZUFZ0WjFHV054QUViVTE0emc1djJiSVJrZnE1aTRl?= =?utf-8?B?UUNyK3hNcDBFVVErczB3QnVwQ0N4UnJBNE9CejI4d0NWeEN5UCtnM08xZHZE?= =?utf-8?B?b25TVVJxYUxVUmE0WWZleTBEV0xMcXo0VEVQWHZPZWRHNzQ4NDFYcnk2VTBI?= =?utf-8?B?eFVUa0gyRGNyMmY1TGtLRXFCL25DRXlDR0xLVHVXSWt3VW9WM296bnJCaUFI?= =?utf-8?B?dkFwb0ZzR1BCUHVHMEhhdGF1QmxzTk9DbUZTQWVBM1AzVndHL04xTEhlekFG?= =?utf-8?B?UGozRXRkWElwOER6bjd4L3kzU29kUEE3VGFsd0NVVFJCQkJiQXVGeEIxVzBl?= =?utf-8?B?MjNJL3EvRGkyckhTUWFSN0hOT25aWGdzcmZ3b2pzTkprMFlFQ1lEZXlBS3ph?= =?utf-8?B?K1VOOGsxc1YyZWdnZkdnZTZXc1NZRWRiekVrakJSSmM4Z2tEVTUxTWJPUzRQ?= =?utf-8?Q?8fDwMJeKBaA=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 302881e0-f2dc-44da-bcd1-08daed80f777 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 11:52:19.1929 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9R6AFj79s6aI9MSyuE13qxtIohuUdbrQI3gKclWcxAd7hUn17qFP4JQ51Xr4pwHUA3Qq2ztVnLjYRAEDi3Qmvw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4139 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-03_02,2023-01-03_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301030103 X-Proofpoint-GUID: xGkS03vS12gEJaKRayBCLgCxdn8V40Zg X-Proofpoint-ORIG-GUID: xGkS03vS12gEJaKRayBCLgCxdn8V40Zg X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/01/2023 11:39, Jing Zhang wrote: > The formula of topdown L1 on neoverse-n2 is from ARM sbsa7.0 platform > design document [0], D37-38. I think that I mentioned this before - if the these metrics are coming from an sbsa doc, then they are standard. As such, we can make them "arch std events" and put them in a common json such as sbsa.json, so that other cores may reuse. You don't strictly have to do do this now, but it would be better. Thanks, John > > However, due to the wrong count of stall_slot and stall_slot_frontend on > neoverse-n2, the real stall_slot and real stall_slot_frontend need to > subtract cpu_cycles, so correct the expression of topdown metrics. > Reference from ARM neoverse-n2 errata notice [1], D117. > > Since neoverse-n2 does not yet support topdown L2, metricgroups such as > Cache, TLB, Branch, InstructionsMix, and PEutilization will be added to > further analysis of performance bottlenecks in the following patches. > Reference from ARM PMU guide [2][3].