Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp580563rwd; Wed, 31 May 2023 02:28:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6fe6QIQFnchEutmi9l9RT5Rdq9jfDzB1J6ko0vRufgrechjA1oScow3zaMbzjbwMZpRaRz X-Received: by 2002:a05:622a:4cf:b0:3f8:58d:713 with SMTP id q15-20020a05622a04cf00b003f8058d0713mr4944651qtx.55.1685525280484; Wed, 31 May 2023 02:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685525280; cv=none; d=google.com; s=arc-20160816; b=nCpMlim3DyJZspG+S7CX0BZxQQZ5zOTcGhX+jDHtYoEt8/Ktfl8Y1KWt22/PHNjV0i v8U9so2K+dF3LcWNpYewGa9npBhiFqZ+Xy9Qg35odxhfqpPDpeEJ0etyvKYEnAXIjSvy GX5d31j4B7tE2MEly23QSqqdvCOX1iAUi6MI8/DXFMummK0ZvJivIbggTwttOGpU+xGu 5IWS1/EOtkInUixBe855DPhCrIOKRSKxb+ubCcFMkWl5hxG9zj8hoHBdeUWe9sv3xGUf 4P8rgdk2wIHXl/j7/N0JHjozBlEIugZuhQnrvWafEELY6UQfQQ5b8VTO+tbKyqqsZ+Oe xcDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=quP1OhxcIC+x7rTWyNu2EVOZQHAIBAVyyiFtiprOc18=; b=vYGBmrbkUuLzBK8DnFYuHjJ1zLF5UNT+HMJN1fVLDSD1obg+M54J/OSlgzIGPeglWq hQ0lO+JI4jYAQ+34Jgk0pCpZLzJUl88Lv1oRO9/+qbCk81aou/Io4jo1tnmo+OSmx3Sg ISsEGGQAm8R07fVB0K2ekrncnAUBMvVpUWSWIOxZAFKdCs7fxSG8DSATGvZ3f1BjRG2I yiu1dYIH6vhYeqxFaa/mwQxUdyTDJ408KaNBGsW3Y+p434fVw7x6Kt9hpRvmjoWUydun R0Op7H8RhB0cSj7zD8dT2M7lMHN0YhUVrxfC5MwM6NsMI98l36tfgJWK6d73SNIL70m7 dR4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=kFd5enSC; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a63b407000000b00528513a135bsi700724pgf.49.2023.05.31.02.27.45; Wed, 31 May 2023 02:28:00 -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=@ibm.com header.s=pp1 header.b=kFd5enSC; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235410AbjEaJKX (ORCPT + 99 others); Wed, 31 May 2023 05:10:23 -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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,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 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