Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2177377lqa; Tue, 30 Apr 2024 10:02:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSKRordseHuNrKsWjqSM/5E1RAm1Q0QEe0xfOb4bLKSqi+opggFgsm7GA63+NPzI5HSCpUtFzfd961EhxXtg1BAzo79+m9CxX25syiUQ== X-Google-Smtp-Source: AGHT+IEYifcSaJV4WWUJvRGNiLoXmiMQgUbwW237/Ahvjntc8p1e4CwdLRqa2CG3JK+TpHTwkE/M X-Received: by 2002:a05:6a20:da8e:b0:1aa:92b3:23cb with SMTP id iy14-20020a056a20da8e00b001aa92b323cbmr529934pzb.2.1714496529828; Tue, 30 Apr 2024 10:02:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714496529; cv=pass; d=google.com; s=arc-20160816; b=FEMBSwBxA1+emDDxq3AaH3Xu0sWEAJVv/U0cL+usK9vY7hOImvWvlesHzLIVfHzdgU qt3jX1nxm7e9NRSSsbYI3FmqgX0DnIq5K8bW0WKPcIO1zo5HUfYapoYmPLfWXsekZ7B3 ATWEmtXPaY+LRwAviPg9qmnDpoxTOtNm2SmAlvvnMF0oBFIKRp+eOcgUig4u/wl+rgPM Vq3rLLmCB02DAiezclmFaCI7sDKMSkX82bVjqsZm1Uggat9CBxTEi8pRq2hbD2p84B0a L6aFxlpYEgg1nsGQCSNFLjlh4UBiUsmUDb+KroL+zNVo6yifsPSTWC5mRJfrSQdeFMGC 5kOA== 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=+hYw9OVB6fZbuqNP+sP/Bpltb5732vfcy9b0DIvlv48=; fh=fCCNFvJbPqqXo45yXdlgqaDimb/JVSzwDZSVTcpWFog=; b=EeNChZ2bCWMq+PkOv+X4lHAtlKQNei3CYCmUjMgljY4Tvn+YpeCT9dm7phw2EtKwCh st0iqbVgNy9OB+i1Wu8AhWEHAg50RzkLEtVGLhrmuKu5HkNoYsferiW51XFAzERopdwF 81kFYzXd2XBDv4QAC/JqY2SehFnDGevZ15fxaFGm4LSxvDTP23yXbxU0y62P6H1Ad3yZ y2X5aOV/FPuvm8IG2+zopVJXEHoOmFVdxTDZ/yalKOQC21c2ee24oHvWoQUFDiyd9oTS VuEM5fVoU30o1zpKTH5liYiqi0Ed53fIfquxkTyAR6tsjncCdbMgkXf0UbAqZyfEPql6 +SLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mXjyjZEL; 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-164465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164465-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 t5-20020a63dd05000000b005f073d101absi19392325pgg.835.2024.04.30.10.02.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 10:02:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164465-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=mXjyjZEL; 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-164465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164465-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 DB7C8B2241F for ; Tue, 30 Apr 2024 16:57:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 568E1200105; Tue, 30 Apr 2024 16:51:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="mXjyjZEL" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.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 0BE7F1C8FA6 for ; Tue, 30 Apr 2024 16:51:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495914; cv=none; b=nwWjc3wb/1PHafmJ0VvhoGfpOve17PaHRbxg3CiQyYnwgNWf4KGGYe8LS4RoDGUXn2yuVTUVVnhWkyczWNPvKkhnZF3pSYz3vKB3uRfPPIcLHplUKoWfAMFKHpukYV5JAnJgf+teIjSSsmd2iyaDxd/jJSWlPAmdmaFozrrXz2I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495914; c=relaxed/simple; bh=K0SMUkbNdaQTs8egvbi/pMmubWEho1P85u2CzO6rIlk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qsDN6ucUXMObjz6unNOwvD+nuF2MWpMuf8g4mXMfm53Z0ho7DmohSHILzXgol2zsky2UyMX0IaQbeq8a4aVr9OAxemqkKK/aj+p2QULU6MIvGI9QfAYZJ20mKUwWuOt8hqTIREqFLrAvTaXpQVE84isg16v8dhhviRliK2xKllI= 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=mXjyjZEL; arc=none smtp.client-ip=198.175.65.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=1714495912; x=1746031912; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=K0SMUkbNdaQTs8egvbi/pMmubWEho1P85u2CzO6rIlk=; b=mXjyjZELERiLico7jCdtAAzajSVOnrZzVuLVJy02Zr6pNvD0mxavCbUu kKmvMUiyKk6qylqiemRQlEyR0ptb1hBFqwMUaEEn2w3bTalJRD0lpm9zV mJeoFhWTv04kgyVa9kRa5miOEfwfltbebcSHyKJHnK/EWIGubk0WKqPoh TBTQu8kQdVyjCRwOtl5+/4VaEJPT2ivH+sM2NqONDOuUH+iZyBJaarv49 fDJKwn0CLRjAuqFo8sBCLOS7UvZhkjoWLGyUyrN8tqRrtFpRsK1+wJ5LF b5iNa9FzlJDseGSq51/JoHlewXTB1r95TT/aUlU4/ZIQbOy4LKl1/b2aY g==; X-CSE-ConnectionGUID: H5qOef7aQIikgELWOxndgA== X-CSE-MsgGUID: KL4eJEzYQay3uSgjqWSjMg== X-IronPort-AV: E=McAfee;i="6600,9927,11060"; a="10075810" X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="10075810" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 09:51:24 -0700 X-CSE-ConnectionGUID: cRsaezwwQC2j9D/c2EVBow== X-CSE-MsgGUID: 5GKCtyyNQjaaCHTMHrH64g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="26515505" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 09:51:19 -0700 From: Tony Luck To: Borislav Petkov Cc: x86@kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v5 35/47] EDAC/sb_edac: Switch to new Intel CPU model defines Date: Tue, 30 Apr 2024 09:50:48 -0700 Message-ID: <20240430165100.73491-35-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240430165100.73491-1-tony.luck@intel.com> References: <20240430164913.73473-1-tony.luck@intel.com> <20240430165100.73491-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 --- drivers/edac/sb_edac.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index 26cca5a9322d..cbc92d3683e6 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c @@ -3546,13 +3546,13 @@ static int sbridge_register_mci(struct sbridge_dev *sbridge_dev, enum type type) } static const struct x86_cpu_id sbridge_cpuids[] = { - X86_MATCH_INTEL_FAM6_MODEL(SANDYBRIDGE_X, &pci_dev_descr_sbridge_table), - X86_MATCH_INTEL_FAM6_MODEL(IVYBRIDGE_X, &pci_dev_descr_ibridge_table), - X86_MATCH_INTEL_FAM6_MODEL(HASWELL_X, &pci_dev_descr_haswell_table), - X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_X, &pci_dev_descr_broadwell_table), - X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_D, &pci_dev_descr_broadwell_table), - X86_MATCH_INTEL_FAM6_MODEL(XEON_PHI_KNL, &pci_dev_descr_knl_table), - X86_MATCH_INTEL_FAM6_MODEL(XEON_PHI_KNM, &pci_dev_descr_knl_table), + X86_MATCH_VFM(INTEL_SANDYBRIDGE_X, &pci_dev_descr_sbridge_table), + X86_MATCH_VFM(INTEL_IVYBRIDGE_X, &pci_dev_descr_ibridge_table), + X86_MATCH_VFM(INTEL_HASWELL_X, &pci_dev_descr_haswell_table), + X86_MATCH_VFM(INTEL_BROADWELL_X, &pci_dev_descr_broadwell_table), + X86_MATCH_VFM(INTEL_BROADWELL_D, &pci_dev_descr_broadwell_table), + X86_MATCH_VFM(INTEL_XEON_PHI_KNL, &pci_dev_descr_knl_table), + X86_MATCH_VFM(INTEL_XEON_PHI_KNM, &pci_dev_descr_knl_table), { } }; MODULE_DEVICE_TABLE(x86cpu, sbridge_cpuids); -- 2.44.0