Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp610540lqd; Wed, 24 Apr 2024 11:21:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhKSNIQv5vjWTe71Iwgr9zEpFg2bueqwdhj4CWgqxAgqtWidFMQQF7WOMaWeSkJK9ex+0IoSpb87lyb4BjtSMox0W5O1uROVvIlZ2I3w== X-Google-Smtp-Source: AGHT+IH7U2RkYf5LYwZ2yuIto6CvyLKpRl3zw5hTIlIu/NthhXsGVnN15GrOiU2bfqOJszmm7rzW X-Received: by 2002:a05:620a:6223:b0:790:974c:3516 with SMTP id ou35-20020a05620a622300b00790974c3516mr518303qkn.38.1713982908412; Wed, 24 Apr 2024 11:21:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713982908; cv=pass; d=google.com; s=arc-20160816; b=iVq0gVxocoQHFHPPNalCP4xlS1qGZeFoTPGmVDSyjlMf5QIFcK3Pxz7kLzRjFxebvB dcANZ6jarl/YmrWUzEem6GyT5NoxZ9ZmqGPhVqxqqbfY+IhDkmXYulbME/6IpvzIk8A4 iRFQ4S+dPASVr/6kqxceY4yoLgUxfzVd7ScZltcjPw912tvdXPWf12+a5ST3rfI8nRh2 hgfMeOkJqU/JUqGlpwbJpNsd3eo88qHhXDauqOwVG0XKEEFqhGhVc2KzwuyXGt0S2/5P UM4WrX5Zpc1+1n6Feraipy7STONsWuOJEeCw+flC89hg+Oft6SAqyYO8UB4LEYP1MRel hXgw== 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=vLpiq3PlUb/Bnofb/KFsiRsk8UB5aAXCca2APpmys5c=; fh=nb7JgGlWlkl28rb8QMIE3scWfw+CbcSv2ukN948Wi/c=; b=vnWr8vB8H2DoGKceQHfr2lcrXUGLGBuaaAO7tVUySnbYmVSpy+RkIRI5RAC2cUAe4R f5kvBtdPbS+pN5oxQcqoM/E9vX5PiqVYDB5q+cmeCb+3oX4vxzgc+KrHG9N0ptvF11xf bmwTWkedrVsibOxoK3zMDROtJvxXoC0Sa7hoG8EbQ9gNx4pfA3EAHQlqTfNyJ8rOvRBF EBNvBXQ4RiJxWeHfBiwpREHbctzoqbIdV1KQbY3ORQXkcNLsRm9hXfNvzwonWEAbTd4z Sh7mIIFyNBzhPG3DMfnQehs5oSWIa/EZD6HV9XZ1nYBMy5bLsXrJRTt2KaWe56upl/L7 MhBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Fl5OGbmq; 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-157484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157484-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bj9-20020a05620a190900b0078efb7b7750si17985609qkb.82.2024.04.24.11.21.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 11:21:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157484-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=@intel.com header.s=Intel header.b=Fl5OGbmq; 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-157484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157484-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 1BDF11C20CC5 for ; Wed, 24 Apr 2024 18:21:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3B79184114; Wed, 24 Apr 2024 18:15:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Fl5OGbmq" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (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 B4CB2181CF8 for ; Wed, 24 Apr 2024 18:15:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982525; cv=none; b=qmutXNqke0mcQzZza2RPF9kWTdsMAOu4NJOJy9RgkKO2JOqmoZKOti7S11aaiY9Oex9edIvJbIBPoX8nzEY6vcCG+mZyO9Rx+Ucmk4F6gZSReyysieKurjJrx1H0Dn83nmZJS3ILN6wjyZenL6S3dSleYaU5Jr0IaJuekQsQSIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982525; c=relaxed/simple; bh=MetFmFlhAPE7vpRJ4pnmuEjVeVxyl19C3RDm5bFHSMs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZC145a1rvDMVQ5N4APDCQx2RV62F/lho2q7gyGVB574wyVu2vJChY95B77WndIhvSLwN3uXAI6aAuBfpBfxBkiQ3AF1UxvXfAXgLd/04/2YzJbkvoY8VGrx/E0rIEgVh4kXUbna79Kd5+cOm3fmhN1tDVFD5bCfr1DeyJWRhnMQ= 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=Fl5OGbmq; arc=none smtp.client-ip=192.198.163.18 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=1713982523; x=1745518523; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MetFmFlhAPE7vpRJ4pnmuEjVeVxyl19C3RDm5bFHSMs=; b=Fl5OGbmqlIydLqeI8Viidm4TijDTbD1J4QNhWSbgCftdFjgMVzWI/kzg q42nk8OqAhV1cBrLJawantDGN0zbWuaNLV9ZLsPBwrXkm+7sS0mfBnr0a dIt2AjaLNf3iAPsFrBPTZUMciLvuIWQOH0l/8PUu/ZmFJr0SHhwiVQkIC /KTAvyVclzcW3hNeB8JSUY/iekRliGlyu9EqlY1fSOEv77wnT7T/8/UYQ 2mV/E2TsnWgO/YwMZj6PgKUN4R1pa9W6ruVfDBcsGRXrRlvG9183QjbKi QbBjHpOKRcPGCVESwSa/GyPAjnoieBfDPUl2ydXGLx78Gw82Qq/KwptL0 g==; X-CSE-ConnectionGUID: q1OIDzYERnm4luQVcvM6EA== X-CSE-MsgGUID: voberBd2RSaILcIjLVavSg== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="9482022" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="9482022" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:14 -0700 X-CSE-ConnectionGUID: AfJ2xFzOSQqry4fUNXU0nw== X-CSE-MsgGUID: BHJJCOJSQFefEC9GPZ5QeA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="29262762" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:14 -0700 From: Tony Luck To: Borislav Petkov , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org Cc: "H. Peter Anvin" , linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v4 35/71] x86/microcode/intel: Switch to new Intel CPU model defines Date: Wed, 24 Apr 2024 11:15:13 -0700 Message-ID: <20240424181513.41829-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. Signed-off-by: Tony Luck --- 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 5f0414452b67..815fa67356a2 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) { -- 2.44.0