Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4229304rwb; Mon, 31 Jul 2023 03:50:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlF4WGRUd2rkeBjQNfSS7r/5xFIRwXLpX7C94nqZHSPgevfJ3433BFQ3FtJPS9LtLctbom7O X-Received: by 2002:a05:6a20:3d8f:b0:106:5dff:5dc6 with SMTP id s15-20020a056a203d8f00b001065dff5dc6mr12106913pzi.16.1690800651697; Mon, 31 Jul 2023 03:50:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690800651; cv=none; d=google.com; s=arc-20160816; b=N/SVEDtHNb1NNb1t9z1e3E/9rMAHGXiaVAQOCkByP0UFvq0N8BPa/dXXfAmhu4Nz1B hpSlwv4FzMKroA+UKgblQ1FBds7Xk5bRGMce2OgRxzBNQ7EKPrFf7HbPD2bsaGnHpPVz /g0J9lsy7FfYlZhiCag/9OzhOCokpYQcnk3TYKIiyTbXq6ZB2NGpSobv+wypfgcw4l1v vWD+r7fXYg2MeoYiF0j1Cg4D1v4eSzNYs2r9taFlitA0A2UUbalMYUtlQNqHs1eYlxLS Gan0D0Kvq7sys3qAvAo091dI+l851lkeJlBmni9IrW3eW7ZUBdiv7e2NKRMrCCCB2rXk zTFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=v16GS4bcPgXubu6zg/xsRqgp7LY5t94J0pFTVC7YOBg=; fh=ZCxiijaRLa6UjGpvEfijvuWHm8iSyxMTnmDti+U60Yo=; b=B7Cy24geBu5PRJYS+rcaVHUJUh88EvCHD5y+T+VPKrXBtVo6skCPCmQcz+bQVSpbSC xq8Bhepj0GkfYhmnH7RpfK6b+Hjn0I9eT2MpnwM16s2FH3WeLrg8WLgYXYshZLhxOhUI sZRJ7EgkCUGE2cvelwlqDS/h1mD+OhtriLbE6tMrh9nA8xmB1J6Q4CgXR7iW3ffaPQXT sZ/ap4WG1q/u6Ciq2FP/VOl8f5249hNUfC56qy+MrCwOd1TG0aw6sbhAakd2o9AH4JkS E7GfI+GtOAIn4zK7HKDiUphoFX5lnrp0D8fFU/IugIfky5mf8TLcCP/6fRj4cCy/Q0ib yPPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=zhPZa3iF; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=Ll874X6W; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v185-20020a6389c2000000b00563e05f2e7asi7030836pgd.97.2023.07.31.03.50.39; Mon, 31 Jul 2023 03:50:51 -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=@linutronix.de header.s=2020 header.b=zhPZa3iF; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=Ll874X6W; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232361AbjGaKTj (ORCPT + 99 others); Mon, 31 Jul 2023 06:19:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231474AbjGaKTd (ORCPT ); Mon, 31 Jul 2023 06:19:33 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB5F9B8; Mon, 31 Jul 2023 03:19:32 -0700 (PDT) Date: Mon, 31 Jul 2023 10:19:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1690798771; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v16GS4bcPgXubu6zg/xsRqgp7LY5t94J0pFTVC7YOBg=; b=zhPZa3iF1NdFWMY1j9Sxd+feLergV049NE05co7igal59f3E99sj0PRHIfwfjDCuz+iaRD eK7Ti9blTxwZHJLoU+UvxwH/Aqk+mMPVJgv3k3YwPGqOXarFlghscZOKDKHV4raRpvtbdo nKY6z8yGmtT7vir/T1vzpkW00Ebm8RackF1i2HfYrI0bt94yKhdVA2yAjbLN8TindfVlgm LbYVNDf243rYQezLQlefpYiamuk+iB5upHl/Hf1UFCRe3t+8j9Nc5ebY1zLW4tUWxis+Ll OvvfhC7p1n6k7ahHJWxOR+WRFOqKK95Fcj6qpa+26MY03bW/iibKh1GWxAaATA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1690798771; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v16GS4bcPgXubu6zg/xsRqgp7LY5t94J0pFTVC7YOBg=; b=Ll874X6WVsyBo9IaWJK6mqRxIdUuwt2sxE5slS61UqgasON3E0W4kIA9Z2PFe+Kk6+vmAs NecD8ALtAxsn2dAQ== From: "tip-bot2 for James Clark" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] arm_pmu: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability Cc: James Clark , "Peter Zijlstra (Intel)" , Anshuman Khandual , Ian Rogers , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230724134500.970496-4-james.clark@arm.com> References: <20230724134500.970496-4-james.clark@arm.com> MIME-Version: 1.0 Message-ID: <169079877090.28540.17067379324093297410.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 The following commit has been merged into the perf/core branch of tip: Commit-ID: 80391d8c387d406e2ec79776ec834666ab9611b0 Gitweb: https://git.kernel.org/tip/80391d8c387d406e2ec79776ec834666ab9611b0 Author: James Clark AuthorDate: Mon, 24 Jul 2023 14:44:58 +01:00 Committer: Peter Zijlstra CommitterDate: Wed, 26 Jul 2023 12:28:47 +02:00 arm_pmu: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability 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 and associated comment to avoid confusion that it actually influences any perf core behavior. This change should be a no-op. Signed-off-by: James Clark Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Anshuman Khandual Acked-by: Ian Rogers Link: https://lore.kernel.org/r/20230724134500.970496-4-james.clark@arm.com --- drivers/perf/arm_pmu.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/perf/arm_pmu.c b/drivers/perf/arm_pmu.c index 2e79201..d712a19 100644 --- a/drivers/perf/arm_pmu.c +++ b/drivers/perf/arm_pmu.c @@ -877,15 +877,12 @@ struct arm_pmu *armpmu_alloc(void) .attr_groups = pmu->attr_groups, /* * This is a CPU PMU potentially in a heterogeneous - * configuration (e.g. big.LITTLE). This is not an uncore PMU, - * and we have taken ctx sharing into account (e.g. with our - * pmu::filter callback and pmu::event_init group validation). - * + * configuration (e.g. big.LITTLE) so * PERF_PMU_CAP_EXTENDED_HW_TYPE is required to open * PERF_TYPE_HARDWARE and PERF_TYPE_HW_CACHE events on a * specific PMU. */ - .capabilities = PERF_PMU_CAP_HETEROGENEOUS_CPUS | PERF_PMU_CAP_EXTENDED_REGS | + .capabilities = PERF_PMU_CAP_EXTENDED_REGS | PERF_PMU_CAP_EXTENDED_HW_TYPE, };