Message ID | 20210906125450.358827163@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13DC6C433EF for <stable@archiver.kernel.org>; Mon, 6 Sep 2021 12:56:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EDAA36103D for <stable@archiver.kernel.org>; Mon, 6 Sep 2021 12:56:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242503AbhIFM5k (ORCPT <rfc822;stable@archiver.kernel.org>); Mon, 6 Sep 2021 08:57:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:33768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242478AbhIFM5g (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 6 Sep 2021 08:57:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D9CBC60F92; Mon, 6 Sep 2021 12:56:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1630932991; bh=Z7ZtcPEy1FMzLPQrn0UBOdcK4Q81uNW2/YJnYSpftXM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P6fWOd5jJ9y7cH0gLfxQMsmXgfipNDEBtshnNV8GOJm4oMd1Lc0xJMKQZ7zOCsev8 /5HDHvQ3tyLNwDuaPee9CQMzVCk21HhI6CTbhnccZTIABDGJHT5rucejgM1xD9UGNc i7XJg0bipNajm1JoyQ2ebDUPolgkc9/SVSEGnMwU= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Xiaoyao Li <xiaoyao.li@intel.com>, "Peter Zijlstra (Intel)" <peterz@infradead.org>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 5.10 17/29] perf/x86/intel/pt: Fix mask of num_address_ranges Date: Mon, 6 Sep 2021 14:55:32 +0200 Message-Id: <20210906125450.358827163@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210906125449.756437409@linuxfoundation.org> References: <20210906125449.756437409@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: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/arch/x86/events/intel/pt.c b/arch/x86/events/intel/pt.c index e94af4a54d0d..37129b76135a 100644 --- a/arch/x86/events/intel/pt.c +++ b/arch/x86/events/intel/pt.c @@ -62,7 +62,7 @@ static struct pt_cap_desc { PT_CAP(single_range_output, 0, CPUID_ECX, BIT(2)), PT_CAP(output_subsys, 0, CPUID_ECX, BIT(3)), PT_CAP(payloads_lip, 0, CPUID_ECX, BIT(31)), - PT_CAP(num_address_ranges, 1, CPUID_EAX, 0x3), + PT_CAP(num_address_ranges, 1, CPUID_EAX, 0x7), PT_CAP(mtc_periods, 1, CPUID_EAX, 0xffff0000), PT_CAP(cycle_thresholds, 1, CPUID_EBX, 0xffff), PT_CAP(psb_periods, 1, CPUID_EBX, 0xffff0000),