From patchwork Fri Jan 13 03:28:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhuo, Qiuxu" X-Patchwork-Id: 13099686 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A74EC678D4 for ; Fri, 13 Jan 2023 03:30:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231347AbjAMDa3 (ORCPT ); Thu, 12 Jan 2023 22:30:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232726AbjAMD2a (ORCPT ); Thu, 12 Jan 2023 22:28:30 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 123C61A21A; Thu, 12 Jan 2023 19:28:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673580509; x=1705116509; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=WFGpcb2BGEaC7cyAn+o6T1CTx9FgSPGQkWdb0KmwAws=; b=VP0C4JJheK72BsrgrrWe0IKxTYJBvfijJIxLN8RWMDNwJwWy4RHx9aL9 6AI8wrwWMGCQhfPoRIJdEuoEV68BjMUnFSl8ALWijpYymJswTxHLwdVLA qlss7PiiVgIGo9xJ1nVuXw+aQfQnhwbPQdVlen/ZFCmBx8ySNDsd2Pi7b Jmym/MEpDp75nKjRcL3x3HtazJc60O9AFy1XlY57AdfOVlpipWpBGJ8/O 4esyaniSNnXq42Tl/w3CiKG9auZQwRiLlT+x0A0aGPozGAZgelOCnYK4Y SKpYEXN9BWjIWhFLauwgNBYALb2fuxPWfGZdFZSMe2Yz63dHiqZ4wSKuE Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="410138859" X-IronPort-AV: E=Sophos;i="5.97,212,1669104000"; d="scan'208";a="410138859" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 19:28:28 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="651386230" X-IronPort-AV: E=Sophos;i="5.97,212,1669104000"; d="scan'208";a="651386230" Received: from qiuxu-clx.sh.intel.com ([10.239.53.105]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 19:28:26 -0800 From: Qiuxu Zhuo To: Tony Luck Cc: Qiuxu Zhuo , Borislav Petkov , Aristeu Rozanski , Mauro Carvalho Chehab , Youquan Song , Li Zhang , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] EDAC/i10nm: Add Intel Emerald Rapids server support Date: Fri, 13 Jan 2023 11:28:00 +0800 Message-Id: <20230113032802.41752-4-qiuxu.zhuo@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230113032802.41752-1-qiuxu.zhuo@intel.com> References: <20230113032802.41752-1-qiuxu.zhuo@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org The Emerald Rapids CPU model uses similar memory controller registers as Sapphire Rapids server. Add Emerald Rapids CPU model number ID for EDAC support. Tested-by: Li Zhang Signed-off-by: Qiuxu Zhuo --- drivers/edac/i10nm_base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/edac/i10nm_base.c b/drivers/edac/i10nm_base.c index 65aeea53e2df..e11726f7fe36 100644 --- a/drivers/edac/i10nm_base.c +++ b/drivers/edac/i10nm_base.c @@ -637,6 +637,7 @@ static const struct x86_cpu_id i10nm_cpuids[] = { X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(ICELAKE_X, X86_STEPPINGS(0x4, 0xf), &i10nm_cfg1), X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(ICELAKE_D, X86_STEPPINGS(0x0, 0xf), &i10nm_cfg1), X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(SAPPHIRERAPIDS_X, X86_STEPPINGS(0x0, 0xf), &spr_cfg), + X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(EMERALDRAPIDS_X, X86_STEPPINGS(0x0, 0xf), &spr_cfg), {} }; MODULE_DEVICE_TABLE(x86cpu, i10nm_cpuids);