Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2747826lqo; Mon, 20 May 2024 15:52:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW46nTc3k2z18SJz+ttoABPaJN9ykpyN2Jd6NeFTJPcunnhiLurGuuskzDfV2K22fJBqL1Z4z5P7p9eZNFUp6vyfqNZxaEOt9xpNp7hjw== X-Google-Smtp-Source: AGHT+IFuPiSvLxMLJrKtvbTDekJdlI6O16E53qxjWTb2/0XPQ5lNzTmvryFT9OuEN73l6Sizo1Xh X-Received: by 2002:a05:620a:9c1:b0:793:42d:da50 with SMTP id af79cd13be357-793042ddb8cmr1192924485a.5.1716245578898; Mon, 20 May 2024 15:52:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716245578; cv=pass; d=google.com; s=arc-20160816; b=uX3lRCmnPLJz3XPl75uieP0O7DykgOYbx9isGiPdXHIlrVQBR9TrC48l9kroiNBDQU Fc55lWpYGc1mPXoA2PL79q5xHsQxez0kqaALwf51TpxNpM+u92Ovq/prnm1av06FXWU9 ogrE4xnrjN6CqsewhjX0mWJ5O1rn28HVsv+i0DSArfEBCjM4QyrXxjqpi7IEAo0kyhg7 /l/7/n9ycvIgt+UoP949hrKEzpBXOJ0YRu+7ke6sjoo+JTrbbDIe7bBzX9AjGQOcndKK Fbbsszt7znWN6cVbD5V7nDYwYm5p/ULr229RJhpK6jwPB0cR37GloJyx5zzxva1X3jmB W9Kw== 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=ldwuuO02SDmsiSlHitMkHkuc1MuR1tRmStTe/U20Kx0=; fh=T26ksdX6UpceKBTmCjnZX4okm/RnV1G8gmRkfePNArg=; b=CxEQ3LrKxPJ1+XN37gxsra+tSZZyBvcS6RDSf7uPI67SLwj4LHn1JtyeFGtWTndjp6 p9q3MYPAdja4LJExD6sjeRznwcaKFlxOAC0ydnhxB+P8XlbTZ8ppYMJ3kaCBeWcVHezE k0vdATQge9Rf0cI1PW3CWHCJqq97BK6O4oEtLup8E+cBjWwd4O0rBFgYIVOFYyG6mwJ+ zRuxBABgh1cFhr0/C/ZwPpMNrL1B8B3culi21vYgyS8W9Lv9KprgrBifZgZHTNus3AGZ 2p9XT+IecJ5WqOdNtE3l0di9GCHQe0aID5TSVuQ/6wgDI157vN0MsspMQ4v6+ykhCZh2 4YTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FEqJl3Qs; 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-184264-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf277b3esi1057168385a.18.2024.05.20.15.52.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:52:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184264-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FEqJl3Qs; 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-184264-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184264-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DB6521C20B76 for ; Mon, 20 May 2024 22:52:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C92B13D29D; Mon, 20 May 2024 22:46:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="FEqJl3Qs" 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 C90A413AD22 for ; Mon, 20 May 2024 22:46:53 +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=1716245215; cv=none; b=K976kojvxrMY0IW8PXx4L2kM0P9SzXFSSGCCB+NTfduZQ4lN8uGPapmSY7/F3PxwLnfO3WVXI7etnsubfTGRYju0O7xpJ1HmBIrGZG68Bs8XLRup4GZTuED8KZ3XS/P3WuIK5tpDjJB4o7aZNHH13QeQZJa6oo4as/4jSva89Ik= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716245215; c=relaxed/simple; bh=7ymWfCCzp7TNiplx+Q1AsZqgqALtTY2Wy8qBKmus9Ng=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=otVme59OevNtutLEMPMPoLvI5y0fvI2wVVI4Zq3ABfKDP71zJELMndOhipCDfRC++q16BJmaGqqhx5wNEjNMMXu2cc+OR97gk4NPc1kO8uHMjWnQch2TctTw1Az+05Th1SeTmlLPImGvGJg33eRPQPp+JJ/aQJ3iK5nROE9I9L4= 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=FEqJl3Qs; 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=7ymWfCCzp7TNiplx+Q1AsZqgqALtTY2Wy8qBKmus9Ng=; b=FEqJl3QshDVKdq73iadzD1PnwgMymvzDTGh7iJ+ZSZAEMoygwiClp15X pTJlfLRHwSK+XL3DjWdn7LWyG9PfvPIoOsP72ogu19uCLbwlzEqaxIgHs HpLpdAdqIZp5ibiGAvAOQKAZ3cNhLvwHCbQj3H9tguSdYVeebSkHJbA0q F/u9jKALWoWBcoKLp6mJAiV3/rtn4p+8I2yS8nyDsINBHnIH18c1mK7v9 nReL9GtggaoQtITJqwobsoOnD3iom0wnIdnYooIxtDcQnZUWzwTYYHgXg Ll7d01SAK024rvvHEq1QjNL4fb7QPyB8z+0U++9AvIn8SWLXIsqlzguPh w==; X-CSE-ConnectionGUID: GXPlE3H2Rba081lLbkuOzQ== X-CSE-MsgGUID: 2x5U/fSdRs2E4QWa7e1w9A== X-IronPort-AV: E=McAfee;i="6600,9927,11078"; a="12199889" X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="12199889" 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: sEjHnpiNQZqU+zl84XsQug== X-CSE-MsgGUID: UcFKgdpcQxaOoN1sHwb9vg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="32593489" 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 35/49] EDAC/i10nm: Switch to new Intel CPU model defines Date: Mon, 20 May 2024 15:46:06 -0700 Message-ID: <20240520224620.9480-36-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/i10nm_base.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/edac/i10nm_base.c b/drivers/edac/i10nm_base.c index 3fd22a1eb1a9..24dd896d9a9d 100644 --- a/drivers/edac/i10nm_base.c +++ b/drivers/edac/i10nm_base.c @@ -942,16 +942,16 @@ static struct res_config gnr_cfg = { }; static const struct x86_cpu_id i10nm_cpuids[] = { - X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(ATOM_TREMONT_D, X86_STEPPINGS(0x0, 0x3), &i10nm_cfg0), - X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(ATOM_TREMONT_D, X86_STEPPINGS(0x4, 0xf), &i10nm_cfg1), - X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(ICELAKE_X, X86_STEPPINGS(0x0, 0x3), &i10nm_cfg0), - 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), - X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(GRANITERAPIDS_X, X86_STEPPINGS(0x0, 0xf), &gnr_cfg), - X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(ATOM_CRESTMONT_X, X86_STEPPINGS(0x0, 0xf), &gnr_cfg), - X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(ATOM_CRESTMONT, X86_STEPPINGS(0x0, 0xf), &gnr_cfg), + X86_MATCH_VFM_STEPPINGS(INTEL_ATOM_TREMONT_D, X86_STEPPINGS(0x0, 0x3), &i10nm_cfg0), + X86_MATCH_VFM_STEPPINGS(INTEL_ATOM_TREMONT_D, X86_STEPPINGS(0x4, 0xf), &i10nm_cfg1), + X86_MATCH_VFM_STEPPINGS(INTEL_ICELAKE_X, X86_STEPPINGS(0x0, 0x3), &i10nm_cfg0), + X86_MATCH_VFM_STEPPINGS(INTEL_ICELAKE_X, X86_STEPPINGS(0x4, 0xf), &i10nm_cfg1), + X86_MATCH_VFM_STEPPINGS(INTEL_ICELAKE_D, X86_STEPPINGS(0x0, 0xf), &i10nm_cfg1), + X86_MATCH_VFM_STEPPINGS(INTEL_SAPPHIRERAPIDS_X, X86_STEPPINGS(0x0, 0xf), &spr_cfg), + X86_MATCH_VFM_STEPPINGS(INTEL_EMERALDRAPIDS_X, X86_STEPPINGS(0x0, 0xf), &spr_cfg), + X86_MATCH_VFM_STEPPINGS(INTEL_GRANITERAPIDS_X, X86_STEPPINGS(0x0, 0xf), &gnr_cfg), + X86_MATCH_VFM_STEPPINGS(INTEL_ATOM_CRESTMONT_X, X86_STEPPINGS(0x0, 0xf), &gnr_cfg), + X86_MATCH_VFM_STEPPINGS(INTEL_ATOM_CRESTMONT, X86_STEPPINGS(0x0, 0xf), &gnr_cfg), {} }; MODULE_DEVICE_TABLE(x86cpu, i10nm_cpuids); -- 2.45.0