Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3143928rwo; Mon, 24 Jul 2023 06:59:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlFkkO0yFOPAvF2RFPG7AqJQd9V9gL8EDFsk78bLPMuFZhF5sq7mPnxJpeSV6Ux2fkTrb4mz X-Received: by 2002:aa7:da0a:0:b0:51e:36b8:34fa with SMTP id r10-20020aa7da0a000000b0051e36b834famr9800083eds.4.1690207166743; Mon, 24 Jul 2023 06:59:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690207166; cv=none; d=google.com; s=arc-20160816; b=bPyMZtuurK5XnhQqyOclhYWUoGW2mOlAd2077Fy9+bjL1qt0eyIZYJG6M/EmDdHVro gSsIdX5lVDDbNU5c2L9oWFvXPdKeFI6IMuQyiJpFxBFMS6K6kFcfz5/w20SEIuQI/eYb EhbbNK03yhunxvH8ECVphdHUg8m8QB0QduSUc23KCr3R6gZ+YG29ftSYSDArMSqeJdTU XfYUWi4rWT487iOl2GpGiiyRK1wfXMwqX92CwElqkSws3xqhVpNkqp60wXD4i+2MD2I1 4l8wOuFkQ6PKMw68DV40dPBbdMIwVvQSDhx9TE2ncJ/YrfQIOdBxeZpduAcSLPoduqwd XcDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=mF+nZAMv0FJHm7xe/Zk6gmni4RdsmvH79jpuyU7/raU=; fh=whuqqPDMCuf3pVIxi4ys9+C5pEOkF8a7QCuVDNap2s8=; b=G79WacVB6806E9ei0PRx646n2yRNy+01fuM/mZQObGyTpW5/rHOyVOZ4PhXHVO5mlO MxLqBctQ6ylDRk2zzpBSJkv+utsi+EWYETtTPxHxfqP3RSnI2cCS0O0S6Z6m0E0rcdEz vuM3Cqq3GXkXFTTNpxWmPHdOXqgKNzOMAu291BvTixccnvKzm5F4qPC2xPTnQJoMRHhl +4BrrB5mVttP1pSCn9emwvUqS4/SDNeGcX8VFL76U630ZkUY28m8XnOwxH2xeEJlD4Mf KdZXPl2eDtgnhA1UBnElOBOTWhmm+pPn+1qYEktEbRD77u465aQkpHBCGeBjP9yzhnq5 y8Mg== ARC-Authentication-Results: i=1; mx.google.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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t5-20020aa7d4c5000000b0051de55a2392si1131010edr.505.2023.07.24.06.59.02; Mon, 24 Jul 2023 06:59:26 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230272AbjGXNtC (ORCPT + 99 others); Mon, 24 Jul 2023 09:49:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231216AbjGXNsR (ORCPT ); Mon, 24 Jul 2023 09:48:17 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D5FE03C19; Mon, 24 Jul 2023 06:45:58 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 89D53FEC; Mon, 24 Jul 2023 06:45:55 -0700 (PDT) Received: from e127643.broadband (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A854A3F67D; Mon, 24 Jul 2023 06:45:09 -0700 (PDT) From: James Clark To: linux-perf-users@vger.kernel.org, irogers@google.com, anshuman.khandual@arm.com, will@kernel.org Cc: James Clark , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Thomas Gleixner , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Kan Liang , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/4] arm_pmu: Add PERF_PMU_CAP_EXTENDED_HW_TYPE capability Date: Mon, 24 Jul 2023 14:44:55 +0100 Message-Id: <20230724134500.970496-1-james.clark@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 Changes since v1: * Removed "legacy" description of PERF_TYPE_HARDWARE and PERF_TYPE_HW_CACHE events * Shift down remaining capability bits instead of inserting /* Unused */ in the gap (last commit) Applies to v6.5-rc3 --------------------- This came out of the discussion here [1]. It seems like we can get some extra big.LITTLE stuff working pretty easily. The test issues mentioned in the linked thread are actually fairly unrelated and I've fixed them in a different set on the list. After adding it in the first commit, the remaining ones tidy up a related capability that doesn't do anything any more. I've added a fixes tag for the commit where PERF_PMU_CAP_EXTENDED_HW_TYPE was originally added because it probably should have been added to the Arm PMU at the same time. It doesn't apply cleanly that far back because another capability was added between then, but the resolution is trivial. Thanks James [1]: https://lore.kernel.org/linux-perf-users/CAP-5=fVkRc9=ySJ=fG-SQ8oAKmE_1mhHHzSASmGHUsda5Qy92A@mail.gmail.com/T/#t James Clark (4): arm_pmu: Add PERF_PMU_CAP_EXTENDED_HW_TYPE capability perf/x86: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability arm_pmu: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability perf: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability arch/x86/events/core.c | 1 - drivers/perf/arm_pmu.c | 10 ++++++---- include/linux/perf_event.h | 7 +++---- 3 files changed, 9 insertions(+), 9 deletions(-) -- 2.34.1