Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2369197rwl; Thu, 30 Mar 2023 09:20:36 -0700 (PDT) X-Google-Smtp-Source: AKy350aKaHK0qRivGQ+aqlGRL/zRTf3ykIBl5GLcq2Y6VyrdEXVS1I7140I8o4+WG6rJ2ex3+Z54 X-Received: by 2002:a17:906:190:b0:8eb:fb1a:6970 with SMTP id 16-20020a170906019000b008ebfb1a6970mr1768873ejb.1.1680193235855; Thu, 30 Mar 2023 09:20:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680193235; cv=pass; d=google.com; s=arc-20160816; b=y4qJKZwTD8cnwMQYjXBIeMaEfOVe2Pi+RYGbatCy4pscOE/7kTu8q0P8zmwiiGluTb ECjHAVMwdTeo7QhdIU4jhFj7hYgPiZvW/IbHVrdJbv/7l7qkLLhKOYEDDmgXW3nYDocY VQZjT461thUpnT+rXZOX1HUovsac9j1ga1PkaurUNDmvisWoRVl7GpcPswP+JU53lJgD UzkPq6UtF2fO18qxgwlR6nBfjB9r/zpKnuv9R0+5dc4dZfy54fSIMwnARowrBK9yRBIw /iu3oGMH8lDwm/UsCQ7D9MBo11OTHtWlgKpTXR4Gb+DmO/JWCQyOcHrKJ2C6pUNVwgfT bD5g== 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=uLaLE72Ju/dlDA8QgBVjKvg0UQltFMt/yfRdAn20LJ0=; b=bXMVkWgH5EaCBhfrq2UNgHUwinh9QYEBlu3wmKtnZ8T2z6lMkA31YDQPltBt41e8G4 OPh4WHcNK/WRlo1nNLvutylSKztDz2qv3bbL7M++wXWfQIIni5XTF+L6KpP+/njkOedH 63FG215/pAV5E70O0c0k6+lsrtZ7zqvmW3wkqmi2+BllWx0NaHsbEy2EgJKT84Xt5ngo LCjCTWQjpH7kn+s9C6jMyLgBHn7SR1LKXZ4C8Gj9pktnLWKzZ+3V264taCqRfKz5H3bU Hzdu2u/SYJRtLBh6T4oj767GchrVOr4ityz4DM/aEhgRoCDPFx8wP2sQJZjxOlByjDBP bWLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b="F/cicpwn"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=ONe1V2gW; 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 k7-20020a170906970700b0093cd9fa2838si17090368ejx.1009.2023.03.30.09.19.52; Thu, 30 Mar 2023 09:20:35 -0700 (PDT) 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="F/cicpwn"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=ONe1V2gW; 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 S233506AbjC3P4Y (ORCPT + 99 others); Thu, 30 Mar 2023 11:56:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233473AbjC3P4W (ORCPT ); Thu, 30 Mar 2023 11:56:22 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0D638E; Thu, 30 Mar 2023 08:56:21 -0700 (PDT) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32UEEECc023746; Thu, 30 Mar 2023 15:55:45 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=uLaLE72Ju/dlDA8QgBVjKvg0UQltFMt/yfRdAn20LJ0=; b=F/cicpwncCHbQ4vwcCeQDGUcdXiQYsxe0Jf3fMQxLHSearpM/xZsY6CNB4xEwyV3EjYX 0Ge0QH7H2v9zyf5r1vw3oQGeAeGmLsGd5ABZZozlCueoMMCAy6MjyGUChjni3YtVDlLc yyyvoWmc7wcc+5Eq9lfjQubbSTPE6DcxBbZuyVImeNpDQ+kA+TWYgcx4SgNgeBQ0pZrL OWCLmuv7wNIGKdm0M0mSoPq0HSIKoyC6v6KH8x9QmwptzvfI1Q/D0asZMuLDwPXEYj6E alhOqY+TniKf3toi9us9iECEQ2LanaaxFgbXqVQYpHOPYRsf8HOO/PZdUJL41fiezDpR ww== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pmqeajymh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Mar 2023 15:55:45 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 32UFCfRZ016287; Thu, 30 Mar 2023 15:55:44 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3pmyvvj5f3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Mar 2023 15:55:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RcJUzhMXFbd0nCJVLRR1JulCgxUO4yCwNw0vse57wBI9jdxQy1oPaWvTfTi3HRCFL0NGqkm9DTbhyv8uL7RjJHxwy0m/ux4gCcFg6bn9ygU9DiT7qtROSJkcW9c4xJ1HvPAw2yqvRkjlLC+2gUC9nwGsy1w+zljHDnXsIWDLHCaWhLQ+OPu9nP8koGtix6nkqiXjwI7WmJgY9HN5Y6SvbQLqYrm2r1pd9dORlyczg/13H17/J6pL7fsqBbFdr6qV6DQ7Iw8J7+EoORKVmVnY/6sZyvObuRwbzyn4AqIWBTcJxlVQFRZcn0GVbig5Nsu2e1WF0vJxw/iIb6dN7GJUsw== 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=uLaLE72Ju/dlDA8QgBVjKvg0UQltFMt/yfRdAn20LJ0=; b=UGhHdz19pvAN6LzJoti9Z6FgEbjue0VEttxXc3utuYL8HiwhoLZSyKMZl1tDN1NXzH021vZMQU4h3aFQw1dstCXTfxkqySHQJ35B1XShIHdZdVxEQg3irvMDff3lZgg32iqLcIZev2/2Q4abdzswlHD/VZ/906ekshvj19DZTN+vXSzljojL4sQjgK+41oEPklfodKFAmEJa8qYwnEOzHUcWqL6EOtM5WyoFx7VnB6PD9V8qBpweAGblYxP9FfoXOZjXRwqkLQgVdQpQ/ElTC76F6B/dZ/OOCkdslSlvjCpcTGRRV2EKL+eKWGB0sDs+9nHbIUGKx0093Pi+f3mX/A== 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=uLaLE72Ju/dlDA8QgBVjKvg0UQltFMt/yfRdAn20LJ0=; b=ONe1V2gWh0i4VLMTGo2rUBe/zmBQx1YgcUcfcFOWQVZ5gZZC5ifXlZa6PHpR/z/ekbZSrMlBkQIbG5ws7s7Z+L7qUPYVDVBtu1nlWNCPpA35CPcO9JF5iITl7byQ2+deANyfGSNCqCUMG3oeqe6qW2mP6ZI+zpyFWRNhH8D7Clk= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by SA2PR10MB4507.namprd10.prod.outlook.com (2603:10b6:806:119::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.21; Thu, 30 Mar 2023 15:55:42 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::7276:bc4c:17a0:7267]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::7276:bc4c:17a0:7267%5]) with mapi id 15.20.6222.033; Thu, 30 Mar 2023 15:55:41 +0000 Message-ID: Date: Thu, 30 Mar 2023 16:55:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH RFC 1/4] driver/perf: Add identifier sysfs file for CMN To: Robin Murphy , Jing Zhang , Ian Rogers , Will Deacon , James Clark , Mike Leach , Leo Yan , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Ilkka Koskinen Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, Shuai Xue , Zhuo Song References: <1679885172-95021-1-git-send-email-renyu.zj@linux.alibaba.com> <1679885172-95021-2-git-send-email-renyu.zj@linux.alibaba.com> <72246c5e-6ba5-098b-a979-e90738cc7509@oracle.com> <8ba831ae-4568-32af-3fd1-fd51a7c13dcd@linux.alibaba.com> <091d5b8d-6ea7-e6ff-3421-63612797ac60@arm.com> Content-Language: en-US From: John Garry Organization: Oracle Corporation In-Reply-To: <091d5b8d-6ea7-e6ff-3421-63612797ac60@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AS4PR10CA0030.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5d8::11) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|SA2PR10MB4507:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c078fe1-42dd-486f-fbae-08db313736b4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wz6nrAsu6DvK1lue1PDzwyBEKkmcAc6TNkG0AE4szUAYQ8j2T8+MbpNDTmIKaXwBvSZNCWGdL7sNcYcFBdWyi8PflZswu/nO2YmTU9teseB6/5tQCuQA5bjE6HO1XsGKsyVuVzv2viVLz6W07bOoYqn8FAvyPHts5UdLjSnTYd2Jx5KPVNYmd9ATRZMufEk2kYJsCaZYkPx5Ry783qIaVhJN6zPf4Khxbx/ElYj6emMQ7eUHlHypP6qUEu/VBQm2mme4mvMdZPFnqTlStkaUUI5+Kuefis8PW+3G+Ap1hX7Kjbh4P0eUjDLSE4r1xfpXnkMwGNF8Hl9B/ZEJLUdDsZHbl5LZ6aWPdiPKUl+1ATjeuf0sO6aFBdK40zSTgMhO/Dg4+XW+iW+1to2r51R0l32k7nTEx2jLAqHcVWNcmB8Jwz4Zpz0xO7mkwggLQFuNge6rhoPatM+2ypTI9B1Mmum/rF30ogQO7uVaSrDciVZgQk5lcMvC5Xk736LW5RnRPAfyaTt9zaNo/74Z9F5JB5TBk2maI1BvdsZrVMCjfAd6gjD79yMEgfg9Tq5HLU1/dNK5rP8j9GomyyOimEDaKwst2QAvjtpD25XIqoLs9jlvyEzoI76h9fYjh+tH5vv1YNXOaW95HsMH1JMFPRw5k4jfTJPTlqcv6FRX+fCMzY4= 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:(13230028)(376002)(39860400002)(136003)(366004)(396003)(346002)(451199021)(316002)(41300700001)(54906003)(110136005)(921005)(8936002)(66946007)(8676002)(66556008)(4326008)(66476007)(186003)(53546011)(6512007)(26005)(6506007)(6666004)(2616005)(83380400001)(31686004)(478600001)(36916002)(6486002)(36756003)(2906002)(5660300002)(38100700002)(31696002)(7416002)(86362001)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WVhPOVVxVHd4YlF5UXdxQnRac0J0QmdhbGJzL1J5U09KY1g4M2lpelQ1QWtk?= =?utf-8?B?TTk2eWxZWVBiU0FDdzA0NERaakMzL25ZZ0hkbUx3K1BoMjV6Q0Rqdk9DOEJG?= =?utf-8?B?c1ljUFR2cXlMNXBickloRGxWM2V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RnRTM3Iwdnl2QzFq?= =?utf-8?Q?wcHaAI=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c078fe1-42dd-486f-fbae-08db313736b4 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2023 15:55:41.6231 (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: GuG7sCjn8BqIAeTFcYJh9LIbMzEJTNdQ21BAHnNjgH7MvaxesivNRyGkB02kczKojSjWiS8DAeb54j3YwNEkAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4507 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-30_09,2023-03-30_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 phishscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303300126 X-Proofpoint-GUID: E0bF1e1MBMYFkIil6ZNVZLRulB4UygZK X-Proofpoint-ORIG-GUID: E0bF1e1MBMYFkIil6ZNVZLRulB4UygZK X-Spam-Status: No, score=-0.9 required=5.0 tests=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=unavailable 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 29/03/2023 18:47, Robin Murphy wrote: >> Do Illka and Robin know that there is such a register that can >> identify different CMN versions? Looking forward to your suggestions. > > In principle the "part number" fields from CFGM_PERIPH_ID_0/1 are > supposed to identify the model, but for various reasons I'm suspicious > of that being unreliable (not least that no actual values are > documented, only "configuration-dependent"). That's why I went down the > route of making sure we have explicit ACPI/DT identifiers for every model. > > However, the model alone seems either too specific or not specific > enough for a jevents identifier. The defined metrics are pretty trivial > and should have no real reason not to be common to *any* CMN PMU where > the underlying events are present. On the other hand, if we want to get > down to the level of specific events in JSON then we'd need to consider > the revision as well, since there are several events which only exist on > certain revisions of a given model (but often are also common to later > models). > > This actually foreshadows a question I was planning to bring up in the > context of another driver I'm working on - for this one I would rather > like to try using jevents rather than have to maintain another sprawl of > event tables in a driver, but it's still going to have the same thing of > wanting model/revision matching along the lines of what > arm_cmn_event_attr_is_visible() is doing for CMN events. AFAICS this > would need jevents to grow a rather more flexible way of encoding and > matching identifiers, since having dozens of almost-identical copies of > event definitions for every exact identifier value is clearly > unworkable. This sort of problem has not occurred yet as perf tool only supports "system" events for a handful of SoCs so far :) > Does anyone happen to have any thoughts or preferences > around how that might be approached? > Currently the perf tool will just match system events based on the exact HW identifier and PMU name. However, if you consider PMCG PMU support as an example of possible area of improvement, it has a number of fixed events and a number of IMPDEF events. There should be no reason to need to describe in a separate JSON those fixed events for every instance of that PMU. So a simple change would be to teach perf tool that for certain fixed events we only need to match based on the PMU name. For others we need to match based on some identifier. If matching based on an identifier still leads to unwieldy amounts of tables, then maybe HW identifier wildcard matching may suit, like what is done for CPU events. Thanks, John