Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp102326pxb; Mon, 13 Sep 2021 14:09:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVGKCepvL2+7aCJZ0qvbWCRQPI5tb9+NInoVoMOKJbMyQwsocjF29GNeq0adjWej4ZACUp X-Received: by 2002:a5d:9e09:: with SMTP id h9mr10760766ioh.164.1631567344265; Mon, 13 Sep 2021 14:09:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631567344; cv=none; d=google.com; s=arc-20160816; b=p5Kq4SjkzH/vfB67HFlTvAO/qM9NwVsHk2Iim6aCpuZn2v11onspGO+gYkNUn1dzWT n0/VnNNgcx6tPuv0yXSrC7tN9Gz/QqUlkmTImnfvWNMg3Ji/umfzVkRSvZKRkGNn7J13 Y9gesgD31Gt7ZPqDG6a46BqlWvKeG0FczDO8jp2GLLJua4W+aNdVCKik8nHY+MG6+Cec eMBAH9f2zigcP7qmXhGadkKqVy6Hbff29Kl5uNyAPgJTO9F/KMPo3A3qLmHD61OfPOPU lkykfUE9SaZDs5W1j29PqRhVcwebYTKYJm68vh0V1P2a95UbzoyXQiIFM1pSQlMVuoiI y6Jw== 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=Fx6y4hyN72O8TLzyqjTd9w6TyppWyhEPXb4VAWSY6qc=; b=aRfKqLSayUbbPvydnj1XQ5ysrLi3IEE+imFItsd9Rk4iW6xEY9v+xHBE3Xh+sXSc4J NSAsdQ2YphjUHGR0L3L8vp3tbmxYo4cbsOx54HWfPXO8DZCAsq5r+axF0YypZjjzvczC ZbT9YjR8xbWh9fQv23ktVADyyv9XDUTkaD/c/xwOrA+JHwGr/12CDSk8wLmQ7kV0H80q GJR1VdDQPqcQVbdPuXxeH8n9xxlMbHdKH8XgUP5Ci7zlmQRFEhnXBcKSxnUCAL9mR+UF Uw5v+DWJzZdL6TY6JW3UxWqaDvw5TEHvkk/hl4prjJprVTD60Ng0XbVHNzyE0Uv/69AL ImMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FryOUEXm; 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 n3si8596321ioh.98.2021.09.13.14.08.53; Mon, 13 Sep 2021 14:09:04 -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=FryOUEXm; 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 S243568AbhIMNvU (ORCPT + 99 others); Mon, 13 Sep 2021 09:51:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:56742 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244062AbhIMNrc (ORCPT ); Mon, 13 Sep 2021 09:47:32 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 287D261529; Mon, 13 Sep 2021 13:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539938; bh=5hD6q1pzoGrR6xKPjQolXDNYdii5N34BwihUufb8VPI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FryOUEXmW05sP06pti6Ae+uq3xOjEEFCUc8dCpfO5oT+AXxkrO03orN+Z0HjG+c7d HNYU29flZRn0P2Z7d9wN04SALcbJcoR5E/rEAHL9dmbA58PQX6QlUpzWd5xD99xGBy Pnyi0UkvNPYwvJH/sRaNZQDXsSOQi0XtlwQzx2PQ= 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.10 222/236] perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op Date: Mon, 13 Sep 2021 15:15:27 +0200 Message-Id: <20210913131107.907715659@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131100.316353015@linuxfoundation.org> References: <20210913131100.316353015@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 @@ -571,6 +571,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,