Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2748182lqo; Mon, 20 May 2024 15:54:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVZv4vubu1ShEw+zy+6W9JIJ5BW7QdnHIGfCTdXU6IytsMdDqLv/U0Z5RqGXBcEHpZR72tm64YIgeLCuzoL+aNhLGIHtlrkAZQW3PkyLg== X-Google-Smtp-Source: AGHT+IGLk9WsrUMMdbHem3CWcnyqbcg6areSB6wzmgwb3uH9U+y9oLTanLep5hi+QPpM80jpEqjN X-Received: by 2002:a05:6a00:181b:b0:6ec:e785:98b9 with SMTP id d2e1a72fcca58-6f4e02f605dmr38255449b3a.27.1716245671346; Mon, 20 May 2024 15:54:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716245671; cv=pass; d=google.com; s=arc-20160816; b=KSU7A4cGXgfQLIRFeW9gDrYcyr2b90E+5RVYrRRLExU7HkAxWWQOHpM0p4w+olO08K Wv+Ba5oUV2AdpwS0PGTn6vZKWVPXVgcYJOLVPOUpTuyYCQD4+OSqoHwqqiQQnVSbVmNL sbRwtbLASy0/PcwYTO/Xl07+3+lmTJTnXw0AAn3JGW+fDtHiPrtw14bsety6edTtcvhe Me4WMNvNpXTXpLScSCT1n6PeaIdjFT+uI98TZjC0SkZtU6sHYaR22SmQPc9H189jpIYz TMwYDD+Aj6bVzmNIAxZKts5PhQKtSqYI+A2vRuGxiVDyJuXFDivSflmsJb0GpOm70yKo Tb+g== 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=vj/LlHhZjxSV7N8Jo8fMhTz4bhX9lIet5ty10B6TXeg=; fh=T26ksdX6UpceKBTmCjnZX4okm/RnV1G8gmRkfePNArg=; b=y2qswiA3h7okt/isj/qK7Po8h3z0Xpv+Gxrc7MHJKryoN1BLm1tk3ONi1jnhWBuHMW wawF1NASFNvO6+YbYYW1BeHnTiTyky+RFufxPQgPnS4jRf61KNedpr2jG8mHqkD8KakL 3aUiWWWzQFR7EAG8+v41B+t4yEp/s8b29K/qbX36/LL67ktI0ehlfMwEbWt1rvLVkSk+ FxrfxNY6CWjpzX/WwJxSrgXOo5eRfwVNX9Ogr1mID63ZEWjPfc9ZVGh5BmsMijzJ/uJa u5uZUbPzkQBKYKwjCn5EY8hTzlTUtPy35FSRGBajRYnzuWPbCNz55cC3tJQcVnVBgzsK Osfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Rndo5BOs; 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-184265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184265-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. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b51e80si22280696b3a.405.2024.05.20.15.54.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:54:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Rndo5BOs; 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-184265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184265-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 762BBB22706 for ; Mon, 20 May 2024 22:53:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4888A13D509; Mon, 20 May 2024 22:46:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Rndo5BOs" 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 334FE13CA92 for ; Mon, 20 May 2024 22:46:54 +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=1716245216; cv=none; b=sYJgDWOY7+ZTGMCCExLqb3s1BY2LglGzlpffV/TUfDEm6h0VT2cdKlZAU52NvGstosUwJ+BXO7WNgvnHNH2azeIW7A9GgO2m+yBAzAYXTTHTGG2dH5xa+qeJ5ZnKItFoRRbplA20UL0aq4d+3heHY+IondscYHueu6Mu3tgFF7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716245216; c=relaxed/simple; bh=yvG8vVOFiUlIL/SKzVALgFIjKhQFvNcZtyEQuh9ZrVQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=V59ePT6AgAlKLhu1gHX51bjV8zsOXvIGUAtie82lHq9lJDCbteoeVo1mo+MSUb0zHp9P4CDZKKtjYqZvqgBhqqtRH8IkVvWbmbYrYPLnE001GVIgp0ZaiN8RjGe9USLKZ25AYOppo+UtuWNgMFfvu7lcnwEOT9JSE2esJs7sO0s= 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=Rndo5BOs; 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=1716245214; x=1747781214; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yvG8vVOFiUlIL/SKzVALgFIjKhQFvNcZtyEQuh9ZrVQ=; b=Rndo5BOsDr2GgTxSzzn+QjoJp8P9kDrIpyrazRV/cqoboT09ciHcyjmd gfEOwW2K+BKxJ1KNaJDqAs9EX4dE9QI2TqXwvx5zFN2SDwb85XAhpGi82 nbPXikTRJZAaRqZg6NCtVQATZanQpiVcXT9etxKBnduCkZ45eQxHycDHs CeG7uLXVQ/SjQ0v68QP/nfMly6zT819NvIwt3KuHdO9F/qLtw7Gb70/hR DcHQAZ+Z01TEZLhWwP4jXiixftDzkxsR79tB2bt7Eh7myQyB3ClhlAnM3 ijNVGoGuz/TMZ/zORfxJ2Ka52n3cws9mVPBm7d9mzFdKMJ0P7o1VXT1Lm Q==; X-CSE-ConnectionGUID: QukVl16FSuGoY9H8iJucAw== X-CSE-MsgGUID: 98ao9+lVQhKd6+ISRFGGJg== X-IronPort-AV: E=McAfee;i="6600,9927,11078"; a="12199913" X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="12199913" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2024 15:46:39 -0700 X-CSE-ConnectionGUID: yStxYKhOQCKRJBCtnmc/fw== X-CSE-MsgGUID: BT5RpVzmSqifu12udtCIkg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="32593495" Received: from agluck-desk3.sc.intel.com ([172.25.222.70]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2024 15:46:39 -0700 From: Tony Luck To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Cc: "H. Peter Anvin" , "Peter Zijlstra (Intel)" , Uros Bizjak , Rick Edgecombe , Arnd Bergmann , Tony Luck , Mateusz Guzik , Thomas Renninger , Andi Kleen , linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: [PATCH v6 37/49] EDAC/sb_edac: Switch to new Intel CPU model defines Date: Mon, 20 May 2024 15:46:08 -0700 Message-ID: <20240520224620.9480-38-tony.luck@intel.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240520224620.9480-1-tony.luck@intel.com> References: <20240520224620.9480-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.45.0