Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp243488lqb; Tue, 16 Apr 2024 14:30:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUG9Syba+gYPhV0kpnII0ciayN+aAy3S2shO6yx9gTLrdlIIb5QCZAEAo6IA0T6fH1tbicvU3LF//eb7v5hIokvD/HqP2fMBabfi+d+7A== X-Google-Smtp-Source: AGHT+IFF4PrJMfDXyy1KYV/W/UsRqDx6efHrmKZSz2sNMEaMVX/I5ealfcaMOQU/SAAcGcWEUloZ X-Received: by 2002:a05:6358:2505:b0:186:302c:38c5 with SMTP id m5-20020a056358250500b00186302c38c5mr14439867rwb.10.1713303037668; Tue, 16 Apr 2024 14:30:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713303037; cv=pass; d=google.com; s=arc-20160816; b=u0jaGi/Y5plcl3GDKTDPVUyT98PQKuMhRb6taNpon58wquaS7o0M+AYpgCV4iiJug2 qKCtN/PwGW+eGICFSHoHXYZCcboc+4pVvb7vZVEyruG+TeQ3ur+ESzWSUQlnDThA4T2e Htncm4xo9HoMBEV2AelXwp/WICwV9CW/sxxo/KqzT1ZybkusT5plUqVvjOvwRNPpBJyA Bgl0Ej/TgXzjD9j0KLtgVJwT4eN+hP9wMlH7FzFb8owNG2H6zCgcVA39SVz7hdypq9TC q6A1nco56DhKBCcLn2PgMfDsboAi9vgoHfll1OvYH0CxjwGRG6e3iX+jxJPu71kh5zoq 4lnQ== 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=w/9nCpTGm/R+E3AV4DXBfLNcTFMdROb/GQUNU5dTmW8=; fh=IYWAyVf/ThfsrYnXUKynlD4sd4LIp41VDXca2xztBSw=; b=uIauWQL5cJt/s2AUseFR9R2gZ7GWG6slgknQN7t2Y+JnR57lvS9w1xF3jrQXeJMPmN RoZMpQjGlYctLMIUyxNku4mBt0q0JYzBaehh6HZrHB66xATMmc30KxlJokIm3y1MfvP4 A7o5GBRugqnvDgHFxz/MkTm1YgyJ5J1O4Ew3y5k6sd8AGFMNIYmb0HwaUUXM3PyBZpjL K/ZiAIywssq2TiqJoBJyE+bkhIbyjloVnJ/qCe6R7p1bSlrheNCcmQtntP7/jZvlSsHb ak1qS5asZltP34KJhPCahzen8U9QRz3f472M3NgX+0sYVkoJ8h252zmBnc5ZV4VvE0Sm hDFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ckqvAJsI; 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-147608-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147608-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 cy20-20020a05621418d400b0069b2c78a82asi13146633qvb.355.2024.04.16.14.30.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 14:30:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147608-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=ckqvAJsI; 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-147608-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147608-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 4A94B1C208C9 for ; Tue, 16 Apr 2024 21:30:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 079A514A4C7; Tue, 16 Apr 2024 21:22:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ckqvAJsI" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 E731A13AD18; Tue, 16 Apr 2024 21:22:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302531; cv=none; b=Xg4mio+sIMPArhvoM9h2VHLJ3qXqp07MPe7zkAQ6quD+jjPbX3S+KlgHLx6WHhX4eWJlb1/nH9M/f+M0UL5nbeP3oepltzgCb61yqZ/IIHFqrQcHTlsxLr0dTXevBu1Cz8WMSAopNai9uvk+A9FyFTWtocFQNViTmFeZvuO5Nlg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302531; c=relaxed/simple; bh=/JbFqsT4QboTVC5nN5+7Tn0VrIVjmy0ALnM5ZmCJwqg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SWS2+OCBmDRdkdz7++blP2adeADeT1p1z8FVtaOFedGbpOvDundcGCRSaecbK7FSjGMxeF8WPXNu24v8PZPhyOY+oWQcKg+bmhU9HdqlzQHMKUndWTKGz7vuRz9nWtLCFhiQQO4r9X/CsVgBCeu/QT34pyL0S5F63KKFjgH6TdY= 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=ckqvAJsI; arc=none smtp.client-ip=198.175.65.11 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=1713302530; x=1744838530; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/JbFqsT4QboTVC5nN5+7Tn0VrIVjmy0ALnM5ZmCJwqg=; b=ckqvAJsIJf6Ca+AOd7Nq3fLfpHoJktp0c6s5Lm7R+go371TuvV44sqHe eae4a4XNDytxtnr6Fj/ZMw79LzO15lxZIvccfByzNV8by0AV0g1GbQlLP IgrZ6AMknd4Ia+UmIZgZpj5CIBh0rouyOazKR47/we2JAYIcByGTOIJxf EeBtZH7Gp2ft4ZIP/hc+i3g44skWv/PMtQHtiATy9nKI5QLt1DyX+V4/t w20fhibUcPiHBSg54ZkSiFDB62bIQNettefqtaZDA7S1q5iUH62DzDgYA EvbcZJOsWLc7bTNv4EoEXmJAOsrKOm6PKj5abMZ9kcSYCTEk2YqXU9fNl Q==; X-CSE-ConnectionGUID: qwexSWjASFiCdnjNo6wCNw== X-CSE-MsgGUID: Tcs7UJ5RQhe/+K/do2af+w== X-IronPort-AV: E=McAfee;i="6600,9927,11046"; a="19328758" X-IronPort-AV: E=Sophos;i="6.07,207,1708416000"; d="scan'208";a="19328758" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2024 14:22:10 -0700 X-CSE-ConnectionGUID: 1wYNcThTRh6xgy9V+D29lQ== X-CSE-MsgGUID: RP2KeeWeQsiP2/Awa8MBgw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,207,1708416000"; d="scan'208";a="27071909" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2024 14:22:10 -0700 From: Tony Luck To: Tony Luck Cc: Borislav Petkov , James Morse , Mauro Carvalho Chehab , Robert Richter , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: [PATCH v3 45/74] x86/cpu/vfm: Update drivers/edac/i10nm_base.c Date: Tue, 16 Apr 2024 14:22:08 -0700 Message-ID: <20240416212208.9509-1-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240416211941.9369-1-tony.luck@intel.com> References: <20240416211941.9369-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.44.0