Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35295204rwd; Mon, 10 Jul 2023 05:36:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlHWUy+vgPqHVxNMCPtwcGbt+jDtFid8urCe1a07x2ShAEe6G2KrWOZAnd2Fn6jlJfXW5wYx X-Received: by 2002:a17:906:1046:b0:993:d5bd:a763 with SMTP id j6-20020a170906104600b00993d5bda763mr9568084ejj.20.1688992601870; Mon, 10 Jul 2023 05:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688992601; cv=none; d=google.com; s=arc-20160816; b=rtdxzLzPe5sBUXGNv55A8AXD7GdfXzl94zoX5gaFXPTybECtJOZvypkaVwn3/v4Fc/ IRPEg9uua5IAyKPSirI/LxR6WAcjnJdEWZa4cWTY5ZytAPw+Hp2pGpL3M9IWTykNimMj F8OsvbH+9sKs5+EYO76+mpj7cGGlckEz084Ba7IF7J9ZhHX162/TmzEjknDeEufUihHI bElBiytgQU0ERNB0z9rt1s/TM5sxOWRkJhdxWMhxXcxYoM2ZfhkZfCcEzuO/TyOQIwGi hmRynlj5JV4WuavEoOnMrqSItS0591pjnkDtCidHBWm65ITsUuTjtCfcJdmdDheLX+sE FsTg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=B7HOxb3Kb8MoG2mJ6Jhze/lt/h8yxUkjhKZZzYbrT3g=; fh=kgglI1VH9kXDBjmn5Au5+0gE4Ed28d3Mjok+pEOINHQ=; b=Wz8oFbsC7Ud/FOQvXKtk5ZkMzGSr8vn9N7NnCaNsDEaECmRAerkoREI8twweX9Z336 IxuRMLbHIf1a1PuUWu6mvmWSE3DSXw7Shf3bYUhx6AQmAAfAlATVPiHKwuXYcAYcOqR1 PkpJJb70zIsEcwm0GVUGM4Kz3bnIkoQv4PcPhnpkPK9cRnRjZpP8nlKbo8WjniIE4cB+ 9S65AOA3YMDxjZFTU8PWmCO07osPXQ4EZroOyUxU39y/tb/kalpBe0Y0KvB3mLxxoaqP nXjPojCJpAehb4L4xIGDIei1CbLvtnRAZSsIsAAE5AAZz2FmjN/pc54cMGbV3aqt0kfN efRw== 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 c23-20020a17090603d700b0096fe1a56de3si4008839eja.1048.2023.07.10.05.36.16; Mon, 10 Jul 2023 05:36:41 -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 S231702AbjGJMW3 (ORCPT + 99 others); Mon, 10 Jul 2023 08:22:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231513AbjGJMWR (ORCPT ); Mon, 10 Jul 2023 08:22:17 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 15D0C13D; Mon, 10 Jul 2023 05:22:13 -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 F37AED75; Mon, 10 Jul 2023 05:22:54 -0700 (PDT) Received: from e127643.arm.com (unknown [10.57.29.214]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D487E3F67D; Mon, 10 Jul 2023 05:22:09 -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 4/4] perf: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability Date: Mon, 10 Jul 2023 13:21:37 +0100 Message-Id: <20230710122138.1450930-5-james.clark@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230710122138.1450930-1-james.clark@arm.com> References: <20230710122138.1450930-1-james.clark@arm.com> 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 Since commit bd2756811766 ("perf: Rewrite core context handling") the relationship between perf_event_context and PMUs has changed so that the error scenario that PERF_PMU_CAP_HETEROGENEOUS_CPUS originally silenced no longer exists. Remove the capability to avoid confusion that it actually influences any perf core behavior. This change should be a no-op. Signed-off-by: James Clark --- include/linux/perf_event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index d5628a7b5eaa..3f4d941fd6c5 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -288,7 +288,7 @@ struct perf_event_pmu_context; #define PERF_PMU_CAP_EXTENDED_REGS 0x0008 #define PERF_PMU_CAP_EXCLUSIVE 0x0010 #define PERF_PMU_CAP_ITRACE 0x0020 -#define PERF_PMU_CAP_HETEROGENEOUS_CPUS 0x0040 +/* Unused 0x0040 */ #define PERF_PMU_CAP_NO_EXCLUDE 0x0080 #define PERF_PMU_CAP_AUX_OUTPUT 0x0100 #define PERF_PMU_CAP_EXTENDED_HW_TYPE 0x0200 -- 2.34.1