Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp153189lqg; Fri, 26 Apr 2024 11:16:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU0QTgrETv8sLd5sCbQEc/GA00DLd3j08endGZc3BnWCtob7ifuWB/tWJftd7a+yjZ+Ct9CqM1CJnlkHjALX2b/wvlCc0YCS0kxMX5SVg== X-Google-Smtp-Source: AGHT+IGVNDeNMOdza2A97ODC18EJGEItrIwJDU0/3RfsRPgDUw8SmnSK7wj1PcizYdQpZgu4vVGH X-Received: by 2002:a05:6a20:2591:b0:1ad:4dc6:7791 with SMTP id k17-20020a056a20259100b001ad4dc67791mr467351pzd.15.1714155366100; Fri, 26 Apr 2024 11:16:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714155366; cv=pass; d=google.com; s=arc-20160816; b=P3NXej4TchwtjL/+LhSvesUG+n3QEPYW6X6h7DmSxIYzrpHw5ObSPvhMX6bBYCdK+D yQZuCzqkBFM/NXJ8Oz6kqnvGbADL7o82VhXmwnglYUMV9b1zNG6Sm9p7f82QBZJudETf QlIGegMrwmyptOoJydG10Oaxogc7R58UA1jPtoauoPpTyPOeGsEf9Gg5qRTJ5nsOLAv2 nPOGj6cHmptp+UI2+niItDQ3OgZhWte9ntOPZ3y8cMdNSVTi/HsY7Covd1X6nH2WX8gm 7dUBRsCbeRftCk7ypHJc7cO2svSAmKzumQ/V3JiPaYBIOIW2SRifWI6MLqgzUXq7qRCJ Gcrg== 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=ycy0ZFmdvZj6/8voNpxWj0nxNZyEC+RHC/uTiGiH8fQ=; fh=sRuoxverM9+fK9z5tkT0IKJpR0o28A+KF9ywarzvQRc=; b=rdK5HyWne/o0BvScizBEq83UqEFfccMqv7369EwZQbxLQw2/iWoTikJFBYGBJNEZwZ wyaZPo+0IwRt9M8MdtkW4JQ2pidW1VXa0UE+isGvIxY8SD5E0Dwef15nw0Xe7sCTYVNO QvYBL6gT99NtzbaMeaJ9I7XJR2SdIUA1fyZsctmgzilsRxiRSoYjc9W2xeHgvvAt4DMl V7bdVwaf9dUBmLdnnU007jAGrf2Ufs0c7p8iofaTPQxvfYRO/WK9l0l2BqR6osU3NO1t V3jsZizMwhHAtqW0myXMORZL3jZEiwOGisH+12P1Em8bof8iqs7VWG/l8lbDxJSL67he H4Rw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ZF78jg8G; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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-160550-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160550-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 r14-20020a635d0e000000b005f751c476bdsi15246279pgb.751.2024.04.26.11.16.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 11:16:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160550-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=ZF78jg8G; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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-160550-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160550-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 29FCEB230AA for ; Fri, 26 Apr 2024 18:13:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABB91172BB5; Fri, 26 Apr 2024 18:12:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ZF78jg8G"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="3D+0+37Q" 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 C2CFD16F8FC; 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=1714155137; cv=none; b=V86/v7iYoRHPHD3vLz4GGZ/h5D5rd6Ys3RXTcveKrW7q6uWQt75t6QTEiSrCXq7H9OaGX2vaRR/jQB/FnG5GIRLyJ5txQiOVeDCtqNrDanHqVf23k+CT2/bSxbqw+3/SVwYgdkJMioJmKSgvur5FVq+0zz4ctgVor8klzTn5gHs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714155137; c=relaxed/simple; bh=jSY0nA+ROhRqTnRhQs/ve/+tyARjxDRZJy8Uj4HGnYs=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=dysJfUKrnvGqfvQT+SBkd+lAa7gJaHknGyvAhwX9P1Zj0gfjRiGFAEXY/thOJGOpjnX4cPnZtLxOaD2Ha0rKUFCMrgAcP4SQtmKC+rqDkw7xq8RHt2Kol5hkHMkCdzKI7lSXWP/gnF1hOofjZ6x66xQ05uwfAAJ9XNzWyxvPjlg= 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=ZF78jg8G; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=3D+0+37Q; 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=ycy0ZFmdvZj6/8voNpxWj0nxNZyEC+RHC/uTiGiH8fQ=; b=ZF78jg8GLjrUCcsknwUzQ6r9f0N8RGtckQPHgWSQCFGf2JIR3if/z0N4oyp31Wq6aVGD5k qCVwk8gq3OtvDj2BlOs7q6a229bdzto+aX3iaiPaLWio42bUXSopkbYDZKvukM91bMp2l9 W1wp8jNcxSpXD2S0PN+rBsK6YBRXhgG+bN54qHkrmiCN6g30MmUO2PPQMEdk+4Ih51YNJk pfUsYAbqOw7kJ+w/6oF/W5Fvtfb26dbFwl2sUE4cAsC6IHRDGlsRIyRkxGsOFxOP13Ao1k KE08h7T3dhbtyiyqyKTyI2+WZdDcyOZWaEM0qpvt0VrGlLP7S0e4yRuILpeVCQ== 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=ycy0ZFmdvZj6/8voNpxWj0nxNZyEC+RHC/uTiGiH8fQ=; b=3D+0+37QP47isYVb1frGSRKSTNhainvlurRJ/UEsxukpyuM/g+tH80d6tcNNny+Qgp/4fa j3msJerv/nm+UQDA== 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/mce: 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: <171415513142.10875.5506937113869096290.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: 066f54e65e47b3b35ecc79c2fe934e0867ffbe2f Gitweb: https://git.kernel.org/tip/066f54e65e47b3b35ecc79c2fe934e0867ffbe2f Author: Tony Luck AuthorDate: Wed, 24 Apr 2024 11:15:11 -07:00 Committer: Dave Hansen CommitterDate: Fri, 26 Apr 2024 08:49:24 -07:00 x86/mce: 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/20240424181511.41772-1-tony.luck%40intel.com --- arch/x86/kernel/cpu/mce/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/mce/core.c b/arch/x86/kernel/cpu/mce/core.c index 771a9f1..ad0623b 100644 --- a/arch/x86/kernel/cpu/mce/core.c +++ b/arch/x86/kernel/cpu/mce/core.c @@ -47,7 +47,7 @@ #include #include -#include +#include #include #include #include @@ -1948,14 +1948,14 @@ static int __mcheck_cpu_apply_quirks(struct cpuinfo_x86 *c) if (c->x86 == 6 && c->x86_model <= 13 && cfg->bootlog < 0) cfg->bootlog = 0; - if (c->x86 == 6 && c->x86_model == 45) + if (c->x86_vfm == INTEL_SANDYBRIDGE_X) mce_flags.snb_ifu_quirk = 1; /* * Skylake, Cascacde Lake and Cooper Lake require a quirk on * rep movs. */ - if (c->x86 == 6 && c->x86_model == INTEL_FAM6_SKYLAKE_X) + if (c->x86_vfm == INTEL_SKYLAKE_X) mce_flags.skx_repmov_quirk = 1; }