Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1228954lqa; Mon, 29 Apr 2024 02:02:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUEtITovgjyyO9lMnUWJ0+HDQECx6ojFtkzsW8Gcrf/nW0Gr11DtYOzyXshr5Gs4gm7mlzgnO4Xg5Y7fWGVRaJqXPC7J2xQNaQICKcSsA== X-Google-Smtp-Source: AGHT+IGgxO1RDAkZwEWsRJyetLa30G61N0Gp979mNa29Gdaze8zd39m2xR/1VrPkwQLO2WRKgUG7 X-Received: by 2002:a17:907:25c5:b0:a58:c559:3d06 with SMTP id ae5-20020a17090725c500b00a58c5593d06mr7532519ejc.55.1714381339472; Mon, 29 Apr 2024 02:02:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714381339; cv=pass; d=google.com; s=arc-20160816; b=mWbUWF4KVK+bd1K99vghCP0rnjqWfn0W7+2rQthh2BrNkWixjS85zyxobMe5+WTvyj P6LL/s2ogOQKB/kG6eh5x+sntfGxhAZoNmZYQ13zbip/inGe+o58digzuEt5sE88xDxN X1/aiZ4BwzqVPHhlXjoRGGfTMTiMsChs2+d8J8g740ALK0yxUgsDs1qPjay/DVk29s1E xnJ3if20+s/+nPQWkPYLDTYIZxxqiOuTykBGD/5Zblqonri7jtAYG5bBHf7vC4/RbgtZ 0TlujzAB5HbtXxzVToarrTWjvJWbfroEuOsAXMHXJw+06KpjUmK20Y4re5oK6ZGzevr4 cFRQ== 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=gF9dDL5aQhTN6PfG6pYk/MFqZifBiMHFKkWX/TGaBbo=; fh=JTk9+qr5gpUHTA82NAoTC2Dn364LtWPF0bcXdXoFHrA=; b=UVYMpJwuAxOHAuuCJY82/DusW1urq6wR2uFI9a7zBMeeiVAEAlSOE+o3MzwPhjUlZv 78aH9BVYpM3aCJPtksWtb2NAsksUQzVPIbpYDcLZahyrnNie5Dwq4G0GT1JOafkFA5bU 5rQBI4cel5tDKi9oc4nQzNp11Hmx27As2sFI8cDl/n29OTJst76dJDbknJU7OhojG1bW N+5sdkqDaKGnQoa+hAjc42kxOcQ9XKc/wdiQEFIYdku9owuGFhuMVqAbdvKxlbEmlMSG 4/xhFxrMaxKG9teafS2NBpUTOZGthgaA7XX4TBofE/6h3JDx6c4pNMR8QHa0/lFIK239 VNxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OB0t1lQH; 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-161943-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161943-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id kl11-20020a170907994b00b00a561b61256bsi9004249ejc.1051.2024.04.29.02.02.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 02:02:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161943-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OB0t1lQH; 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-161943-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161943-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 292511F21AE4 for ; Mon, 29 Apr 2024 09:02:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 721512260A; Mon, 29 Apr 2024 09:02:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="OB0t1lQH"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bu3I0onS" 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 42E241B809; 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=1714381322; cv=none; b=jEGZN5qivENIn2KARoShvrbRQ052cLfWdGFi/gNJVwpDkA1g0UIXtZXjy3dZhi6J/nC9GnOAaBRHeT3vCtHdHrZLyX7a2Ka09IG9kaHtffYK+P5Mgz4z1gAJrbICztk/hSwtQ6aPUJZ7jggC+oRPmBQzxUKlwTM+5XPHC8F0WdM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714381322; c=relaxed/simple; bh=m14jT9Ag+9nCB15ehDow7xh/XFPhAMgkmSe1oKPWlzE=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=roEFy2RPL7JcCeCHNQ7pVWX4RIRfmhHgJsgO9E7Pmd3YWqjIJzrB0jO3/MMz5FQVl9G+1ohcuHdYqBpMwt6TiGtcVlpBW2gh+/1Vv6g5igVX8dNJO5TcznvImQL3qp4xbZgIQZtIaHtPzS/F13gExIrouysNkoUYe1q9p5f5m2Y= 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=OB0t1lQH; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=bu3I0onS; 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=gF9dDL5aQhTN6PfG6pYk/MFqZifBiMHFKkWX/TGaBbo=; b=OB0t1lQHcVP8G5NtI/4ReWhDGjxi1jQm3btS5n4yjXOU8OJCDM+0Cfn73pUnFAkZV4KqjT ZrGZ2ZvLgtH3SWgYM7aKOvDbhYAbebTrA49vTjI08Jv3C9Zx1xHVCsLd8roc+CtSRbey9u oMEJICY5jux57TOwhLt+j1PDC7i2sFL7kBRbyhsb/29QeBn0TnaiO3b5N3ExTocy6Wa+xC YRP4knBFynBddPXCMQ3D/XOxSnSoSi5JmJJq6FgyjFolickg3d6abi2OP6ByBd0DppABAc aLriA0fYniv9wgsuWdhO7PvdYMbL5BQd3GMp0NwHhezEXqABj5pbbSWseUjW4g== 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=gF9dDL5aQhTN6PfG6pYk/MFqZifBiMHFKkWX/TGaBbo=; b=bu3I0onSRcLryzTRZvKbC4sRpWrXcvnQoiOegrC1jzv1+5m8/GdZNtx76ZoyuO+GPpA1q/ yl7drkxz5D2HOfAg== 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/cpu: 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: <171438131399.10875.3660444097799606539.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: 4db64279bc2b1c896fa8a99ae8f4b7aa943a4938 Gitweb: https://git.kernel.org/tip/4db64279bc2b1c896fa8a99ae8f4b7aa943a4938 Author: Tony Luck AuthorDate: Wed, 24 Apr 2024 11:15:16 -07:00 Committer: Borislav Petkov (AMD) CommitterDate: Mon, 29 Apr 2024 10:31:30 +02:00 x86/cpu: Switch to new Intel CPU model defines New CPU #defines encode vendor and family as well as model. [ dhansen: vertically align macro and remove stray subject / ] Signed-off-by: Tony Luck Signed-off-by: Dave Hansen Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/all/20240424181516.41887-1-tony.luck%40intel.com --- arch/x86/kernel/smpboot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index a581095..0c35207 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -438,9 +438,9 @@ static bool match_pkg(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) */ static const struct x86_cpu_id intel_cod_cpu[] = { - X86_MATCH_INTEL_FAM6_MODEL(HASWELL_X, 0), /* COD */ - X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_X, 0), /* COD */ - X86_MATCH_INTEL_FAM6_MODEL(ANY, 1), /* SNC */ + X86_MATCH_VFM(INTEL_HASWELL_X, 0), /* COD */ + X86_MATCH_VFM(INTEL_BROADWELL_X, 0), /* COD */ + X86_MATCH_VFM(INTEL_ANY, 1), /* SNC */ {} };