From patchwork Wed Jul 26 05:59:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai-Heng Feng X-Patchwork-Id: 1812967 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=kt3dxL8K; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R9jt9431qz1yZv for ; Wed, 26 Jul 2023 16:00:17 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1qOXZE-0003aU-4Z; Wed, 26 Jul 2023 06:00:12 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qOXZC-0003Z1-Uf for kernel-team@lists.ubuntu.com; Wed, 26 Jul 2023 06:00:10 +0000 Received: from localhost.localdomain (unknown [10.101.196.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 5867A3F16F for ; Wed, 26 Jul 2023 06:00:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1690351210; bh=O8zDOj9iVBc5SHt0oTENjY6mgGo4j1NzWK/FjV+MZqk=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kt3dxL8Kydfwp8NjOOct6oU/cpyXNR9xe87ZBk14+gKEhRt6tLS0VcsYZvJqaHgQo XAc/imy6VdW/LDLkUqgW3BoXH0/qVGAzb3GZcQs3UUC1Ul1Fc8spL2AY9WnA4N0teT vldFGQAgscMgpG1zI3LJZu31NMZ1jfmEI23nj1ykFv5L64KlKvoDeP7MHxEOCTqPMJ G5Iq/p+E7z3SvsREIpf4bGYRuHwIsx9C38dcukeFeWR57AUE1n2ljeyJlc50bm+4sm N1TEw4BS6IzjL5JWFBWRifyIU79ZCpf/U0EN2HHEhbqcw8TgJLcmquWiblnaWZGgG2 4v39y4W4hLXAw== From: Kai-Heng Feng To: kernel-team@lists.ubuntu.com Subject: [L] [PATCH 3/6] EDAC/i10nm: Add Intel Emerald Rapids server support Date: Wed, 26 Jul 2023 13:59:14 +0800 Message-Id: <20230726055917.3291633-4-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230726055917.3291633-1-kai.heng.feng@canonical.com> References: <20230726055917.3291633-1-kai.heng.feng@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Qiuxu Zhuo BugLink: https://bugs.launchpad.net/bugs/2028746 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 Signed-off-by: Tony Luck Link: https://lore.kernel.org/all/20230113032802.41752-1-qiuxu.zhuo@intel.com (cherry picked from commit e4b2bc6616e21f4a7ce4e7452f716e3db8fe66b6) Signed-off-by: Kai-Heng Feng --- 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);