Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp613710lqd; Wed, 24 Apr 2024 11:27:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU78B/UiJ+TEl+ld3OFoB+dgTjnii+Bn7eJip7Jp0FpOaslrSgJN/XH8NZ68Mc+JGrl5kLgKrvetHLDLYoV9OrTtQh13fEmCB7WGY990w== X-Google-Smtp-Source: AGHT+IEGwNwSYJJUWwS4/rtSTRHw2LETTMhC4Bv623vRBiCLgbmW1pc/yaeHh9GXg4CF5ruuoXiw X-Received: by 2002:a50:9ec3:0:b0:56e:316f:f455 with SMTP id a61-20020a509ec3000000b0056e316ff455mr2492100edf.22.1713983255219; Wed, 24 Apr 2024 11:27:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713983255; cv=pass; d=google.com; s=arc-20160816; b=a1GvUnUpoGCTEOFubOQAHjgL2gYJCEOJnNlxAJuFILwzCvQdjNM/wTxr+IumMkyMFa JTHFAVEYmpUZj4ofpgJ4IwO8YLm5A0CqZVql/7GPklGCD+Qx5EcPUP9ccntvqdB3TDDK fWT61vTl60SUoKBdZ0h99A2B/rxRaJLsA8R27/YGf6BNLhVP5250lm8bZg6QBsBwnQLg 3+QekGJ9I1MC1OBrFoCCKCriQ20fL+GCQ4ShbYvCra0DPQQiiiM+SuQbVKKPPL5czxrj BfS5+1JdTNkk53/fgOozTKHyxyw8+om3FsMiz4hjpnuyuApMMS3wo7Kvvz0SUN8MCcqY A9ag== 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=d9jZ35oe878C8+Kq6b4imAV1GZMXeE31BbOd5JB9NlQ=; fh=QW5PGqmDs5qu6Kszl+StLEFEG9pAywOEHp2n8XOMTIw=; b=GuHY7pc1mZeGTPXbgE08vH426W5PcIZZMIErUQ267+XjfcJKjflBWf5g/quDEPP/W8 Qvslx1AKevEE/Bhf4skuwqpJHdkY58qs2AKwrcL3vQ/51Qm0CTfuvJxLbJwjfrtEZ93x qLMjFonlLVwqkCRsptbRcVsvgWN2f+5TAhLd+E1nhgcvPwbE3O0GYIlGnN98/qdWPYYF uTMmvzDb76VinBHvXxUadQ6Me6UHJIR39lY3Brht1jNZcf6x3Y2KxOC+Itky7AJz8GfT e/tiMBrEIguWiyTKlR0J+Vr9MScjz4hIKTv5fqce/fG34tOHCIfzscNb+7nJ8/8ww4cl TE6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LKqJttDK; 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-157511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157511-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j21-20020aa7ca55000000b0056e09e70426si9026778edt.6.2024.04.24.11.27.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 11:27:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LKqJttDK; 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-157511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157511-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 am.mirrors.kernel.org (Postfix) with ESMTPS id ED4C31F22145 for ; Wed, 24 Apr 2024 18:27:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63A6F16F0D6; Wed, 24 Apr 2024 18:15:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="LKqJttDK" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 25C4416F0CE; Wed, 24 Apr 2024 18:15:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982543; cv=none; b=MF+urVn528l+2unrPOO9Oy5FpyKSLN/rRTI7gVkxlCAyk8zVIwEkbMK8/zOWfm3/q/sawiEiYJvzQW6RMMDNHip0lHFO/T2xds5+A0s5OOFCtKA7bc5FG4+G18hLPI1fc+++OV10dRExKNO2aWgDY73L46F1H2EhVYfNFNnA5PA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982543; c=relaxed/simple; bh=xr6bb9OF0NXrEF0HgBC2BNEdfy38NpnLKwUrq7aiRyk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qDWuyRd11bZ7KiYGB3Bo+bIg2Hu+FSHHpYFdn3Qsvy52WDJ/p2yAp6tyEYylLxW9W9EuCnFJFRHahC1brM1HsTjrXZa1JpkBnoVWdXe6BHvTpAEMgKehor9ap0heRI0nYB2DAb8lW6tlzpFhnxgq/bKSM0pNNHirPKpNmaESBCs= 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=LKqJttDK; arc=none smtp.client-ip=192.198.163.19 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=1713982542; x=1745518542; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xr6bb9OF0NXrEF0HgBC2BNEdfy38NpnLKwUrq7aiRyk=; b=LKqJttDK9oNJhYMFvlFQRa4mF1/21CDCRBR+ZA06nC537UE4QmKhtZnf dxVvK4jA5dqMR9iXBtG3aYVSkJNWTbYWJ0bYYrxUx53u7WnGbLt+Wo5dY dxH3hQnuhl4GAYVrpPOixsuB11lloaqn6VoUSgiwee2cZyfJgA4lOIIRV 24yYURx2oprU7tUKIGudiPmmxvAA9gKMk7uyc9Zjbjr0Tcoz0vCeTfQ9I redWSoRsJE7IkdQLTKfAwHwGKq1iJZrTFTCTkVpH47pUn8lMQUQPP0z+l bR7t0QXzOpnolEgKvlyhmIuFpIOvwKRE66SjGc/KqJlLZpTlGaVa2+msd g==; X-CSE-ConnectionGUID: roFs/0MQSf6jKwXYXOxZkg== X-CSE-MsgGUID: BTvwKCOKT72p29IY2+RrOg== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="9503700" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="9503700" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:41 -0700 X-CSE-ConnectionGUID: DFM+7oIXQaqCWdjnsJ+Khg== X-CSE-MsgGUID: fmDO2iL+S5aakTboRJ4C9w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="55750313" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:41 -0700 From: Tony Luck To: Borislav Petkov , Rajneesh Bhardwaj , "David E. Box" , Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck Subject: [PATCH v4 62/71] platform/x86: intel_telemetry: Switch to new Intel CPU model defines Date: Wed, 24 Apr 2024 11:15:41 -0700 Message-ID: <20240424181541.42349-1-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240424181245.41141-1-tony.luck@intel.com> References: <20240424181245.41141-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/platform/x86/intel/telemetry/debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/intel/telemetry/debugfs.c b/drivers/platform/x86/intel/telemetry/debugfs.c index 1d4d0fbfd63c..70e5736c44c7 100644 --- a/drivers/platform/x86/intel/telemetry/debugfs.c +++ b/drivers/platform/x86/intel/telemetry/debugfs.c @@ -308,8 +308,8 @@ static struct telemetry_debugfs_conf telem_apl_debugfs_conf = { }; static const struct x86_cpu_id telemetry_debugfs_cpu_ids[] = { - X86_MATCH_INTEL_FAM6_MODEL(ATOM_GOLDMONT, &telem_apl_debugfs_conf), - X86_MATCH_INTEL_FAM6_MODEL(ATOM_GOLDMONT_PLUS, &telem_apl_debugfs_conf), + X86_MATCH_VFM(INTEL_ATOM_GOLDMONT, &telem_apl_debugfs_conf), + X86_MATCH_VFM(INTEL_ATOM_GOLDMONT_PLUS, &telem_apl_debugfs_conf), {} }; MODULE_DEVICE_TABLE(x86cpu, telemetry_debugfs_cpu_ids); -- 2.44.0