From patchwork Mon Jan 9 11:15:04 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: 40800 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2096036wrt; Mon, 9 Jan 2023 03:17:56 -0800 (PST) X-Google-Smtp-Source: AMrXdXuZuZYSRqRoI9FCeN1EYDKxGVS8KnG4mbeCYWSJcGAf5P666hp0DyZa7GDWbX7kRKPltdFw X-Received: by 2002:a17:906:d788:b0:7c0:e5c6:2a6d with SMTP id pj8-20020a170906d78800b007c0e5c62a6dmr57150921ejb.39.1673263076799; Mon, 09 Jan 2023 03:17:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673263076; cv=none; d=google.com; s=arc-20160816; b=gOkZwULiMXR+7If/4GCsT5GuLW9SkTW+vnFzfm8Bs7Expxgusrgg0lrRvpbuMpsqM9 oETVKpldfgFOjrH7BMjb5XwJa0vmsOcbdusVvoU1lwp/rnBS2Ol0os5WL6iMwL5CgG4u KVm/3AIU4lECGaxzr5op4zyoqrzQhJ9sd4Z1xfCUVQuxf3hxCJ1bclW2fo3O9ffyQ7pk LKxpk/6qXfoiM1F6aq1XcRRstJ9fO7t9IpRifC1qTn+gBF/CcGjK1bgbA644+QscjS/v BoTlqZSYKn2s9L1gO1HJAT7MSGKkiUk6ZCANi7rZanRqr8d/7JnC9w19YBUel2ozdXLP N9rA== 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=1QiYnqduO8UGXfUzsm/9IZigCU7WGnvIarGYqNxeNEg=; b=RXbT6jFaXUGSu8ARtfnwpAvlKwmcmimprkdBhuWYM2Vli9nqXYRw3YTy85jpIbXXbk jGA9oK88PJFRUIGaAeQHUfVp5PbUuTz6JYWaxa4e15IqaHwlFJ9SN2J7zpxN7WDuZqtt hH9ANZLx8bFWiOxUhDX+nLIAKVdMjT57UbZSoXtgrbNy4IlFJ6BaCcPFcJg0AI+FQt4S jv+Hqrjgl9ZpkcKr7653PMBhLbTPsTn7rpMiF7FLB0u1+l1jPNq6DNFRaQB3XT9T7EAf /c++PdkH2UuEiqqZovOeFVKTbZlSnbvl2OjEIxiWLmo5KXadqun5iF6tyPqlm4leMswq jcyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=IKFx9xNT; dkim=neutral (no key) header.i=@linutronix.de; 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 g25-20020a170906595900b007c14decc617si7098983ejr.1009.2023.01.09.03.17.32; Mon, 09 Jan 2023 03:17:56 -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=IKFx9xNT; dkim=neutral (no key) header.i=@linutronix.de; 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 S234341AbjAILPN (ORCPT + 99 others); Mon, 9 Jan 2023 06:15:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233387AbjAILPI (ORCPT ); Mon, 9 Jan 2023 06:15:08 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA9FF14D0B; Mon, 9 Jan 2023 03:15:07 -0800 (PST) Date: Mon, 09 Jan 2023 11:15:04 -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=1QiYnqduO8UGXfUzsm/9IZigCU7WGnvIarGYqNxeNEg=; b=IKFx9xNT9bmgJg4a0q8wlQoERL+l4ucL9hblOryWz2Shca8s9tD+7GZWH5EkVqAV5W/hYV PkZudL7CTQD8bHcmAlhoMeCPRcq6E1IRQk7vkT1N9EX61Z8YqVR3a3Eqv/tJtlpHsoaOY/ 6q38R0kFOC5gcfxrq4KjtvHyB8r7AA0Yz+85UTxubkW4xsAbBjfDKxY1SPqPbFeHnmZa9K pCtswQi/tOAh8fweTArZt7jumKLOCiPpq2ETsmxcl2QlcRvYl4KKA1k9t/wC/W5zzApICq 0YG/DxOz3W3ZFhu0GKQUCnxvdgkZJvUKixk/wdWjKyLJ2K6A0QNAuiTNbISxzw== 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=1QiYnqduO8UGXfUzsm/9IZigCU7WGnvIarGYqNxeNEg=; b=uhQ94FzweVVa3VOeCgW9P0xvtX9QqTfJeZRi4PI5ZK/x5vrZtVwxp3rtig8y4dr1Rj8MrG blLO+BhrhzG04GDQ== 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 Emerald Rapids Cc: Kan Liang , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230106160449.3566477-3-kan.liang@linux.intel.com> References: <20230106160449.3566477-3-kan.liang@linux.intel.com> MIME-Version: 1.0 Message-ID: <167326290498.4906.8201130223514026003.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?1754289943978181327?= X-GMAIL-MSGID: =?utf-8?q?1754543503566711674?= The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 69ced4160969025821f2999ff92163ed26568f1c Gitweb: https://git.kernel.org/tip/69ced4160969025821f2999ff92163ed26568f1c Author: Kan Liang AuthorDate: Fri, 06 Jan 2023 08:04:48 -08:00 Committer: Ingo Molnar CommitterDate: Mon, 09 Jan 2023 12:00:52 +01:00 perf/x86/msr: Add Emerald Rapids The same as Sapphire Rapids, the SMI_COUNT MSR is also supported on Emerald Rapids. Add Emerald Rapids model. Signed-off-by: Kan Liang Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20230106160449.3566477-3-kan.liang@linux.intel.com --- arch/x86/events/msr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c index 074150d..c65d890 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c @@ -69,6 +69,7 @@ static bool test_intel(int idx, void *data) case INTEL_FAM6_BROADWELL_G: case INTEL_FAM6_BROADWELL_X: case INTEL_FAM6_SAPPHIRERAPIDS_X: + case INTEL_FAM6_EMERALDRAPIDS_X: case INTEL_FAM6_ATOM_SILVERMONT: case INTEL_FAM6_ATOM_SILVERMONT_D: