Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp637294rwl; Thu, 5 Jan 2023 02:21:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXuc0aMyYyB1+QLdBSY8YUVeYf0rkDeCbIS9lxidk2yZAwPZvd3js/KKVr3t0kamR1G/LyQ5 X-Received: by 2002:a17:90b:2291:b0:226:3b78:36ab with SMTP id kx17-20020a17090b229100b002263b7836abmr23584093pjb.3.1672914062494; Thu, 05 Jan 2023 02:21:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672914062; cv=pass; d=google.com; s=arc-20160816; b=rxXswevKBnts8N7mGlgDMHo+4RC6Zp1ZT4slbS/TPEVrNkO+A5NEbSKjg8S02R7xlr bFr2rX+RyNtgSvrZaq8iWHysVXfzeAWZKANb8UCqo3gY+YIx1UW17egYDV3UDrEdpZG+ 1HZsyghz3KtJWJtUn2fkVduXvLKuHBVrxkEsZDq1/mCRZ4Fm16C5XtaVCE0gHCaVE3d/ wtEdk45hbAh3ORyY7D0fNmUamTupLePDKobwlu8KTXzmYPo0s30OhLkZGpd98GH+5svd avUMHLLw5auzppJYImRT51gtLf3ARaQTkYxDBk+jTGdYHNiGVN43GdxxfAyfjSviE1UL 4G8w== 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=5spfX6vfGJxUtUu2tdG0fK/u2saknYaSy2QPav6srI4=; b=YwzPn3Yg6kEsK+iEryG6deFe1WEA805CrfWkOPSFbKqIavmdoVkpfDjMdndvRsHeBX iQsH4Fktx5adpzh3uFnSV+Ai9/zILztoki36ArCjcVHvY9yrC4PNlBDdEKs/kIK/OyLZ R++sajsrzYg1zq81SlSofxLbm/0O5zodfoXNfzBKwOjD8mIKeCs7svrw1xn92ec4ZUtL FHD1KzScJUC3trCH8rqjQW57OqJlx3qo1jXyspKn/zhfPq9QGyRyt5EQvh2F6lbd1sKl 8qF1CZjYAKZjAegNtjO5JiLMtr9TRudujZrjKtfTV8aF4sEOFAYZJUxgVlPsc+89xR3T Hwqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=ZkQwih3v; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="uMJ/YZAi"; 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 f88-20020a17090a706100b00213997a5fe6si1531698pjk.113.2023.01.05.02.20.55; Thu, 05 Jan 2023 02:21:02 -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=ZkQwih3v; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="uMJ/YZAi"; 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 S232427AbjAEKOF (ORCPT + 55 others); Thu, 5 Jan 2023 05:14:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231573AbjAEKOC (ORCPT ); Thu, 5 Jan 2023 05:14:02 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B48432E8E; Thu, 5 Jan 2023 02:14:02 -0800 (PST) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3051wBjH019682; Thu, 5 Jan 2023 10:13:39 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=5spfX6vfGJxUtUu2tdG0fK/u2saknYaSy2QPav6srI4=; b=ZkQwih3vzKiKW41fGJWiTq6+HDdi49PsI/bIt/2eS0lcbiP2wyrP0XTb+7Eqroju+W6f /fiXACrzexFQO35XgUvNvSww4vVzjYKsgVPaEpVkNIlfcG/IiRlqES42GxVdWpwmJwFC NU5v4s117xHj2CxDK/5rCAI1GxENpRlPbqt4K97b7PZ6+TajmgXzsXiuM/ZoO2O95ECo 2KY7P5O1MKPiqfI9KorPD1lFVDm6mjHhMO83NA2TYPOcl84VZ+JvjNnENveSBxHWmz5l MeBg50PHGyULWgd1cgxFAzFePouBYcR3V66AkT4vxe2k2xGmkEjWjil7oA8Whql0S+dr ng== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3mtc0arkhk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 05 Jan 2023 10:13:38 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 305ABBhI033708; Thu, 5 Jan 2023 10:13:37 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2170.outbound.protection.outlook.com [104.47.73.170]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3mwfsyfx42-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 05 Jan 2023 10:13:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f3OjsaLYWwIVM5PgbixQmrrRXM0TYp+pKdLI+lJ/MYRxDGEuV8gUMLBZczAHOG0OBBtNDS5MefxDjQHSNfRtqCXh9hxK0rnAHUD9ulIlu7F4kF+IN7mxZW2DVnUBe55g0Bja7htJzk3AHpNyCtBl9WDGigkXIE5H0HK4+M4hlI93n6NcjhvKEJigRfapK2OF4MYVPjkULY4EIei4ZtGX+cYKqCdXRBUD3J+sFoxsVzo91+ajBVPbl07ZLQOc+AwBKxHyWrFEaREGXDD/PQSrIY26i3br5FvlrdTRK/Qh5vXtVL1lyQ2yK9P5+VNmrCgsce0sTIvheSjuLqXsjU0lzg== 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=5spfX6vfGJxUtUu2tdG0fK/u2saknYaSy2QPav6srI4=; b=Dl3Q1bLB1K4Kkw/HwfV9ltvfMYx1j+INZwFU+iZ8DbT/mcfry6rXRBjZxxN3aCoRFvMYr3D1+Lt/D8iqr80Z7NkcPJjEg7TM7A0N3WuLcs//G2rnCwY5Wmpac0F+/AR9pY+NP/++2GXJuBE0+hWNYUr9dQNO7impzUAsXzV/KmC0VNPdTxx7IRaykujX+4pXTTmVR53LBTLa65sM3WSnDNE7gYSvMgb3C9BrJXmlNE7Rk2SoTNnXY4Sk9VynUj9/Aqd34LdX0J1riFQY5mJSqh/dkXqLxCUXjK+3LP0V3qJPapV1qKwnsFlireoLUW+t6uEmXic/9ANoMQJKCwiAMQ== 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=5spfX6vfGJxUtUu2tdG0fK/u2saknYaSy2QPav6srI4=; b=uMJ/YZAizp7I9YMO2GHCYRPQEL3c6dQRX27HKoI9SX5XSaKnHZ5wBuR4RH0nLwX88kkW7eGPMZnV5yUMM5A2W07anSzjAz+AE/TEuuAb2S2N60OkHqSb/MdEbNzRRtKELdJlNChRztlBEZqaC7I1nynw7Bi0LlT5vuTBSHsgjAE= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by SA2PR10MB4556.namprd10.prod.outlook.com (2603:10b6:806:119::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Thu, 5 Jan 2023 10:13:34 +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; Thu, 5 Jan 2023 10:13:34 +0000 Message-ID: <00bf227a-75ce-c63c-c740-89b8d2b27e1c@oracle.com> Date: Thu, 5 Jan 2023 10:13:21 +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> <7aa225df-af25-a6be-9bef-c965488ba43a@oracle.com> Content-Language: en-US From: John Garry Organization: Oracle Corporation In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0164.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:312::13) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|SA2PR10MB4556:EE_ X-MS-Office365-Filtering-Correlation-Id: d658464b-d839-4a73-6b86-08daef0580ff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fLWnhBrdP5qMaaZ6I+Cif0NEXyBmkBdfDH27NUiomedVUJZpfC/KHtXQLtai9W20GeBxmChFr/9X1sWHBhcD/MMun5EU+AUXLdrcGriSUOlvPT/uA+qz5sjVQKOTMTRXUnEVc2gVI1IhEYsy7Lfjc7fQzQu/oUC3eh0cqLTmDbJ0TuKyeuLP/APxbe+dPb2PGIHo2bi+tovh4IEGN0r11v+60TqCtBs61usVIQ/MO+iR41MR1iuHxxyjEf9iULEEcVHX5lMvmbTerwey9QqY+/1A7KqPIlyIrX0lLOeRuCKeJXbdMt9dZKYr6cp2NceI/ZOjqHUAO5psRhDeTkBh3ARVMKzjh3BDbJ+gOdgxxIlY4l0EZQoA2Cs0JaEpAQ04zhjBiDZcN7HtU5EugL4/fL7nuj8HAgHOMyzXKQb8QHVlAQajp32MKpEKmdNfA1nsFjNgG+PEdJONGqvepOGtNtYvstbzXGp8GB1BALcP2Ze49nL/RaL9xw5Jk+1QYgwpFe5AFJpyrBfufWcMx947NU9lLuC3KdaBQuCtgpBlS9TPPnZ0+hI9kXWGkv52lQPU/D8BPKw1DPZJ76e1hGkBrU18W7NokjGj9Kp5PuQYaLxG5/6tQkcMhE6lo7+yEolzCbkRkJpCTCF8ckx+Ohvi7tFh+kOSYSnJFNkhcZnZFreMEnTGgG2hF+qtShF32w++PSZ+pCjvei1iTEx5xq8lI+Ozqe6bMa9z5sdzoMP1KIs= 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)(39860400002)(136003)(366004)(396003)(346002)(376002)(451199015)(31686004)(8936002)(7416002)(41300700001)(4326008)(5660300002)(8676002)(66556008)(66476007)(66946007)(2906002)(316002)(54906003)(110136005)(6506007)(36916002)(26005)(478600001)(53546011)(186003)(6512007)(6486002)(6666004)(86362001)(31696002)(2616005)(36756003)(38100700002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SnUvaVFtV0hjb1ZKTGU2M1JmaEI0ZFhNSnNlUm1jNWEzNHF1WlZNdXZreXdj?= =?utf-8?B?YXRlT05RV2EvUWNUeTd5TFNhZWRYd2Y2T3B1UFJlcE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MzM0ZuaUE5b3RFUlgwMFpXWkZtbTVa?= =?utf-8?B?b3REZzlxZGF4SjlEMkNsb3B4WjI0M05qUG9LNFE4THh1VGVhUmhWR1pGeXZM?= =?utf-8?B?eWQ2Z3hmTVM3YmZQaWcyOU9hRjFJa1UxdXZGL1FXL1k5MlRlRGlnUUMwK2FX?= =?utf-8?B?eDlKK1k4QXBZQ1lVZDRkWGFFN0ZzZ1J3OUtTeGNPaWdvSUp0UHBvaHI2bWJD?= =?utf-8?B?eHRSNEpRN0xLS05NOE5USllpSzdjYkV2OHN4aE9DUXpGYUM4L3M1a3NFaW0z?= =?utf-8?B?SW9MUHQ0SHpTWUtnVFZodzJBN3AwMTVRM0J0Ym93SEVHdDhTWmo3OEZUZlU0?= =?utf-8?B?S1Jjc2dQVjkxMVVlYjQ2YWk4N0Flenk0SE1TcW9JSjFTSUpwRUY4bFdDRkM1?= =?utf-8?B?ZHpYQ1NWODFpSkh5OHJHeEtSeGhYTExKYWtEUVUxVzJ4YjJpcFAxdVJ2UEpn?= =?utf-8?Q?5UcNu4yMLT0=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d658464b-d839-4a73-6b86-08daef0580ff X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2023 10:13:34.6630 (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: rz0y7xUX+7CYzTArjxpDb0M5ifSL8DyLfp0ORKhKTSD5s9S2TFDomvSJFlJ5Dk5d2asxVq0KUhrXBCyo8iN7aw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4556 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-05_04,2023-01-04_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 mlxlogscore=999 adultscore=0 spamscore=0 malwarescore=0 bulkscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301050083 X-Proofpoint-GUID: PXXaWx8vLHfjU7a9yUHnLQ34xVQ8BuXx X-Proofpoint-ORIG-GUID: PXXaWx8vLHfjU7a9yUHnLQ34xVQ8BuXx X-Spam-Status: No, score=-5.7 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 05/01/2023 10:05, Jing Zhang wrote: >> 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? >> > > This may be a feasible idea. The value of slots comes from the register PMMIR_EL1, which I can read in > /sys/bus/event_source/device/armv8_pmuv3_*/caps/slots. But how do I replace the slots in MetricExpr with the > read slots values? Currently I understand that parameters in metricExpr only support events and constants. > Maybe during runtime we could create a pseudo metric/event for SLOT. This metric would be created during init, and it always just returns the value which was read from PMMIR_EL1. I'm not sure how well that would play will trying to resolve metrics when building generated pmu-events.c, but I don't think it's all too difficult to achieve. Have you actually read this value for the n2 core? Does look correct? Thanks, John