From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62C31C77B7A for ; Wed, 31 May 2023 09:10:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235426AbjEaJKU (ORCPT ); Wed, 31 May 2023 05:10:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235376AbjEaJKO (ORCPT ); Wed, 31 May 2023 05:10:14 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B17D113; Wed, 31 May 2023 02:09:57 -0700 (PDT) Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34V96TND027292; Wed, 31 May 2023 09:09:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=quP1OhxcIC+x7rTWyNu2EVOZQHAIBAVyyiFtiprOc18=; b=kFd5enSCzfSFZStI/+1xvlHMABZFEy/RK9cX2NfhWwAMNHbFHunKK+bbUdRFwVb4QTBb Wz+gSXFeQBa+21Ln66Km0DWPz8nhF8m6y6w07M+8CwC9GQzcFNMwV/nilvGqylVsiv60 RmrGd3NJGIS8R8BquuulAB8GPY+Pv/tiOLcD3w90BAp+EibNsV38HfvDQdNm5qtYnmwt YtdDr5VwAQ8ljjqebLltHl2ne3F858nC/zZkBObeCSbkYsL+x3V9/TZeGYk96qxHgHkf cow7MVDBdFY9FkNa48Y7DlDgU3oP5cpth7gmj7SQ4zPDWvn7P+oZcnZlu6p2KMGOvvIg EA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qwnb32ffm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 May 2023 09:09:28 +0000 Received: from m0353727.ppops.net (m0353727.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34V987Wm005274; Wed, 31 May 2023 09:09:27 GMT Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qwnb32fe2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 May 2023 09:09:27 +0000 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34V982OA032535; Wed, 31 May 2023 09:09:25 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma03fra.de.ibm.com (PPS) with ESMTPS id 3qu9g59k0u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 May 2023 09:09:24 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34V99Mv520578872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 31 May 2023 09:09:22 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5F6A02004B; Wed, 31 May 2023 09:09:22 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C240620040; Wed, 31 May 2023 09:09:21 +0000 (GMT) Received: from [9.152.212.239] (unknown [9.152.212.239]) by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 31 May 2023 09:09:21 +0000 (GMT) Message-ID: Date: Wed, 31 May 2023 11:09:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v4 3/4] perf/core: Remove pmu linear searching code To: Ian Rogers Cc: Marc Zyngier , Oliver Upton , Peter Zijlstra , Ravi Bangoria , Nathan Chancellor , namhyung@kernel.org, eranian@google.com, acme@kernel.org, mark.rutland@arm.com, jolsa@kernel.org, bp@alien8.de, kan.liang@linux.intel.com, adrian.hunter@intel.com, maddy@linux.ibm.com, x86@kernel.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, sandipan.das@amd.com, ananth.narayan@amd.com, santosh.shukla@amd.com, kvmarm@lists.linux.dev References: <20230504110003.2548-1-ravi.bangoria@amd.com> <20230504110003.2548-4-ravi.bangoria@amd.com> <20230524214133.GA2359762@dev-arch.thelio-3990X> <20230525142031.GU83892@hirez.programming.kicks-ass.net> <86jzwtdhmk.wl-maz@kernel.org> <86h6rxd3gh.wl-maz@kernel.org> <0075d8a9-2df4-86eb-8171-8995f59904e0@linux.ibm.com> Content-Language: en-US From: Thomas Richter Organization: IBM In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 0X-E-Bx9CV-s14kGjp_31pK7La_mSyw4 X-Proofpoint-GUID: 0pGHpbZf67DtHx-buIhLHjZBxr92S-Q5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-31_04,2023-05-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 adultscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305310078 Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org On 5/30/23 16:00, Ian Rogers wrote: > ls /sys/devices/*/cpu* Hi Ian, here is the output yo requested: # ls /sys/devices/*/cpu* cpu0 cpu3 cpu6 hotplug modalias possible smt cpu1 cpu4 cpu7 isolated offline present uevent cpu2 cpu5 dispatching kernel_max online rescan vulnerabilities # In fact it is the same as # ls /sys/devices/system/cpu/ cpu0 cpu3 cpu6 hotplug modalias possible smt cpu1 cpu4 cpu7 isolated offline present uevent cpu2 cpu5 dispatching kernel_max online rescan vulnerabilities # This directory tree has nothing to do with events for perf, it is merely used to support CPU hotplug on s390. The PMUs on s390 are # ls -ld /sys/devices/{cpum_,pai_}* drwxr-xr-x 4 root root 0 May 25 15:45 /sys/devices/cpum_cf drwxr-xr-x 4 root root 0 May 25 15:45 /sys/devices/cpum_cf_diag drwxr-xr-x 4 root root 0 May 25 15:45 /sys/devices/cpum_sf drwxr-xr-x 4 root root 0 May 25 15:45 /sys/devices/pai_crypto drwxr-xr-x 4 root root 0 May 25 15:45 /sys/devices/pai_ext # I hope his helps. -- Thomas Richter, Dept 3303, IBM s390 Linux Development, Boeblingen, Germany -- Vorsitzender des Aufsichtsrats: Gregor Pillen Geschäftsführung: David Faller Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294