Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp43311pxb; Mon, 13 Sep 2021 12:26:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2iSBs3evhaVilrIaDVlb0f6O0EKqjHe0KHCM3kVo/989+5G6Pld4bIkxtpyCqqQEQJKUh X-Received: by 2002:a05:6402:17cd:: with SMTP id s13mr14714991edy.321.1631561181711; Mon, 13 Sep 2021 12:26:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631561181; cv=none; d=google.com; s=arc-20160816; b=Rd/X//07IsgIfeTAF8I0XtCvJiGapt4n1ANGFJ1htqouwXpFJs82Z3RaXSMoWoHkk6 4O7wHcDxkG0ZaUnnWhLX38IXGhsm/rVmsE2IwjhL653nKJmbyuat9n7M6M7TCelkf/Xl qBCD2iulLAQ+v0ibLAuD8mPwvW6RrOmdcmdrXxcGSa+1O3QVriSbi0uBIIJW5rLTAPIs sMzoJ7RtiQZFLwuTjDDJ0/62Qh69xF1SXq3tMpuSB0hrsDHUPotDYTZqJ+sg0UtPmP2K 84yevRbnJ/SzbsFS2BYQByIH4HKL3sZC7FRw0ouMb9hiAoEkmtxLAAlL9pt2BStU8KBe d11w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=dDUYI9br0Fv+JLwZMEfCd5L8XRQkoOwPjZr8zfc8HFA=; b=RGSr91w647I3+CMbaa0dNUZfoj4behRCXIiLBG1QGeth4k1W7pYjKECR9SugPKSg94 s4fIawDcPxZiJ75VDUv39/tZ0xRKniTvV9KdGImlutHnbBWwdwPRdvzGNI86SnFLz3yQ 03z7cWIoEJgxcjUZtl36jmb0nFrRDH6Ne5ajULWYB1TcwmbJ9GmB5zBJWbCB3lvf8Quv RezLMcq0nzddidNPnZIjBEcq7F79rPbMN//wVO75gzLQvM3w5mSwdESdUFf0twvpZT2W IHXNja10rXASCt+MOPDEYMhCi5r5xTV6W+/XHDDSQZEHW2HsWC0SxWHl7plVEIMBUHyZ V0Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aBIAlHqZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p31si1077012edb.554.2021.09.13.12.25.57; Mon, 13 Sep 2021 12:26:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aBIAlHqZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240968AbhIMN3K (ORCPT + 99 others); Mon, 13 Sep 2021 09:29:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:50120 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242107AbhIMN1G (ORCPT ); Mon, 13 Sep 2021 09:27:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CE45A610A2; Mon, 13 Sep 2021 13:23:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539385; bh=oku3pLsjyovZf5YixxUHNZcpBZYcguqX0BLtEYNXb6M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aBIAlHqZ4zut0lFdw28s41yFvqWKHUIz4FymvfoNYGwYbdn6BUdINMNUVGCD+uDlr sNZO5N5IwtdiubRJiFVOaSOMwjkKDXY4khyRzDxxIYf9JWumThUSwye+fuJLGbGQDv glAEO8HcwT6y43JNQwcF6+U9gl8fd35FtVZrY5dk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kim Phillips , "Peter Zijlstra (Intel)" , Ingo Molnar Subject: [PATCH 5.4 133/144] perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op Date: Mon, 13 Sep 2021 15:15:14 +0200 Message-Id: <20210913131052.385500911@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131047.974309396@linuxfoundation.org> References: <20210913131047.974309396@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kim Phillips commit f11dd0d80555cdc8eaf5cfc9e19c9e198217f9f1 upstream. Commit: 2ff40250691e ("perf/core, arch/x86: Use PERF_PMU_CAP_NO_EXCLUDE for exclusion incapable PMUs") neglected to do so. Fixes: 2ff40250691e ("perf/core, arch/x86: Use PERF_PMU_CAP_NO_EXCLUDE for exclusion incapable PMUs") Signed-off-by: Kim Phillips Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20210817221048.88063-2-kim.phillips@amd.com Signed-off-by: Greg Kroah-Hartman --- arch/x86/events/amd/ibs.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/events/amd/ibs.c +++ b/arch/x86/events/amd/ibs.c @@ -562,6 +562,7 @@ static struct perf_ibs perf_ibs_op = { .start = perf_ibs_start, .stop = perf_ibs_stop, .read = perf_ibs_read, + .capabilities = PERF_PMU_CAP_NO_EXCLUDE, }, .msr = MSR_AMD64_IBSOPCTL, .config_mask = IBS_OP_CONFIG_MASK,