Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp809654rwr; Fri, 5 May 2023 05:30:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ60XBfEeHVB8kEnCtjVxsS4LOlBzDXmSDD8lMwyTqmcG8JJ98qJIC0D/DxA3uduS6gKLGSl X-Received: by 2002:a05:6a20:7347:b0:f0:1b0b:acf7 with SMTP id v7-20020a056a20734700b000f01b0bacf7mr1886789pzc.2.1683289804188; Fri, 05 May 2023 05:30:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683289804; cv=pass; d=google.com; s=arc-20160816; b=Jvdup8oQ9Zi9pi8X593jnS2hSWEWubx2RsDZth4tgCayn1IkDBxgWATRp7JDBGgYqi IwPeuSg6fs9lNexkrWaFBqObG6XS4ACXGW2LhYSzJm/jhRA1i2IZmEvp2QjwvEOdPuky J5UA1jxxENBcPeXYWsi8Io0jSWWuD9S1wzjx5Val9/FLsikspQmLE2+BzX/DhMXbDNgf T60ZPy0R9dQUXikyuTNC4+QMOxMz8CCZtTa21ofMKEAdAPJ+3YGV6O1Z6B2qRVpZeaD6 mL4KpasCLrvfhcqpsRC3ptAHp11ZvejMz07igyFLu7BXN1/xBwfb9g/ySvbZhrVDgFuJ BoFA== 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=CRME0kuVbH9PV0OCC9XpD8m5BkCBA7YwplCrv35Wdes=; b=BYvlstSGFcpweIrvnWSt3xZ/U3byHdVPAcQN2WrkHVRyOio3BwsCvia/VzluSkOj+8 HVQndZQcbThpkKgqr1sKvfPjMVD7z28yJcGIzwvpDuvFz4IxOyFayyyENP0jmXsyvIyP mK1ngkjM5OtMJYGnR3ux05tpcQm+jgpv4Jmb3IwGKxe65E0k7Iwtv2jSL5FvpE8GPKR5 +36DrZMbEMi5ZDknHY6T0Ei2N/IR7tv/Z45JmnIUTJyHFp9AqgTsvW+lObCNtKhMmWfe UGl9rWkhKhWI4V4R302/OwmbiXkPgbri+CfvwMNsWmdlxgK5Bu3uAvvV+VRaJuKtWUoD XG6g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=aR6CZl5X; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=dEXUicKv; 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 v71-20020a63894a000000b0051f74e18927si1923817pgd.184.2023.05.05.05.29.51; Fri, 05 May 2023 05:30:04 -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-2023-03-30 header.b=aR6CZl5X; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=dEXUicKv; 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 S229904AbjEEMYy (ORCPT + 99 others); Fri, 5 May 2023 08:24:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232125AbjEEMYv (ORCPT ); Fri, 5 May 2023 08:24:51 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41AD51C0DD; Fri, 5 May 2023 05:24:50 -0700 (PDT) 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 3456YXxd011393; Fri, 5 May 2023 12:24:34 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-2023-03-30; bh=CRME0kuVbH9PV0OCC9XpD8m5BkCBA7YwplCrv35Wdes=; b=aR6CZl5XJY5aEuPyJpvC/T7mkAW8zu1i3w8kWSAdRAzM8uM5ppvF1bD2OOJRA/+cbH4V fv3uxJonVbVfmrgCa6yo3t9rUShbQ1cGyuSjpCmXZYdEYlnqr6DDOayjSAFmJDDiTci9 YqqMGi6tC5VPuAGTtESXwtCLiXZosOhqFNqrKkElKeWhZDXH6r7Gx3uaMrhL1sdTC8Zt hho9PQaUqlL6Pbk4II9/muF/89GO41uM+tYep0sFixWOnb8ggr8c78ZOz4FWHm+0LoPc pdfm6XeRmvWkLtXNt36UVd4emeFWkrm9pqEB4vY9bJ2OukNUV1zXhPILTSPOTUs43Kl5 kg== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q8t5fvnfv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 May 2023 12:24:33 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 345BqNru024982; Fri, 5 May 2023 12:24:33 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2175.outbound.protection.outlook.com [104.47.73.175]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3q8spa1n47-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 May 2023 12:24:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ATIz3PlIzzFBwkgtPhME3PwzDYQqHi8gaeB0kudLx2Hi6WP9AgLWMz8oaS3JsQhudO9FuD3OItiX3iYUskpE6gZBhQRw+dRprDj8cUmo15VBOBA5hpbFmCbmiokndcIQvq37RA5SgTRAnVLfM+k9sWxB4cFNfXYU0dMniTTs0eVlJcHmG9Ti+rI6U8ie6IhxTonRH9X6pmrHV6ru/krjBnM/6xbJjIUlpxLWEVa30ldAQfziu6qj0thZOWCk1uAhs1Mmu4gkBGWncQjcSR/dznYmuMfVUKjS9OIOxHHpW9tmi2qnqtYGCmYomcHkCKpkdWW7J7DYbsYrjx2MiuTbBQ== 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=CRME0kuVbH9PV0OCC9XpD8m5BkCBA7YwplCrv35Wdes=; b=U1DowW9/ZiotdPEnachjIlh997ksf2hyMlrfvVdLNX2Khr1/zlZ5ndLtd2mbrBEYVdA4nMbEjxMQj30lc0Tc2IhwjiCVPlSsdr2laQOba6navae0H2mnBm/XAGJb6hJKw7rSm42u+h8rzIx7xgvDrMq7nzm6S5qUuJlFpfLZptF9tOJAI/SMbE+thAK8mBJARMWU1P5lyz+sqDFkFvPoFHr3qE5lhArsNRL8Tawu6hs3j7My29v8CRhuHJwX4Ep3TrDjU9TGJ3qoRBy4ireSmO9vRYZ6+TfljwNRJ4XvIHY7+oAtAkg+zHEZfzpMBaHyqkRoSv0vDweRgoIR6e6YSg== 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=CRME0kuVbH9PV0OCC9XpD8m5BkCBA7YwplCrv35Wdes=; b=dEXUicKvjBfDRXYOKqOwpBUoa8yiXFwNz6gGfzVkzABtfLY9MkMCPYOjO2ckAaFF2WqYrCoCtzfcw0J8zbC2+UtKf65pkuWqSOk3sTQZIuvjllLFoH+3RBHkPIKqdsnStHuGmaS1R6CKioKc2UwgFqip+9BJTPVeGSWL+vCHBRQ= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by SA1PR10MB6664.namprd10.prod.outlook.com (2603:10b6:806:2b3::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 12:24:30 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::8456:ba59:80ec:d804]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::8456:ba59:80ec:d804%7]) with mapi id 15.20.6363.027; Fri, 5 May 2023 12:24:30 +0000 Message-ID: <98eaaa87-ae33-5479-dee0-71e42bc5d798@oracle.com> Date: Fri, 5 May 2023 13:24:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 1/5] driver/perf: Add identifier sysfs file for CMN To: Robin Murphy , Jing Zhang , Ian Rogers , Will Deacon , Shuai Xue Cc: James Clark , Mike Leach , Leo Yan , Mark Rutland , Ilkka Koskinen , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, Zhuo Song References: <1682329456-19418-1-git-send-email-renyu.zj@linux.alibaba.com> <1682329456-19418-2-git-send-email-renyu.zj@linux.alibaba.com> <12bf4a7f-e99c-47cf-e8e4-e2700db6c5c9@arm.com> <6bb7eaee-2d00-46f5-89ff-95133aea9a5d@arm.com> Content-Language: en-US From: John Garry Organization: Oracle Corporation In-Reply-To: <6bb7eaee-2d00-46f5-89ff-95133aea9a5d@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SGXP274CA0002.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::14) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|SA1PR10MB6664:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d54c51b-39fa-4e6c-1317-08db4d63ace0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Fcz1y7Z8S3YnzPcc0QxtXZNSmmn4FYO27onTRoNt22P9UOc8dnraYvM8l/J8Jqo0Lvt9LZ6j2cydHgkHwYfv+QFsC0N4xkDIejC5H/TNmcDMxWsVL2mA0GbBeoTkZWSe6WLgn0WpmFasHIs2GOvKm6L5sEIom/STsrUXAuahzGDudH+pAPe2F8zS/KBaCJa9lsmyG6taZiHOcU68sGx8cZD2c7fzVuovCH9DtTmkhIQwc5vdACriZGH+UWPnEQ2VSgnH7x8A4xdD9JH3ldEbX5h9Af7TxkrufHwTWHHCC+1sasOZWvETlOoxKb/b4HIx+slJybTwrK///xDqs46UEMzWqQLmMKRPAUWkDegjp16oy25N0yiQn/ZF15x9g0UQNMamkD47/95bxz6nhTvZ+0pERnHY9R4yzi4vJMnKhOpEDmNpTbcggLhy9e1VuVyag5CCQap0Grx3PG2SvvIDQwC7dvI+bo348dVnRkHhCI6+tXpv0/qHimP6VoivkBkR8RmbVxJH0+GyH0Gt+Tok/9Ihdn63NDrWnxXyAwaZEHjJnVZk+cg4ejRYLP47tMd63zBtvsqt1AVdhC90eoqwXRKE2osuH2FtDx3k5tptwirV8imhGlx13yT3JoBv3oaHQh54rFdFw1+6FWdh0VWVjA== 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)(366004)(376002)(346002)(136003)(39860400002)(396003)(451199021)(31686004)(36916002)(66946007)(66556008)(66476007)(4326008)(478600001)(6486002)(316002)(110136005)(54906003)(36756003)(6666004)(86362001)(31696002)(2616005)(53546011)(6512007)(6506007)(26005)(8676002)(8936002)(5660300002)(41300700001)(7416002)(2906002)(186003)(38100700002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UlZtYzFlZzFRUGJEYjVoZDF3WW13cE1JUHhldGVCcktYUzdFWGZGcW1zZk1h?= =?utf-8?B?a0ZtTDZsakgyRFExcFNidGVOSFdCMmRXcGVFK1JFZzVxbWQ2c2NhMUdtcHNV?= =?utf-8?B?ekNQU1o5Z2x6ZGdGUmxTRmhJTXNPZ0ZESVRKZmVPVFNpVE5ERTM5ZGF3UnBW?= =?utf-8?B?K3UrcWlVRDQwaFNIQkxmYmZMTzZpdDF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a-4e6c-1317-08db4d63ace0 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 12:24:30.3867 (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: oQhYCnWe/vOr/Cra1+cGXRV+mC4cx1S3KvSItsW6qS2sffa1H0SyNBLFt8LcYOrbRu7zbWYqkKq7a8DIzh6dMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB6664 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-05-05_19,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 phishscore=0 adultscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305050102 X-Proofpoint-GUID: 6O5zfVXUsd-PK2Kk3BMsIjBvlfE5oj-B X-Proofpoint-ORIG-GUID: 6O5zfVXUsd-PK2Kk3BMsIjBvlfE5oj-B X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE 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/05/2023 13:15, Robin Murphy wrote: >> >> ok, I see, that's what I was asking about in the cmn-700 JSON review; >> and from what you say, it is not the case that we always have the same >> events for every revision. So we need a more fine-grained identifier. > > Yes, it's mostly just a case of new events getting added as the > microarchitecture evolves over the product's lifetime, I might have mentioned this before: Currently userspace matches both the PMU sysfs name and this HW identifier for creating these event aliases. For fixed events - like those non-IMPDEF ones on the PMCG - userspace could just assume those standard ones are implemented and not need to check the HW identifier. Maybe this will help with scalability of JSONs for CMN PMU implementations. Or even HW identifier wildcard matching. However, as you might anticipate, we may need to add some sort of userspace support for times when HW implementations get messed up... > but there has > been at least one event ID which had a meaning in very early versions of > CMN-600, was subsequently removed, and then got reused for a *different* > event a couple of revisions after that. > Thankfully I believe those > earliest versions only ever existed on FPGA internally, and the TRMs > were never made public, so upstream doesn't care about that specific case. ok, good > >> For DT support, I suppose per-revision compat strings could be added, >> but I would not be sure what to do about ACPI. > > We know the version from the ID registers, that's no problem - it's > already used to manage visibility of the sysfs event aliases. In > principle we *should* have a model code in CFGM_PERIPH_ID_0 as well, and > be able to compose an identifier exactly the same way as > smmu_pmu_get_iidr() does in the SMMUv3 PMCG driver, but as I mentioned > before I'm not entirely confident in the implementation: I do happen to > know what codes have been nominally assigned for each product, but the > TRMs claim otherwise ???? Thanks, John