From patchwork Mon Jan 9 11:15:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 40801 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2096144wrt; Mon, 9 Jan 2023 03:18:14 -0800 (PST) X-Google-Smtp-Source: AMrXdXuVfMsEWf4ryW4TZOrlldK9CGB1aAYKKQ3jHfHrmaVHAzDJWUitsIDr3tNUcBLlS323IqPD X-Received: by 2002:a17:907:d387:b0:7c1:6fd3:1ef3 with SMTP id vh7-20020a170907d38700b007c16fd31ef3mr55403076ejc.33.1673263094561; Mon, 09 Jan 2023 03:18:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673263094; cv=none; d=google.com; s=arc-20160816; b=ZgVvNi1qOHJ4A7vIbWwPfvPgGnhIZoUORq71g+pWwWxxJ7hcRWkinPyHYsNsqIc2Ba IBZ57ESgqxLd8GPOnsPaZUimbDfd62bLgT4oGob+MI1Y1d/CIKQc4Bkq/bFgmUIke+/M vz1bzgOmUavKqfyBkikK3RwbN4VGt9nuy6GQwpb19wfBMNqrBQcud4exrOw721olb445 t5Y5HO5jZbw9L77N4NNuzWfBtVZVA0sSX40CQLCadKlcAxM2aVSJhIaI8fScARe/33Tf chSJbG3zgyP9cM3UvO5DxC1ifZqUWIzLE+uOFy/oLMfwxVvIuFhA9S/KVT0HUs5CRWjA sQ2Q== 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=W9fTW9B0wERVhpnyognubAv9e+deWUJ2VIWSkVDrCKw=; b=uFn5bqbVgINebySMLeIVCSt0kFHQcZkz3gr4+zo/7HE9X+GDqJqR2OuALBHoUQWY1J 1iJrEtuLw6KrmKqLWAOY7TULGcYMpIjIBeV4v+R4TvBK1buP6D2yrTuf2KjwnTN5DS8Y SYnOUTzULYo1mRD6Vf5MFXjEX+8jeP9BQfsgbcKYgSXSTENKgud7zsRNkPz09UUiRjkE y4kMpf1wRvcxH0th0FsuOZbKCnQWzfIW+Z9ZYx8tVSdDYBj7VoKM9a0+dw86zg6CpH+B RNB7LnRXa2VENJwl9eMvQCqExikYVwApjFwPTVId3Ex7Y5dI9iQGNsx65bpAAamGEzUN VO0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="ii2PbY8/"; dkim=neutral (no key) header.i=@linutronix.de header.b=HJe4Pa6I; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a170906794600b007c0a4c149bfsi10360750ejo.403.2023.01.09.03.17.51; Mon, 09 Jan 2023 03:18:14 -0800 (PST) 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="ii2PbY8/"; dkim=neutral (no key) header.i=@linutronix.de header.b=HJe4Pa6I; 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 S234450AbjAILPz (ORCPT + 99 others); Mon, 9 Jan 2023 06:15:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233705AbjAILPJ (ORCPT ); Mon, 9 Jan 2023 06:15:09 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA9A0140C2; Mon, 9 Jan 2023 03:15:07 -0800 (PST) Date: Mon, 09 Jan 2023 11:15:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1673262905; 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=W9fTW9B0wERVhpnyognubAv9e+deWUJ2VIWSkVDrCKw=; b=ii2PbY8/2r6vAPLmWYKxWLGLfhkB7GgWRDjV6Dht8Z9BqBFvrFQmmIJlx/55VxhRgocNgp xVkLpZ5rCAGlj1JuPBgOi3A7qH3FGLMO0SbDxy3qo6YY2Y2+6mBtlBaCtyS31zuItgHKny m2HjbT1yJ04CeLFDOtbCwHKMKeK8RFxDfUvNRz6GwyeUZHLXmDgMSxfssMIm/qiZ4hUv6m z4KEWib0DjWM8A8NsSu3QhexFSamGdYWWLWilXYWhn6YQ/2So1+3SLwOLlZt1GBF2AHMX2 sduv8itzwJlNx145MmPrtQVtQRYiEGtOxTLDOIlAwJbaVslkQPWLIAmiwHPYLg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1673262905; 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=W9fTW9B0wERVhpnyognubAv9e+deWUJ2VIWSkVDrCKw=; b=HJe4Pa6IUJ7cy7II6VGSVfOQKGXm430Q5iNdL1LB44oP8FKG+FtpK+gNndX8lEmfhTdiTQ lqdfJaPrNDnva3Bg== 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/urgent] perf/x86/msr: Add Meteor Lake support Cc: Kan Liang , Ingo Molnar , Andi Kleen , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230104201349.1451191-7-kan.liang@linux.intel.com> References: <20230104201349.1451191-7-kan.liang@linux.intel.com> MIME-Version: 1.0 Message-ID: <167326290537.4906.9869005395608335131.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754124368749517171?= X-GMAIL-MSGID: =?utf-8?q?1754543522470313699?= The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 6887a4d3aede084bf08b70fbc9736c69fce05d7f Gitweb: https://git.kernel.org/tip/6887a4d3aede084bf08b70fbc9736c69fce05d7f Author: Kan Liang AuthorDate: Wed, 04 Jan 2023 12:13:47 -08:00 Committer: Ingo Molnar CommitterDate: Mon, 09 Jan 2023 12:00:52 +01:00 perf/x86/msr: Add Meteor Lake support Meteor Lake is Intel's successor to Raptor lake. PPERF and SMI_COUNT MSRs are also supported. Signed-off-by: Kan Liang Signed-off-by: Ingo Molnar Reviewed-by: Andi Kleen Link: https://lore.kernel.org/r/20230104201349.1451191-7-kan.liang@linux.intel.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 ecced3a..074150d 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c @@ -107,6 +107,8 @@ static bool test_intel(int idx, void *data) case INTEL_FAM6_RAPTORLAKE: case INTEL_FAM6_RAPTORLAKE_P: case INTEL_FAM6_RAPTORLAKE_S: + case INTEL_FAM6_METEORLAKE: + case INTEL_FAM6_METEORLAKE_L: if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF) return true; break;