Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2747135lqo; Mon, 20 May 2024 15:50:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXOrz/BMsmokShRgFCWHjOPnDXXoT5JHdjkVQnbGDWuqxnlNfDJaH7hiWWEt9fzZ4aLSzSGxVrUeG2sMBqdfifpBNzYJ45TN1435Bmm8Q== X-Google-Smtp-Source: AGHT+IFpJis6njACAbnxLI9/6euTlNZ4Heo4Fi44GRg0McNWTl0r2YibFo7JxBZNoJMRBxTLNyjh X-Received: by 2002:a50:8714:0:b0:572:a073:a39a with SMTP id 4fb4d7f45d1cf-5734d5c1651mr32414959a12.5.1716245428567; Mon, 20 May 2024 15:50:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716245428; cv=pass; d=google.com; s=arc-20160816; b=pd0/UzBEaLxdKbocKGlLAljAGHmGPu565VnhSui5aJhDn3Wc/mTN+ya/nxTOfvZA5c 3LzC5zt9DWL8H8PYtmgHNityjsmC+ux0OJ94WBuat7chFUZEIThT8hWUJBt//HbeWIG7 +hOcO4rJpvoyK7Sx21IB5aD4iEn8SPJI7Vp7kfZiTBd0R4DDOCaDmJCu1oyzj7EOeU7A gDi+faCC0B0tD5tmCBfARysISe4ML2RfRjRxdeg/EhSk4RgRpRl8Qo4lfH2F7Mbi2qXQ 6PoH+9yp+7iLXG/OzyjrxuUgfyeUJL8KkkLQGGIvlxAB938jUmN9GXly7UUe3iSznmA9 4cug== 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=HePME5PrzEu5mldq1TfdBwi2OGkGIfLHcC/0myaxFv0=; fh=PjyMTzs7UvWP3U+/qUdzJByTpVUxubPCVIU2iQaWnTI=; b=tqXlRYuxvH7anLflu17Yw/Cb9VUX/5QAX3aAjsBaJ9QHF+/au4UaT4Bgg8ATne8F2n DiZCBAR5i6j0J2QBM+OGPC3XKCWKQZC6nLolnouohwFC3AZt9/svlY1IhHyBP+gcIZ/T xBXDyqWQh71Vslc/YBISd7LalOw+5H1YNSUlxXn2rZHu2O1K4+tiRKh+cQCOYsp/qyx/ 5R9tU6A3FXYfB5zUsfYuO3pcyp69FzruLqknzHcJpbk01jcpF7XwqRQtQIZJLbsuEHeK ZbwsZj3Gub/iCchSyAidtir/XEhdZM2Vd3vF6Fim2zrUELZhmeUrc1FiFEa+bhyBJK4h 6euw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fSiEvcL5; 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-184251-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184251-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 4fb4d7f45d1cf-5733c2d5e37si13993432a12.234.2024.05.20.15.50.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:50:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184251-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=fSiEvcL5; 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-184251-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184251-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 4B6711F2281C for ; Mon, 20 May 2024 22:50:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA07D13C67B; Mon, 20 May 2024 22:46:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="fSiEvcL5" 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 52BBF4AEF0 for ; Mon, 20 May 2024 22:46:45 +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=1716245209; cv=none; b=V0eX57+WtyFXhJvas/qpJuyTjvIGztcEMboBNDd720H8ZSyzYfYFOm7hVu1hUXzo49zrdeZH3O7TOkPp6nVhAVGOTvKh3ZBmN5IzcDQQmkTgLlLUUYoUGzmyJlM9NV5g6zeqNKdLMx8dNaMjqrFInn7G/nt1YisBp1bDNeOMChY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716245209; c=relaxed/simple; bh=hy9MtmDbv3l0daB2PANyWQHGl/YT+EbTWZX9BQjPOSw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WOBxhlB25xNfkrg59f9ZzqyzH6+yWlc9B2kzbH1+S47krLPJe82r3FHUDz0p+c8PS9nwj5vm3JXVpLaFZcaO4CbNDN8bu0sHqI2smUrcBGJyG74OfvCkqZYi5u/Nr8RgFHm5ubX6IYQRzmDJt40pEO3M7qngO15ZpjSmn6LLYLQ= 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=fSiEvcL5; 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=1716245205; x=1747781205; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hy9MtmDbv3l0daB2PANyWQHGl/YT+EbTWZX9BQjPOSw=; b=fSiEvcL5FNvKeI65a6Z4z/qmryAosPGZcX0F6RsKyYvDdzhr+b2HyZ2Y h8FC7Oya2bEwoBF/4Uu2IfrX171XO0qP8kuUls9gPZTsp2QD9PnfQ0+Un zn1Caz7DM8C+tTbV1rcsvOBwRskQo6QgL/rFzH+fjDEqFylDZStbhBfjX RWJypXpkkaYsvaquY2Kk1M0LjbSPeElX0cW0x1SPBGMYImsTN7Hfg9/uo xoAX685otFjpb9BiNrPNs6TD94R7Q013c25IWHDBi3OyvVvKvqsoBD4Y8 8FidzH+YYMLG6NX8J9EW55ht6jXtWRNiBkHJ4LvTB3ty1cpU5C+o+LrFd g==; X-CSE-ConnectionGUID: dmDm1L/3RQGRX5n/XR6TmQ== X-CSE-MsgGUID: 6FGkLQnZS3SdSYf9Wlb2cg== X-IronPort-AV: E=McAfee;i="6600,9927,11078"; a="12199723" X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="12199723" 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:37 -0700 X-CSE-ConnectionGUID: hO+AK607SROrhO7Ia68InQ== X-CSE-MsgGUID: ohFA/K4uTAWphuojlwHxcQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,176,1712646000"; d="scan'208";a="32593442" 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:37 -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, Hans de Goede Subject: [PATCH v6 20/49] platform/x86: intel_telemetry: Switch to new Intel CPU model defines Date: Mon, 20 May 2024 15:45:51 -0700 Message-ID: <20240520224620.9480-21-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 Acked-by: Hans de Goede --- 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.45.0