Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp625194lqd; Wed, 24 Apr 2024 11:48:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV0MbRRvsZCOGmGzVSgO/XgUcjUF8SS6uPj2lwdBicjdEC3kjgfymCfxougvK9TOzxRETrZoDV4eMhapRAd9vIJd/7PIkZqrrUyqWOrSQ== X-Google-Smtp-Source: AGHT+IEeTfMT0mDYCuoUFtR6Gj8Kgv8XrJ/yfsG2MNZUL7kcDfu+z9e2mcsKEYhwfr52dCxxAP8N X-Received: by 2002:a17:902:7406:b0:1e8:5923:2f60 with SMTP id g6-20020a170902740600b001e859232f60mr640673pll.18.1713984528002; Wed, 24 Apr 2024 11:48:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713984527; cv=pass; d=google.com; s=arc-20160816; b=RR+ZqDs9JmbcJFC4iMlk+46WNJZs6VeN/dfPVsopJkUUwzp78KThg3nYWUJRt79qA9 vwKkxNJv7sU4FIj6Ib216JskgQQ/JN/FqwTFf+ca/qMgqjj9J8XLygoVZWptiUFrI07X ugoe4mjOZHg+WGbSP3kFl4iYpv15lx5uY4osWeTv55kfXw4nLB8cjYgEgeMqecfaq885 +hrDE0/OMFCPx7etCxyvKnYKKBo9NDQqDjN3l+X3uIe0ZURAVsHf+z0+mPi9ujdMJ6hM YoZKP8FS4w1MaQ/hyLt6ENtHaoyKhUDGg8Q1QTbPLAK27q4JWJIK9NVjoe9nTeM2Htsq LEcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=i+XxcaBSg+HR1qHBV5LMJkP2uhWJyd3KQx3VeG1OdL4=; fh=rMUER6/6LDUD3IphtgJcluSYLmip6tPJI1NKc16IHHU=; b=AlRabv9XEAuEdaFK3XMB+YuJLritcznaQK3Z6/+qVycTIjkEe6O/k+xt4tzJe4D3AX dUhZjqGp2PYAiC7uYO0gIl7y/s5t2cBGl5RVEAl1oQmE5A6NILFidtnxRgjHVvgklk7+ SHMnFmKZtyrR6wHzG7BJOUTZGkukHKD/6Ejnj4D5XgioWxug8O3gym+YLtYyMU11Ctew 5YxPQQ4dqy0Qh96V8j6wrIX1J7GupJHISJEO4zkyGCg2AoxlDdZ3F0j2AKKxvPaVdKBz mIs3GCMDl9bCKNDFEoWYgbsunzP3yLw9h+bmVS1zX18f5DaF5i559j9VWUTsLoHXda65 w92w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gqU0zncR; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-157495-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q10-20020a170902eb8a00b001e29c47a753si11696949plg.555.2024.04.24.11.48.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 11:48:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157495-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=@intel.com header.s=Intel header.b=gqU0zncR; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-157495-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 99F80B220B0 for ; Wed, 24 Apr 2024 18:23:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4DDB1A38F6; Wed, 24 Apr 2024 18:15:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gqU0zncR" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 DD42C199EA8 for ; Wed, 24 Apr 2024 18:15:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982530; cv=none; b=g9TfzmpSDzEo2ZAALn42k6PIc7INWepwsI2jAHZHzvJ/eDCuavrjHeTGlEfD2Odb+yNalridvUwCBibSUevyTeFDdRl5CA+Zm8BDSJmboocy2UxfxZOf4sHU0lSFanAvSFtIBWl4SWfXjXv2aMzgIk4WgiMR5LlR78+iIVup6/4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982530; c=relaxed/simple; bh=SjDrddwDQ8m+JUNUG8jvwL/rt2m+IPc+8Q7+cCziZRw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sKOXKyARi/YLV79Ip9mReezRhrSa9KkzN5iaZb3WVJCL4OW+5rtSCtWngeSI43graaZuE6VZ3kaK2XukGmhLuFzPtK94hHFB4eFIIoi3BVNMxCBAOYwyo++2Tul6qnfALMJz/rd6Gqgx3ZuBOOpA8W8VnN3Md79BCl/tm2lDHTk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gqU0zncR; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713982529; x=1745518529; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SjDrddwDQ8m+JUNUG8jvwL/rt2m+IPc+8Q7+cCziZRw=; b=gqU0zncR/0KP7lfF/XyGMJiL8x2GUo43T4Y5x2g+hye5xWjPedviOmfs tes4DDjI6DyaOD1cSEKDAF64SnFUcAf7TNO0gvb7cRmhyULtHJJhwTOx8 rM1GrHZ4pf+uDyFxBgy5ooglRlEo0m8KR7hNXcl4yx7ghaNB1jP6OFDRj HkUdFuiYUTTLVNovizFVTgTsj59pOlmhrKDzzUtEe9Xg0KqDohzXBRvRK MsjU61dd5dORlHvgScqZbQNoG2s9DVeqyAa7CNJ44SsKQ1D4UhsbhptfQ Jv3sC4JoxugrlQSpXl3tRTNiAplzUe0dxBa5oIt4PS5XSSSbgEWIyS2Xi A==; X-CSE-ConnectionGUID: DNS3jGkfQQmp5aOquKzRfg== X-CSE-MsgGUID: wmVl+/ZHSb6FdzAe17MG6Q== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="9503607" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="9503607" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:28 -0700 X-CSE-ConnectionGUID: p6MhI9E4QqOZDsamrT1KAA== X-CSE-MsgGUID: BUVgtU+oTcSqz9f/bRVNAA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="55750175" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:28 -0700 From: Tony Luck To: Borislav Petkov , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org Cc: "H. Peter Anvin" , Tony Luck , linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: [PATCH v4 48/71] x86/boot: Switch to new Intel CPU model defines Date: Wed, 24 Apr 2024 11:15:28 -0700 Message-ID: <20240424181528.42083-1-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240424181245.41141-1-tony.luck@intel.com> References: <20240424181245.41141-1-tony.luck@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit New CPU #defines encode vendor and family as well as model but boot code doesn't have all the infrastucture to use them. Hard code the one CPU model number used here. Signed-off-by: Tony Luck --- 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 fed8d13ce252..0aae4d4ed615 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; /* -- 2.44.0