From nobody Fri May 8 03:49:54 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B98A5C433EF for ; Wed, 11 May 2022 19:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344055AbiEKTrp (ORCPT ); Wed, 11 May 2022 15:47:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347157AbiEKTrI (ORCPT ); Wed, 11 May 2022 15:47:08 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D3D63EAB4; Wed, 11 May 2022 12:47:07 -0700 (PDT) Date: Wed, 11 May 2022 19:47:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1652298426; 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=jrx3AOrvD5JypgnotHDpSJeTOo7x5wLEoLi5p72nfLk=; b=F+fmKMx5gDV9ucqhoT/SZyVxQOp2WaP2iCQ8pkO+5Ko+o3ac+zk7Vfa4yz/gbX2cqclA3k BFybvKpFRL35+xPsmXEDuH/wmdatLCOqujXA94UIsmZoRwkfERRSzqpkJ/RvP4aRy/pfYC 574nrnHsVNT/H3vXteRxywitn+F5lp3gU8ZSZzBFEtBkXIQ3sL8bfRxTJiMtoDyQcmmrtB GeGcm9ZzVovyl/EYxjQprKKVG1DzBco0Gl7jHmPuiR4otcT1z8cth2UVNloBSmdshdJkyj LDuGNK5TfZyETqe3yiHrmN0E0K0YtSzrstw3jfTPUVADbw/o3ODrCuiY6a2b4Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1652298426; 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=jrx3AOrvD5JypgnotHDpSJeTOo7x5wLEoLi5p72nfLk=; b=CNrRT1WMsPcgclEX3Jp9OHxB/wILZMoD//JOuYRKrjhQLZ7ATEv2ZgIvoZpgHDYFgqC4T3 QYxqLjoLNh5cLmDw== From: "tip-bot2 for Kan Liang" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] perf/x86/msr: Add new Alder Lake and Raptor Lake support Cc: Kan Liang , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220504194413.1003071-2-kan.liang@linux.intel.com> References: <20220504194413.1003071-2-kan.liang@linux.intel.com> MIME-Version: 1.0 Message-ID: <165229842488.4207.17360183875285961554.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: quoted-printable 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: d773a73366bd54d0c75c533269fe2f0765ce42ee Gitweb: https://git.kernel.org/tip/d773a73366bd54d0c75c533269fe2f076= 5ce42ee Author: Kan Liang AuthorDate: Wed, 04 May 2022 12:44:10 -07:00 Committer: Peter Zijlstra CommitterDate: Wed, 11 May 2022 16:27:08 +02:00 perf/x86/msr: Add new Alder Lake and Raptor Lake support The new Alder Lake N and Raptor Lake P also support PPERF and SMI_COUNT MSRs. Signed-off-by: Kan Liang Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20220504194413.1003071-2-kan.liang@linux.in= tel.com --- arch/x86/events/msr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c index 6d759f8..ac542f9 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c @@ -103,7 +103,9 @@ static bool test_intel(int idx, void *data) case INTEL_FAM6_ROCKETLAKE: case INTEL_FAM6_ALDERLAKE: case INTEL_FAM6_ALDERLAKE_L: + case INTEL_FAM6_ALDERLAKE_N: case INTEL_FAM6_RAPTORLAKE: + case INTEL_FAM6_RAPTORLAKE_P: if (idx =3D=3D PERF_MSR_SMI || idx =3D=3D PERF_MSR_PPERF) return true; break;