Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp241235lqb; Tue, 16 Apr 2024 14:24:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXcx4XmHQNDc+8TNENW0Xhs2g3gbyVZuSXjy1gQ8eEXWFzY3IRehCaXCL8GiLpaewpNMbr5jZdh1Y9aZDpTmX3AO7vk2HiEC4udhN1Ohw== X-Google-Smtp-Source: AGHT+IG/ZWzS8NnxbtCFS0GY/q0+jDvTRveNp5cjVs81vwVaNvLAKm7bhXXTIap+S1MAesvfI9rb X-Received: by 2002:a05:6808:6344:b0:3c3:bf5a:a903 with SMTP id eb4-20020a056808634400b003c3bf5aa903mr15269563oib.10.1713302693332; Tue, 16 Apr 2024 14:24:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713302693; cv=pass; d=google.com; s=arc-20160816; b=mCxNbNu9ah0hQGRtxlvPtoKkCz4TNqj1nFo8LGKZLQyYqz76wsZbt/7qyAKvGxc7se 1DCHeKwpWkzzZQr4vGhmuL00DcD03FTHNVj3wasuP4x2cbtBju37V0T7Af428Br24CLX V8U8LW1YA4KAN4XnDViCdvI1kuFSENLmXpPSvx3CVQThzpR2nwPg2JYxi259lb9fn8qE vhSUT14U/KVhqlDNGq810g3K8HlJGECp6TBFOVPt8bUheOPvr1KVmJA9qmJk+kFAGQ94 f2bODX973bYwTqrOwLHL4CppaCOhbCD2gCbf5YHLzml5Ft7Y+C5cp0pPp1X5my9fuP2L hu7A== 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=Git7t5C+yNVMb/oJUOBFp70DXGXZhQG8n5aOISPcoZc=; fh=fCCNFvJbPqqXo45yXdlgqaDimb/JVSzwDZSVTcpWFog=; b=dVDhqCdQDx13YAgyO4Fp2SytPo/vqDltnKoqEGBYj82F5ux86JoQYQnuUPeTxSI6lQ fEBksv0kbbDszN79swJK2s/RvnQRbFBZ1d7HxDB1XLODWugL6fSMVnm+mUrdRq8wsooK 0dggBz6CBcQXnvp0IHd08SpZ1pvLecw5SsUWQJjrcXCEE9dN431uJd14bAp1ycKi41GO bZvw79G8TJ2hv8hpmGV6Ii3XmID/ksoLkGL9ieREJj9A12xUSDvkH383mmira4lS7TRB Z+EixYzOcLlzTmDUjcQqnJg+osYq17mDyofWL5qsjP+T/56xFtcGMMR0Y8yP2SPKNuf9 lvDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Q9d3Gs19; 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-147585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147585-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w20-20020ac87e94000000b0043642a7a005si10319885qtj.51.2024.04.16.14.24.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 14:24:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Q9d3Gs19; 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-147585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147585-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1116E1C21986 for ; Tue, 16 Apr 2024 21:24:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9523B13D2B6; Tue, 16 Apr 2024 21:20:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Q9d3Gs19" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (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 C788E13C662 for ; Tue, 16 Apr 2024 21:20:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302410; cv=none; b=UXrnorXQGM6bYPODivqbxryn/T73d/LXJA82WLfvMLbNYn4GVufHDvT3ed0U2oZ5yYmXZHnW0tsxSVycWQ8eZGYNeWSqI7jkJipP06nYZmO+Y57cSPEbvyjO+S2rriljcb79YyKuzIcSQalapYqn6JrQ7svv5k7KrCqhw2iK+QU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302410; c=relaxed/simple; bh=Cyosn7hM3IeTtbbG0GJFCApjNoIXS85OOK7GlheZX7w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XlZGTp8Oe/oAyeCd9KWv0rTuLaGhPy8WEiWRuhvQM2U1SuLEv/pD38DB9y0k3U8ciErYoRyX6U0qVrqUdO+i5HqPb73fRbdr2ySEGKI9gGWiuZ2YMv4XIONeBzn3HOsf8se0xch3gAX+Oe5rP8cdFsgrPsjQ/G/HYoe+DGrladA= 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=Q9d3Gs19; arc=none smtp.client-ip=198.175.65.13 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=1713302409; x=1744838409; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Cyosn7hM3IeTtbbG0GJFCApjNoIXS85OOK7GlheZX7w=; b=Q9d3Gs19fD33hAQL20dvWBxx6G7h8BoraaOm3gXXxcd7vpUNZB52JvQl daOGQ0nnuHOEdDRaQp1B1uUEESRpXy1Bmk+QMZMmNx+GE/BwF9qSVps/g 1//l9GXsSJKiI76EVrbmYk6itW7mSdzfyqQ1RqvC44MEp0UuMiGC8IYLY RJLpE+6h5RHFonn6/Id88hQnJiOmajOVHv1+4SvBxl81pSLvGnsGPkCVO KfJbfwPXx/YpHrH1Y7cXHBHPDtg2pE9Hap0I9JasGLmOGu5wdoXDFuFJw 8O7Z8GgfuHbytZ1KHTPWHWjrjcnp1Uo4Idl5sY+hjzk01zi9jCKffu4KI w==; X-CSE-ConnectionGUID: PgMiZPQ7QPWPyMAT0HQaBQ== X-CSE-MsgGUID: FDsBbrKEQHqTnHOvgRp4pA== X-IronPort-AV: E=McAfee;i="6600,9927,11046"; a="19914781" X-IronPort-AV: E=Sophos;i="6.07,207,1708416000"; d="scan'208";a="19914781" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2024 14:20:00 -0700 X-CSE-ConnectionGUID: pcVGpz32TBW7ycuR1pR9Pw== X-CSE-MsgGUID: NANA0DjdT+yL3e8FzD9NwQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,207,1708416000"; d="scan'208";a="22871962" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2024 14:20:00 -0700 From: Tony Luck To: Borislav Petkov Cc: x86@kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v3 24/74] x86/cpu/vfm: Update arch/x86/kernel/cpu/microcode/intel.c Date: Tue, 16 Apr 2024 14:19:26 -0700 Message-ID: <20240416211941.9369-25-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240416211941.9369-1-tony.luck@intel.com> References: <20240416211941.9369-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. Signed-off-by: Tony Luck --- arch/x86/kernel/cpu/microcode/intel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/microcode/intel.c b/arch/x86/kernel/cpu/microcode/intel.c index 5f0414452b67..64809f3271b0 100644 --- a/arch/x86/kernel/cpu/microcode/intel.c +++ b/arch/x86/kernel/cpu/microcode/intel.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include @@ -577,8 +578,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) { -- 2.44.0