Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp152826lqg; Fri, 26 Apr 2024 11:15:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDOQjoE61yZ41Dyyp/RcryiuCUuaJeYW93vRuAioJRI6iu/knjtys/qfoa5jz+cCtB+6MMUtIXMPSS6iw27vsFdpS3uwpd6IsN3ZxrAQ== X-Google-Smtp-Source: AGHT+IEfHAPP/0QFfmlhr0ptsgHs+Ov+OUxy3q0IehMD2g5BX26GvWu0MOQuNJq1M6ihGhGNezjL X-Received: by 2002:a17:903:41c3:b0:1eb:1f3e:5de9 with SMTP id u3-20020a17090341c300b001eb1f3e5de9mr2109891ple.61.1714155331640; Fri, 26 Apr 2024 11:15:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714155331; cv=pass; d=google.com; s=arc-20160816; b=OBeuIyOsTzDWirofdubdk9Ht6y4WBXKoRzY9K4Ms4dk9uwn52Zjc++JBYfAvuTu0Qy 94MfDRXXl1NZKG5my/wgqYGuISwXWPwATDM4tygnFHYj28O+qYRQD5ajPYqK73bhKKeg 7nEAj69/r6OJP/h75/xMdYh6kCQZTilMvdXek9yR3dfYb9eaQFU2sGgBwepuvVsAzKiI lwEiXAI0gm54uYX5v/vA6pg+xZe3kn5NIRaM69teSDQrNJ6cnE42p3FM2unU8saXWvS3 r10V/TIdfcd/ZyNzlvu6fa4shlh2NjBXrlezaiNHLlkfqUaCWf4hcXl70SRTJQPxshvQ xmZw== 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=cMR3bonZf7Yv98+OzC40yiI1vK8iOBCE/7SqRs2hVfM=; fh=sRuoxverM9+fK9z5tkT0IKJpR0o28A+KF9ywarzvQRc=; b=E46ECjMqAlzH1kRgpCcAKWUUCqtBuo1SajDKtrrz9zfNLuZIEz0vDZmg585RYd1ldG D/Xu6yfzuV9Dq9Plo9T9FkG9VLMGvQVNSHt94asa8NnY68lTM97cj4DOrjvILKh1O8lJ 09LyDQW8dIfdWQ+kMejIPFL7bDIOORhwQdB6i/cSzSXemvGwx8ONbIFPRDLIxH4pluDl 6pWqio2rC46gUiNDZqvsyXcncdU95JS1Y/V33S3C0BP1Yt7qUYJH0IQxOvS0ME/Eim9h 99N0pBYrLv1TrIlBdOiwYUrlFntIXG/cw8tY/JktQh+ewMzKoHzA/cv5ik3D/kk1XLx4 ADIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=tcWA8zTj; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="W/SeJKmx"; 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-160545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160545-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 c9-20020a170902f30900b001ea0296ff87si7291998ple.468.2024.04.26.11.15.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 11:15:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160545-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=tcWA8zTj; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="W/SeJKmx"; 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-160545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160545-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 55CF9B24356 for ; Fri, 26 Apr 2024 18:13:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1FE0171672; Fri, 26 Apr 2024 18:12:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="tcWA8zTj"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="W/SeJKmx" 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 54C7E16F299; Fri, 26 Apr 2024 18:12:15 +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=1714155136; cv=none; b=kKvOvjsunV31YdmIZ6CMLYy/bGFmr+LXRP0z+DrYdThbjbFEq0sh9TUrgm7KbYT8VJdafZegfiepTUoJq9FuhzUv61QzNUfLuipT6bkwUXbK/B7YDQCDvg1j/Ldpa0lHoaFrjziT92QT0YM/Z4vGcQttQO3YLK68LdfAYOlQCjo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714155136; c=relaxed/simple; bh=gXZK0x2HzsFIoZYil6VLbCneZl5qIOYCWWv1ICpcG2s=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=ma1X0EAzUw2aXsnT8Q0hty/AoYUCNoJ9637kYDgOt+GzpnhQ4MwEmegXVlAhM8MvjyKMS779Bb05sqq7Opu2e6PkgtaGwujyrpjgNYkU4X61WEZyLvDYTTEmjz+RaHKKTRyKmKwKPvawNhYM28ThhP8XV9dg5vAaGIn/auqDr+E= 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=tcWA8zTj; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=W/SeJKmx; 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:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1714155131; 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=cMR3bonZf7Yv98+OzC40yiI1vK8iOBCE/7SqRs2hVfM=; b=tcWA8zTjw1RgcxxmTrAN0WIvd3+B/aKPm+Qyq2tV8c1w2T0wNM+Zs792sAoMUs+P2yM+6p VvezevxXseGLwuJrEGZXChDXS/qIkhMA+5tgKj8z1lJ3eMNgTQIYNGFTarLJyANiGYBwCZ G/O0AILvxEx/szyY+gLnscDv8+9gl2frXtprLppMOD018PjXTQ+lwLqljqVld/AK58v+Zs TuaHtz/Pb74xGuVrWynXqUbA33TH0A9jaNcIIetN84/DjXqqTsxkzgSS9yXPt1iKzc9sM0 DbyfbQKSmNoP8+lo/9dOr2u8ccC2EgUEjzDQwzH81BBWvTDAU1foYpEIntTg0g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1714155131; 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=cMR3bonZf7Yv98+OzC40yiI1vK8iOBCE/7SqRs2hVfM=; b=W/SeJKmxfD5R4r2VlknrO2c4HUjPYZUxjDWSMSmuJ/b2YdJ5HDPLkl840e2GJc53iv2XeT mLX2Y34jSVh1aOAQ== 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/microcode/intel: 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: <171415513106.10875.15508529151479733444.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: 173e856a55d095a9ef566f28ac95d0d2255a7073 Gitweb: https://git.kernel.org/tip/173e856a55d095a9ef566f28ac95d0d2255a7073 Author: Tony Luck AuthorDate: Wed, 24 Apr 2024 11:15:13 -07:00 Committer: Dave Hansen CommitterDate: Fri, 26 Apr 2024 08:49:24 -07:00 x86/microcode/intel: 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/20240424181513.41829-1-tony.luck%40intel.com --- arch/x86/kernel/cpu/microcode/intel.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/microcode/intel.c b/arch/x86/kernel/cpu/microcode/intel.c index 5f04144..815fa67 100644 --- a/arch/x86/kernel/cpu/microcode/intel.c +++ b/arch/x86/kernel/cpu/microcode/intel.c @@ -21,7 +21,7 @@ #include #include -#include +#include #include #include #include @@ -577,8 +577,7 @@ static bool is_blacklisted(unsigned int cpu) * This behavior is documented in item BDF90, #334165 (Intel Xeon * Processor E7-8800/4800 v4 Product Family). */ - if (c->x86 == 6 && - c->x86_model == INTEL_FAM6_BROADWELL_X && + if (c->x86_vfm == INTEL_BROADWELL_X && c->x86_stepping == 0x01 && llc_size_per_core > 2621440 && c->microcode < 0x0b000021) {