Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp151989lqg; Fri, 26 Apr 2024 11:13:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW9jyosh3t4XGiA/gJX6lmHwxHdt/jOtS8dIlDTOfOr/nxmn+DlD9XzqWixLoPt1xHYDoN0dY1ypG0RQ4vH3SeFml6RbvFd35ZNytmjOw== X-Google-Smtp-Source: AGHT+IGre4anL4ye4GPnUsRLE8hbaC03G+jFJoJv/6B3r281/cJyjT+euswc8ebrG5+REqSfoO+j X-Received: by 2002:a05:6a20:d80a:b0:1ae:6e38:bc76 with SMTP id iv10-20020a056a20d80a00b001ae6e38bc76mr1588791pzb.7.1714155239464; Fri, 26 Apr 2024 11:13:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714155239; cv=pass; d=google.com; s=arc-20160816; b=T1l5HGg+rGvrQHtgV8d3GyhDXDXg/lCT//YgvH/Mw6oO3mSRV8meU8sYPpPYG27mMY gtparKGoMwN6ITsH0JYFxNJPyjLvWLDCkRSmn4qesX8e5R/QXF2pfGt9ZmGifJXD4xV8 NFNwmhutAVyw28AtqLJI+mkjBWXWqSPjwxw3Xb7GCn9JQqiKgyjEuxkt9+FNT2VLheoy MyM79iebR9SCVYwVjK/rxpyo5fjo8foMAZNpXuthNVUqcYlKBYN658QO2i8Dl4iFbYbS 3T4M4XP6ea1Ws7d8jk3bG7mSURPVOHIPElRTRXrOsbwYr556EMl1xKH4ei0RPLD+gRtR h07Q== 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=5xpVfkDVf/WAGRkbHASodmfQMAhYF9grSX6euUbCswQ=; fh=sRuoxverM9+fK9z5tkT0IKJpR0o28A+KF9ywarzvQRc=; b=kY1R/vV5efkkB6L5uTUEF1Xlid12eFu12plG3ry+/VMfYTujYlFZT28eUcNHBL1ofa 5dYiTcBP204qbYVaxsGmgCnPVBkBSQldFPigpaFwgQba3UEJLKlTFiTpj7GGdmg+s8tz krQB1RVf7QNRoZlXkmFHD4+n0XolKd94R5ZSTWcdKLdxVtsUVlxn/kPD3z3MszIJtm67 JtOltBwMukguPENy0bGg+oM3usL3Z7c8QwI+bku/zSmmi7mvJzX/nhWhX1qkHin4omkd UhBeq2TXyY6AfT9tBBc6PDdzabZfxgLzVs+UtgDF4RhQjwD/sGaOuyYQhePzpj4UfUOU mdbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=UCjknnhk; 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-160541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160541-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f31-20020a631f1f000000b005ce030a6460si15151929pgf.71.2024.04.26.11.13.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 11:13:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=UCjknnhk; 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-160541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160541-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CD787B234CA for ; Fri, 26 Apr 2024 18:12:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C86416F27F; Fri, 26 Apr 2024 18:12:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="UCjknnhk"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qjNO/4og" 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 706A616D9D7; Fri, 26 Apr 2024 18:12:12 +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=1714155134; cv=none; b=gWFxjkL9xubEvvfGHBzdae+0WY01U7AFr+Hh2l/AZWTy42ZQ4sHh+++hOuEnHTlYjeWKMfpS7o3DJvXQkvzzY1gUOs+Z/wujBUZs/GiUpGyFkYIemFwt415zFCb/loBNVRhv+gu/LJ2Cc1IEQd2MHp6b73rIYcYbKLL8bdpzv3I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714155134; c=relaxed/simple; bh=FQ5KINAWkUbd+/P2Z1gHyl8xUM62kP5PAmjNgDx+sVE=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=Xl8feOhnaGPKQu6DeXhfKqpzzRoN0dF86pOcobI6EmYtC6ys5lr+NbuermmVWvnj1dvDkEgC+NXfys5qDv3DvpTRn0UqpqiY2ZYCY+Y6mDXrzgyM/60Lw468YyM9i+2/oeh7Ww6ACxxOD1cHWRrefTH9oAWKckHQBEpzJEZZ3pY= 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=UCjknnhk; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=qjNO/4og; 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: Fri, 26 Apr 2024 18:12:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1714155130; 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=5xpVfkDVf/WAGRkbHASodmfQMAhYF9grSX6euUbCswQ=; b=UCjknnhke4jU5N4X7IMoau2496p6DZzCSR3jVxcIxkzIl4sndgR9Z/hDbXtjPHV88UT347 kC6o0hPu7tXFUpUNjjz/dL0zRlsC+OLGKzk+62XVjyef8+EkV4RtsuiAv2vouWtwmxVDd4 s9qnBi74rxux7PHKUl0nrPLptC/nTs8yLc0aWpC1A6zGbuelwEkSFFDTlUoO+HuP9DqcEf I1Yi9xLgsUPcIvrv93Q4myG2viSeQMdlCK8lR2ky1b6ciPEJ04mT8CS7AQjyz+wDZiHOSx Kusw/MWkPGs+yBiKoCJYtuGZwe4xSLOZvq06fC9+whNIyeyiWkQhT1/Vqe2bCQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1714155130; 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=5xpVfkDVf/WAGRkbHASodmfQMAhYF9grSX6euUbCswQ=; b=qjNO/4ogEO14Kp7Yg8eLexGjbfqb1w4m0kmNH1vd8RQGtTsmoWl8ZIasC2/j6/jT7kvDJ+ hsCUPQ2IubsK0JDA== 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 , 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: <171415513047.10875.12574768502379965400.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: 94eb882e95755e8582fb4961090e09ba2973689c Gitweb: https://git.kernel.org/tip/94eb882e95755e8582fb4961090e09ba2973689c Author: Tony Luck AuthorDate: Wed, 24 Apr 2024 11:15:18 -07:00 Committer: Dave Hansen CommitterDate: Fri, 26 Apr 2024 09:11:39 -07: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 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), {} };