Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp13569813rwl; Wed, 4 Jan 2023 09:54:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXuZpzQssvcGfRTy2iXoYIulWOm21doThwTqD1zX5jjSqW4IBSOT2q6qKDRGqp518Hh0tKxu X-Received: by 2002:a17:906:3ad7:b0:7c1:6e53:dd02 with SMTP id z23-20020a1709063ad700b007c16e53dd02mr47350202ejd.64.1672854865369; Wed, 04 Jan 2023 09:54:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672854865; cv=pass; d=google.com; s=arc-20160816; b=L6zY+F5Sb+OovxKUrMyTgbjE3gJlUk6GLRBQ/ZwkLO4KkYLfxcJw0V5N1PXnJvtwSi 1VA135FSXPtUGVBWxTK/kRQj9S1RQC9ZiptLmYF7HVXO5eK7w6xxPleKi8OZ23nz8g6T H4hcLX3mxEy9L0gDqVdnzrMfexXFpXNlT5VktpGDGD+EgtMzpOsASxP7lQO+9gXcx9/t Hdy1yt3j0g8fVlMQZkR2xIBTmkGj/DHRwQjE1pTXJXrGn/khS+cPX/SmKzvQcG1csUuP /QzaT7gc4PEn7I+k2MsXhgLSUz3qwemtShdCd5z9VEqfH1UUgaMlsoo71jSHBXBQkSs+ yBHA== 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=3GguwdnBiPRhJAjql3I6nyqieQoPoKL7T8jbGzS7N6Q=; b=OwGoephxh3e+JiEsIegN6vYTYrLX5vHqdVLm/HCwHYQxkasyfRdFqHWhr+RvqWElul 0cMIEUQHrjJDyygLSLQQTIUPVkICJnEmsZcMGb3yOurVAXhhI4Op7aXoKKt/BD1m/RgP ywPRlGv5MnZclEZv4GO8w3bzUvzH1MjyC8XKcdALCaWjTsk64Rl0k/fxfzkbOyUE16VJ 039yqsc6WpAMBJoQJXTqEY1MuqYC7rNv7N1Jm6i8uOuR47bQrf5QZPoyxmX1WWht6czg E6ex1XVu5XKUgFfZcrhC0ermMxl5L/mRQJt4mArxlj14cZlsnATehcruLmBPv1MGbMxk 5g0w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=i+SA6fYS; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=KObmh5gr; 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 o16-20020a170906975000b0084c83fd7847si19408499ejy.102.2023.01.04.09.54.12; Wed, 04 Jan 2023 09:54:25 -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=i+SA6fYS; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=KObmh5gr; 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 S235302AbjADR1E (ORCPT + 56 others); Wed, 4 Jan 2023 12:27:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240081AbjADR07 (ORCPT ); Wed, 4 Jan 2023 12:26:59 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FFF7F00E; Wed, 4 Jan 2023 09:26:57 -0800 (PST) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 304FOWqK013330; Wed, 4 Jan 2023 17:26:30 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=3GguwdnBiPRhJAjql3I6nyqieQoPoKL7T8jbGzS7N6Q=; b=i+SA6fYSPvoUFQOiCMXdfL5451cZF9J7Id/2qblhL5P6T7/CzwJYq4XKm1Qh75jbdOuf bZ7QoRz+W+TlDfOXc4NNcm89mTqwTY9SksgxC0FlVX0zN09xX4oHIHnV3YqES+ltZ68E vxkL3kGhKure8QZfcMggw466keQ96SHBXqMesxePv9D/KL8ktxFxYaWdOcKNomV1322w VAxkbZCh+e0k7Ex8QNpJEiMdgwDdvU7xGjJC/RXttUqeG5C8fn5/neh84ZH7ZzA5s14H QhKCzsIxwqctzKVFKYUppAp7zkgFfneu6u7jNrj/4aPyWVwxKE8P8GH4z34Pp1rM5/WK KQ== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3mtcya70dj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Jan 2023 17:26:30 +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 304HQ6EM002613; Wed, 4 Jan 2023 17:26:30 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2103.outbound.protection.outlook.com [104.47.58.103]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3mwcghkwj9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Jan 2023 17:26:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=APR6yvnDzuMeAMNdK67ZecbnJbqr/45a7uV6OgJH4+9LU7qoe4c82Bck2cF8YBwtk8iXZV/Je9i+/+IGCmFWL+D59gEjyr3UwNE/fktEAxgB0taTsjF73LA3K2G9WIGxqTwU0K78JSOYS0xNkxYWzT17PX2oolB/iSnV36ro+tOP8J6gxcu/4Rq7qmjUDR4ujQMhqHF2g5X27JumuWfLKSKSWfTq8tRVttTk4xUb4DggBdAyhXzcJgpVyzaLy91JwApLz8R3mD/8FZIXB+Pt/8uydjIepZOU0IO3HVYjfVgIjelB2xp6fPdytRJuj7SimqM/gf2x5dYpWrZHAGB0lQ== 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=3GguwdnBiPRhJAjql3I6nyqieQoPoKL7T8jbGzS7N6Q=; b=Ff3nRzgbq3OxqulEkj6GWI1zz0J2yLDhEU04+hZKLLyHFow1Jyd7H4IDtLLX1CS0Q8YU4U68d0q/nlO0+iNRKFpX1h1uHzh9AMGmGu/nIWQjlVamFQ+y1JduUWcYibc9cKL1Yb7ercimBmNucDJO2MNtJ1CRHHgQPCbRlEgSH2g5Cf1aB1gq7C/Ry/zq7l2Ohjf66PFzmxffBEN/vMH+md3UeQyt4EICJAyuLmC3sbo8XsLpRUfXKUSSQ3oymcis0LK07hc5OylS3xuTFHb3sBcr+BmXgVmfbL9fUuKIKr2AFxw0pirOfTA4kf8Yka6Dy4Kqo5BnBn5GA0h3JJraPw== 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=3GguwdnBiPRhJAjql3I6nyqieQoPoKL7T8jbGzS7N6Q=; b=KObmh5grPksayOlSGTd1ZCcvZRIVMHkwPEf9CIwE0cwJbhFNlmgspWsUQBI49N20KSu5f3uS3e0+P1JjY6Fnd/0iS5ROkmdt4oeuYirjWR1UZTTg8akbeEsHmXclDLTwzsv+EgVxF+fp9c+XkPXrZmychtixjKCp3Z+tYD8J1Bs= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by PH7PR10MB6987.namprd10.prod.outlook.com (2603:10b6:510:27b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Wed, 4 Jan 2023 17:26:27 +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; Wed, 4 Jan 2023 17:26:26 +0000 Message-ID: <7aa225df-af25-a6be-9bef-c965488ba43a@oracle.com> Date: Wed, 4 Jan 2023 17:26:19 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 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> <5c5716e5-b2ff-67cd-b608-4eeffa7e04bc@oracle.com> <1f3d53cb-4160-e29d-3934-d6a488d9fd49@linux.alibaba.com> Content-Language: en-US From: John Garry Organization: Oracle Corporation In-Reply-To: <1f3d53cb-4160-e29d-3934-d6a488d9fd49@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: AM0PR01CA0117.eurprd01.prod.exchangelabs.com (2603:10a6:208:168::22) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|PH7PR10MB6987:EE_ X-MS-Office365-Filtering-Correlation-Id: 740e1f01-2b9d-4451-ce07-08daee78cf2a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dYwNIvlcJ2IaPxBmIU5tToUYiiD6GDayX71Sya0gqmsTrV53tqzjrqTrfshMmQzQfRybORAdGIwQDlxTlLSq842IL5/yIDwDGHKRPqc6G+UB994CEAQ96/HybmmrrHE2SsNNwq8w1mby8Lfw4G5ykmEKyst/+2SqRthvW6mnjogfvRbUh1uEpg4DeixWqRVZvgNwCRoCI3/UZSZw6YeKLw2DpW045yXJtcA2ILh9lrnOBKbPr55Hqaq/rR3ZQs2N6k9rHU/JwEeW/QN3AJj+lA++nM2Xe25XnG5zBLTaeYRJ6gd1C+CJtyaMfBor/l5RPflAiRxFgoJVRVd4ZQcdsKybPBipE9Qoth69Ob9dyHh7ZWX2e1BL6wTs1vuCYjPAlJgzdr0YMve0HMLTenP5RT2ds65sJR2WNYIutWXrmyicVCDwpF3XTPBpLQw0fwCpTBZf0yYv4f41zVp7MCUFSWZKKZDeTLvjOmTQsy0gSy8MbmSuqVR5eY2VKLl9jTGd7JQe/qmwMrMVWIx4i7D5tRNM0jt3eh4NT0EyemgmGmBD1QS2WYzkGynYV6OrDCHbmWa/97EN5c/6RHBBf+yngH5XWI3fb8TanjgA7b/G3NMqWXfgZxtxQIIUj6jtE3QjnD5Q0JfwdJWHYb4/uAw7YmR98RiAAj08XcwVO+Xfiz6wjTjJBc240m8R4sgrjx4fwDaC1KtNR5cKCGGsJtb7ButZiwjGFx5e4iZaH2TQJcQ= 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)(366004)(39860400002)(396003)(136003)(376002)(346002)(451199015)(2906002)(86362001)(31696002)(7416002)(38100700002)(8936002)(5660300002)(41300700001)(66476007)(6506007)(6666004)(316002)(478600001)(53546011)(26005)(186003)(8676002)(4326008)(2616005)(6512007)(66556008)(66946007)(110136005)(36916002)(54906003)(6486002)(31686004)(36756003)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OU53UmRUQlNoRDNuZUlXcG9zV3czb0dsd0FqVWtoZ0lYSE1nSGhLK21walFY?= =?utf-8?B?ZEtidStERDlnRmd0NUpCelBjWnNCOUM5M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B5THhGSWFaRWR3Q01OSG5VYkV4U3J4SnlsbEZrUXYwbVRvTm93c1Mx?= =?utf-8?B?S3E2RlR0Q2R2S0s3VVdoZTVkZ0pHZU9TMlBZVXB4ZVBFcVdqM3IvT1o2c2Fk?= =?utf-8?B?cnVhZEdOZ2NhRnA4U0NVR1g0SWlCTG4yVHhnQ1ZyRzhnMTNJMmdiangwRWhZ?= =?utf-8?B?Vi9CUzFEZHlkbFVXVE1ncVZaQWlCdmNsUHlSK1ZSUjVxZnN5MUUyaFZtbyty?= =?utf-8?B?VmlyWk5oL2lBY1JDUmdKTXdYM1dqKzRIMmhHZ3ZMOVRrZWJkTFlPRWxyOWdE?= =?utf-8?B?dlhCRnh5SGpXYlNpK2twdkN0T0U4bW04UDFYUkp1VVZNMys4cU5Cd2FBYzZn?= =?utf-8?B?dHRkbzZUVzNSYUQ0VWhYeDNONHIwVWY5ZjdTbVNuYkJBajAvZlh6d3VGR05Q?= =?utf-8?B?cDk0dXdaZ1FoTmtqVSsxbDdhZ3E3YVc1b3RzZkRXMmV0TGlEdWZiZEwyNTZG?= =?utf-8?Q?aYeX/tqyndo=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 740e1f01-2b9d-4451-ce07-08daee78cf2a X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2023 17:26:26.7708 (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: hKaCoWVXll7xnIC9si/LwIDhGKvmWQZr01pC00BTg6agSmQ5LZyMwInUWzelCv1UTq7LynS49nkn56PtXAmb5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6987 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-04_07,2023-01-04_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301040145 X-Proofpoint-ORIG-GUID: Fg0bcG08nZAwLOivHije0lZMZnBkY_P3 X-Proofpoint-GUID: Fg0bcG08nZAwLOivHije0lZMZnBkY_P3 X-Spam-Status: No, score=-4.5 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 04/01/2023 05:05, Jing Zhang wrote: > > > 在 2023/1/3 下午7:52, John Garry 写道: >> 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. >> > > Hi John, Hi Jing, > > I would really like to do this, but as discussed earlier, slot is different on each architectures. > If I do not specify the value of the slot in sbsa.json, then in the json file of n2/v1, I need to > overwrite each topdown "MetricExpr". In other words, the metrics placed in the sbsa.json file only > reuse "BriefDescription", "MetricGroup" and "ScaleUnit". So I'm not sure if it's acceptable? I don't see a lot of value in that really. However, for this value of slot, isn't this discoverable from a system register per core? Quoting the sbsa: "The IMPLEMENTATION DEFINED constant SLOTS is discoverable from the system register PMMIR_EL1.SLOTS." Did you consider how this could be used? > > In addition, James mentioned that if the units and names and group names of different architectures > are not unified, it will become complicated. > Thanks, John