Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp143253lqb; Tue, 28 May 2024 11:05:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWLOrxavDbIxs922qxTEL7sR7WaU4xzLbelhIhEdig08XKy8fUOGT3As6IJx4ygDouZqoWMjfctKuqLxuyTJOEkHUl+mpw/+FmG+RXXAQ== X-Google-Smtp-Source: AGHT+IHjeiUjovGVNXUb21RzHVnovwkgeufBY8Fsos6c3+ZwES88yvXVitN6KJJNF9Sq9+94IeDR X-Received: by 2002:a05:6808:df8:b0:3d1:d10a:d1a4 with SMTP id 5614622812f47-3d1d10ad1c8mr2700591b6e.18.1716919519975; Tue, 28 May 2024 11:05:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716919519; cv=pass; d=google.com; s=arc-20160816; b=n++a6e7iAMdFZmLoz8mpiO3yFK6czwzVJoVLMWV6USNy2fKdAgJMg7Lx92pcls4mot /ekD5G2y0FzOGfNNJ+JluWwSyybhkSTV0Exrdc1IAhqTPmzZwsDRnBggHBH0CEur5CpL D/4+iawLGSXHfor1Ld0qM7hcZPP/Hm1u3JEyF3JSWz4njDCReEV5vcgyknY64b91eLAV +bc10k29Cx4K3WQxuLdxKHlHoporqtjG6RjCcA+O93rkGP4yqhk8ND40Gwlhf3LobneS rVdYH6swXllVKs/+TTjUreixX7Eb0sr0VQyMkHWt0yM6A78wtq6ttbZwKKeEkrlPudnv 1Bew== 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=LIXDy75mTdzgsMSPtQK+N43o5jHFXQ79FOaPCMU584U=; fh=sRuoxverM9+fK9z5tkT0IKJpR0o28A+KF9ywarzvQRc=; b=VmAe6ns3gZpvv37Hx8O4p58z5Iu3BfcHiRIJmtJLtfh9JfdzE4NN6kswn2tQiJjKvr FEpEapxICF1Po0YEb84c5FEz2dwzHSjVd99gquxohqCPQJDXRM63BeuofzRlFhe+Z8Lf unmGiMKSIQZR1XvvIBO1i1BR3G8DfYaaSVsPfx/Tv6Javw5l/0rfh15bdPIgsgBHsewM iH1/dq3DxFXpsMDwNoKizsQOBkpZYEmyLBPR11hvIrBa4qXetqQf9/J1+NsR+VOaK3FT fhRY7v+7qSi7NzrR/v8vh9oHwub/wvA8Ur5smBAK2/aeDB4z+ehwfvh2JCRyDfHUOgbE 0LQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=m6xLMamH; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=NWoAJoRi; 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-192839-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192839-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 71dfb90a1353d-4e4f0745a2bsi2071099e0c.78.2024.05.28.11.05.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 11:05:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192839-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=m6xLMamH; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=NWoAJoRi; 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-192839-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192839-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A602C1C23264 for ; Tue, 28 May 2024 18:05:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C6CF47A62; Tue, 28 May 2024 18:05:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="m6xLMamH"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="NWoAJoRi" 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 E1AF745038; Tue, 28 May 2024 18:05:08 +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=1716919510; cv=none; b=KPeRxVs7vD+230d4q9L87o8zEh1Sim+SDWRe3ts259eH38WJuqb6pvfT21ApUKOCR+YhZ5jXcglexLyCxXQleOGkys4IXJehZleSQ4Z98r6lmS0rkWt92t3fvA4cqcinH5dLE+Bj8Ocx+OVJlOk26U91kvE1MGzQA4LgBrb+9DM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716919510; c=relaxed/simple; bh=tvClPbnGzZCLqeGMkY3JPQ7fd1z89EWU6gPhRLeJ+2A=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=I/Ab22NMNQmigMIXKoYu6SbwHlcvHfENIAPUTQnuIltIbm7GQCzac2Z+L+4BSiYm44PK2MJYIYQiALePbRBmtzdRC+3mpklPAtOy15bjq2gLH4w5oeRGNMNG/Thff6HT8c6W2wnek2iBpi/hGOg/fRrObfryw1f0y/SE0TPOyv8= 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=m6xLMamH; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=NWoAJoRi; 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: Tue, 28 May 2024 18:05:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1716919507; 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=LIXDy75mTdzgsMSPtQK+N43o5jHFXQ79FOaPCMU584U=; b=m6xLMamH6pS88euOHpW974+wWHWsC15DgCxuiTNDKvbiEFPlfFTTp+kbthwkseCoNhiMEZ /MsqqkPPFLCq85Q2/tZ8IGUZKaTRoDeR+g4DdaEy0wtTpaZeQMHyiBswFe+QHVK2Ab9PvT ku5+1jEF23ogHrm+KB7N9Jvb7ZLcCjcDQtwxDu4zFfOcUzk1ItjyLrlUbG6j042X7iA10n QJrPI1qsO8+f5hqxo3At4CJU4pGaa1ddpmpk18bpapSzkpOgWqS3T8I4KHlM+Yf8W7Bcfp Jsxaczzctq/7JEzre6HWBhKazVy4WqErCL9P4CKQvPXsocJc4UrY/35nw7oc4w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1716919507; 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=LIXDy75mTdzgsMSPtQK+N43o5jHFXQ79FOaPCMU584U=; b=NWoAJoRi2or6Hsv08Sny7/pyjn9h31nJP6oTrpovxjuR7i7XXvG9jeWl31/+DLoNGKQdbW wn8ZNwsV95Cq5LAw== 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/boot: 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: <171691950683.10875.4843444684563640261.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: 6fd5e8855e60a94f6f4b78a1314afac56fce7427 Gitweb: https://git.kernel.org/tip/6fd5e8855e60a94f6f4b78a1314afac56fce7427 Author: Tony Luck AuthorDate: Mon, 20 May 2024 15:46:05 -07:00 Committer: Dave Hansen CommitterDate: Tue, 28 May 2024 10:59:03 -07:00 x86/boot: Switch to new Intel CPU model defines New CPU #defines encode vendor and family as well as model but boot code doesn't have all the infrastructure to use them. Hard code the one CPU model number used here. Signed-off-by: Tony Luck Signed-off-by: Dave Hansen Link: https://lore.kernel.org/all/20240520224620.9480-35-tony.luck%40intel.com --- arch/x86/boot/cpucheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/cpucheck.c b/arch/x86/boot/cpucheck.c index fed8d13..0aae4d4 100644 --- a/arch/x86/boot/cpucheck.c +++ b/arch/x86/boot/cpucheck.c @@ -203,7 +203,7 @@ int check_knl_erratum(void) */ if (!is_intel() || cpu.family != 6 || - cpu.model != INTEL_FAM6_XEON_PHI_KNL) + cpu.model != 0x57 /*INTEL_XEON_PHI_KNL*/) return 0; /*