Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1229053lqa; Mon, 29 Apr 2024 02:02:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV2RQ6iTFCATWDqKov/Y74YsQQz+w8/m94I+r76VjR7QOt2w+OSqZiB+CrQ2miYSopQSSqi267NAT6FRIODgkwezBhMkwyqk1+Hotf1jA== X-Google-Smtp-Source: AGHT+IESuxnNDg84+mNdG33oRIidbE4T/0RdwufNXRLtnhWe45K0OkI1/kYOxsvsxI4OW0gMfBPq X-Received: by 2002:a17:906:3b48:b0:a58:ea69:3f5e with SMTP id h8-20020a1709063b4800b00a58ea693f5emr4738723ejf.38.1714381353145; Mon, 29 Apr 2024 02:02:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714381353; cv=pass; d=google.com; s=arc-20160816; b=YK8dqgp5aMQv1kTCxg3Ri3zk0N5MNB8iaZNymRWDiF53boZcIicJzBMaAYp2go5FTp Qt56Ubz2Y87k+nFJtBLLHty88T10VO0gLPQ7saVIoIByf27noM5A9+hrsY4Vive/HG3g 2rqvYDZNPOe3cTq6iVPIp3W0q7TsaOO+e5T1ZPDT9i25MB4kNDS224me4vqPNnDaJP7N HSPYpskJgS/kKjqdI+pZoraRdqMvtNqyIBShNz4HJc7FmlFqUh1C1BbeWi0iqXCbLQhW Z8bDcSRJoJXQDuZihB/WLv8/Ocmjh6dJq8CDBtVCkpAM5Lzf8usyxBfKW+G3NanzqWRO mZaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:cc:subject:to:reply-to:sender:from:dkim-signature :dkim-signature:date; bh=XPB5GBaC/7VIrvaNJcPSd9MoXea6ujaeLds/tiKRUEA=; fh=JTk9+qr5gpUHTA82NAoTC2Dn364LtWPF0bcXdXoFHrA=; b=iiDsY67ecb4RmPO3fIzoDVuuL6l2VkeRuAoex+yuvcjlIu/a/FpSD1e5t2JXXj2BP9 B/AtpSSa6ACSMGUUnbsvp6GwHBl6hGC0lQFKJZXDv0aeEEf4lChR5An3JmIAk0Uof0Qy +QIp2+64jdKWFbl1BfxetG7RDY5i8wg8HN+1XLlKrSsgIpq2IfJBpJ0GMKaWaOkqIbqH GwAaI/6CGWoxL66eieldCQk+QQu/aNsx06nPgexSyq4AC465do3XlEtVvAjMm0Ks3ucS 3QCm4MV1oP9h3QI6OhhNjsbPfrv3UX2h+AJRtkijnPqGRnDsxlzmpaiDem4JebJF3I71 3O1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=HuqMHKpi; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-161945-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161945-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h24-20020a170906719800b00a5903973676si733909ejk.976.2024.04.29.02.02.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 02:02:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161945-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=HuqMHKpi; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-161945-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161945-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AC3821F21AE8 for ; Mon, 29 Apr 2024 09:02:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68D2228387; Mon, 29 Apr 2024 09:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="HuqMHKpi"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="waS6tOoA" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42E9D1B95E; Mon, 29 Apr 2024 09:02:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714381323; cv=none; b=IjBDMly80timgS1jp/EpFCC4/GiIe6Gj7cz6K6FVmtn4WWY4CvR2sz9Xw81m95jmOhCNaYB6fguH7mHUtQu01ljGCjK1u4nO8MZwguh9lUOcohWf0rS6OkpQoVv5t91mLUm5XqKnxFkRqkD/gWHgh0Y+Jt0EwIEWjSuu3/K7254= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714381323; c=relaxed/simple; bh=KfFni5AX/3VTcGa8xEVRzPBvvPHoXaZcV2TcUjS5B3w=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=KtJk7Zrx1c5QVdPLrX+NMdX/cAacKflepswYjbKAZqyOLYqhQjfNu4QaH3cLuhXxo/zF1u5HJC0woaUIoHoIWhXo+sfPYSHn4vMIdAOu5tzgFYdc3RzRfNISvQc+LGGFQh6wuu6kVCsXLGCwfVh80r9G/EPInZ9YPRSjJffFetY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=HuqMHKpi; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=waS6tOoA; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Mon, 29 Apr 2024 09:01:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1714381314; 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; bh=XPB5GBaC/7VIrvaNJcPSd9MoXea6ujaeLds/tiKRUEA=; b=HuqMHKpi/WWtoG/aTEjuX7s9eet+pc9t3OzgFnlETGkyEauyVEEI/+GzOjJqzAw+V7Lk42 E+/BpF3FHIfL9tyo+RwthDV6IBifK0vcM5l8F/bAMQsxPKYeJcbqN/MaHDmAyU2XbFnOn4 NGqgbY2xSb166ugFTY6578nD1dXdXz2+gOULLtnsgRTxTMjOnD1Qq1bMtg90UIrr8tRxg2 2laaxii79PUM7vGcL8qy+TjaidGzE6dlueebmX2G3tyNHrAKuWJTMSdDErF4aWn9+mQgVG KJRUvNTeIjudZH9oYY7kCyBrFme+KO2a5I/OQ4qI6dnSMzDJjq0islm03anVww== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1714381314; 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; bh=XPB5GBaC/7VIrvaNJcPSd9MoXea6ujaeLds/tiKRUEA=; b=waS6tOoAdV4rWsX0f11Hv7a4IOdCEpmv8N2wEc0XWM4MoGmoX/ogi61l7LKKDIalyemrAS VZ8xu6YqdsWjSwAQ== From: "tip-bot2 for Tony Luck" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cpu] x86/tsc_msr: Switch to new Intel CPU model defines Cc: Tony Luck , Dave Hansen , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171438131368.10875.1798076709788645675.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/cpu branch of tip: Commit-ID: d9b6886cd7cda9debcaf0c33d43c87069820c7b1 Gitweb: https://git.kernel.org/tip/d9b6886cd7cda9debcaf0c33d43c87069820c7b1 Author: Tony Luck AuthorDate: Wed, 24 Apr 2024 11:15:18 -07:00 Committer: Borislav Petkov (AMD) CommitterDate: Mon, 29 Apr 2024 10:31:34 +02:00 x86/tsc_msr: Switch to new Intel CPU model defines New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck Signed-off-by: Dave Hansen Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/all/20240424181518.41927-1-tony.luck%40intel.com --- arch/x86/kernel/tsc_msr.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/tsc_msr.c b/arch/x86/kernel/tsc_msr.c index 6555a85..deeb028 100644 --- a/arch/x86/kernel/tsc_msr.c +++ b/arch/x86/kernel/tsc_msr.c @@ -147,13 +147,13 @@ static const struct freq_desc freq_desc_lgm = { }; static const struct x86_cpu_id tsc_msr_cpu_ids[] = { - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SALTWELL_MID, &freq_desc_pnw), - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SALTWELL_TABLET,&freq_desc_clv), - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT, &freq_desc_byt), - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT_MID, &freq_desc_tng), - X86_MATCH_INTEL_FAM6_MODEL(ATOM_AIRMONT, &freq_desc_cht), - X86_MATCH_INTEL_FAM6_MODEL(ATOM_AIRMONT_MID, &freq_desc_ann), - X86_MATCH_INTEL_FAM6_MODEL(ATOM_AIRMONT_NP, &freq_desc_lgm), + X86_MATCH_VFM(INTEL_ATOM_SALTWELL_MID, &freq_desc_pnw), + X86_MATCH_VFM(INTEL_ATOM_SALTWELL_TABLET, &freq_desc_clv), + X86_MATCH_VFM(INTEL_ATOM_SILVERMONT, &freq_desc_byt), + X86_MATCH_VFM(INTEL_ATOM_SILVERMONT_MID, &freq_desc_tng), + X86_MATCH_VFM(INTEL_ATOM_AIRMONT, &freq_desc_cht), + X86_MATCH_VFM(INTEL_ATOM_AIRMONT_MID, &freq_desc_ann), + X86_MATCH_VFM(INTEL_ATOM_AIRMONT_NP, &freq_desc_lgm), {} };