Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35286809rwd; Mon, 10 Jul 2023 05:29:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlGvSs79anu1oPqCEmJO6qzejimFZ7l4BSeHBqoQjOqJQBTou+KdyE1HEOf8rkKj7VuT/81I X-Received: by 2002:a05:6a20:429f:b0:12f:6500:8504 with SMTP id o31-20020a056a20429f00b0012f65008504mr16968182pzj.46.1688992179518; Mon, 10 Jul 2023 05:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688992179; cv=none; d=google.com; s=arc-20160816; b=HpMqF3r3SXse/HGKNKHmuvI1vUxkBmkPtGvf2WUWs808QTLAFK1gsWPFKCOKh4S/0X enp8VjrP8n77IlmNPP+9I1FsC3jLkdcKnsQu3ucYbD9QrZwQ6tq2iyudd4hmqXJ1P5iQ vLxhJEvIUK8nWEk44L5sfb9jhtkmTep21zvj4yxcBjPzfdktAxfD20AJlndYZOgOUu1/ smYhTu8H2sMjq62x/tTR770hTc5SQhoboDix1JuZTiFyEK0MQmyHbANfh1NpjbR2ADGF JRYK1NClaRgHevGYGOXSCDNeRCaAo1JJRLnR5cPofmPd3iMrk9nt8uANgjmCKSlwu3MQ f3DA== 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=ix11Xaqt0Hp/5YSruthGHaonWzZhNmYimfTei6eIAMw=; fh=kgglI1VH9kXDBjmn5Au5+0gE4Ed28d3Mjok+pEOINHQ=; b=X/kAEEMqwZa90qYTaA0affHBvE9s2o3d2uJSqhSFg9ZJDVvHP5dG+o77coobeGmMgY NQC2QzOnL5H9ux6vvUJNRYj6MGRdgoArMu/a+YsratPLt5L5dpnDoqTS+Ozu9K2WQvWf PI23GgVOUuVziznvSpC7mgNRyV/unCkdE0gyH26BMpbKKGjmqFFLxnCa38cBfwkP+Btm FHBOw7+EqtZxDnSjevmisGo0RITbDop5VC70NrB5w64sc64K2owzrOdbuns728RVBAM8 jYVUixOxTLMkme569xg943SLevDFYOd1eqg8/JNoVrNdU80NVSgB5MnUxlchTJ0tNi/7 qqAw== 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 y14-20020a056a001c8e00b0067f03c85d73si8585993pfw.115.2023.07.10.05.29.27; Mon, 10 Jul 2023 05:29:39 -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 S230310AbjGJMWB (ORCPT + 99 others); Mon, 10 Jul 2023 08:22:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjGJMWA (ORCPT ); Mon, 10 Jul 2023 08:22:00 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0BF95C7; Mon, 10 Jul 2023 05:21: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 E658B2B; Mon, 10 Jul 2023 05:22:40 -0700 (PDT) Received: from e127643.arm.com (unknown [10.57.29.214]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C59153F67D; Mon, 10 Jul 2023 05:21:55 -0700 (PDT) From: James Clark To: linux-perf-users@vger.kernel.org, irogers@google.com 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" , Will Deacon , Kan Liang , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/4] arm_pmu: Add PERF_PMU_CAP_EXTENDED_HW_TYPE capability Date: Mon, 10 Jul 2023 13:21:33 +0100 Message-Id: <20230710122138.1450930-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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 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 | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) -- 2.34.1