Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp613997lqd; Wed, 24 Apr 2024 11:28:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQAVEr54gzHdEwlzRxsSBCfkAjSTG80FGp3dB5W8vJPmFX/Q7X5o8yhbBXPkDtHiQyUZbiMO3vQkR1SgaaekWw0L7+BPae5bFcgOcdvg== X-Google-Smtp-Source: AGHT+IFtpAEXP0RkxPXmeWjes8f7anm8bFYj4o64+Nn2TWgrXbQ4ChY/xyrAF+9gxReMFuxg58Py X-Received: by 2002:a0c:e812:0:b0:6a0:934d:1d32 with SMTP id y18-20020a0ce812000000b006a0934d1d32mr3189842qvn.6.1713983290203; Wed, 24 Apr 2024 11:28:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713983290; cv=pass; d=google.com; s=arc-20160816; b=RpCDUftXmouElRV0t/GSL0XXrAiC0b15WcKfVwTtAgZOdnA7S3JMJd2QUbgz0OoC/H ZFH7BtWH18Iazduas0gg8euMKJhih38ujW6BzvkV7YG5AX64TkkdnEpfpa2vBDFxMrf8 iTzOElMXrAy8CO3qeU7giWoe2PL0VqwbZynMQGha/tyVPNSmCoirOV/BNSoVRoOv38yV zCKHmHcfntpm5m+vmm+a9TfcdiVNTqqlm1Akx8RpIdWB1BQGRb9cM1VhtapdXcVe/eTT yD43zDx4Map2hlnbePEXJdpKl5xU+eQYFKZO5bV0d6NqRT0MihYCgsXADKXIhA/UnNIK G6dQ== 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=1H9mFkbCVBRjAKKqxM+NnhwaIM/tQoWYAbFkOiFhl9w=; fh=QW5PGqmDs5qu6Kszl+StLEFEG9pAywOEHp2n8XOMTIw=; b=nVlgGkdUGJg58ApaBDVfFDNpMbA6WgKrk5HtVCas/RmP81oDEB3LZyktofWiwAQ5ac nlI76dz/uVlzGU/UQvw2YExVW0C2TFXuVWYp2hPdU70qLmQFADnl+zAYfHThQ+x8l66v fyjpGTgk++xUNKkY0LIhYHQBfuCOh0eiQLT8d6sM46AHYvYhqVK9NsKFAIdZqrRDpobN TuAQRbv+Y9WF+uT1EWXoxTGKR1r8anBr9gePjVplj6xvaymCLXXNF4WNAv9nO4lmcbJ5 qjTv1MGtxBF9o/UX9toLgZV1MNNJp2d+ieSWEkUX4hO2MjxSlkSf8a49Qc/hUfQVqXTq Y0Ig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=e8LnyUJO; 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-157514-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157514-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p12-20020ad45f4c000000b006994885bf8fsi15394293qvg.527.2024.04.24.11.28.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 11:28:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157514-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=e8LnyUJO; 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-157514-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157514-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 E790A1C22A5B for ; Wed, 24 Apr 2024 18:28:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75694200119; Wed, 24 Apr 2024 18:15:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="e8LnyUJO" 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 6E6021C8FDA; Wed, 24 Apr 2024 18:15:43 +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=1713982545; cv=none; b=D9gjaUtyv3uC+tmOwAEdAz0nL8ptVUgOW+8UPsYbJu28Qerq8/8/eOUoGe9kEo0q1bjJO7n/AKmQHtb0UERQ5ILfaRpcZFsXb2WbCO4QRFcMz/kzSq27vZhQ4j2RXatNiBYtZ9MRR8RqOy1AD12oUjOCXDtJgJKqBk7WHQZf00A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982545; c=relaxed/simple; bh=lGxY6/fpKVjagJiMiQslsjgDFgL5ZPdXodSr7eR0UbE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fDs/54858fiaRr6HDQTXT+vFaQFK8oHF8zv+JPTJWOegqXpRAaBs8o+FHhiT4q4VmiOab+MWdhmRDMQIsh/1JT11DbHDe/a99POKrX8U1GkiLzijgmyF+G0arwY7IxGdiwrmzwQDJAj2u+TTdNnj1Ju2xqjDXetQTYRroe7ccfU= 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=e8LnyUJO; 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=1713982543; x=1745518543; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lGxY6/fpKVjagJiMiQslsjgDFgL5ZPdXodSr7eR0UbE=; b=e8LnyUJOEhhs7Iuow34O40EgnBvNbvdePbMtPl2b7qOCsFP7LCFOOche 52VVr7GqQEPZB3WouC61jKZHVTEpY601buw4Pg5QNXvioE7WMKQe7N7Q5 reVcuaPU2pRpGeXtfFl5z04fq9gDYFfu6k9j11RtVM4jPqxSCEUvrKKxc UICiqLzcZ1h5QlI3Us6k8p3THvIyXomL1vgFOUSl+r3/Is8p+8bjpLl2l Y7kjAz39jT6+mdj8m0SgsqAV+qd7W/c0KNmonhb3vHJ5Iq4jkUErnYukl F25MkB7THKxO8T6KatdRhS3ExZpOcgnECOL5VlNLt0674JGzrJq1oRN4t A==; X-CSE-ConnectionGUID: 3mLzCEvTQ8qlYhHK/vf4KQ== X-CSE-MsgGUID: 7KlF1o++ToG+3blqcDznpQ== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="9503708" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="9503708" 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:42 -0700 X-CSE-ConnectionGUID: Cad7/xTSRxy05dj+edwlJg== X-CSE-MsgGUID: MPlg/ATjQAixgaR1TFMaIg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="55750330" 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:42 -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 63/71] platform/x86: intel: telemetry: Switch to new Intel CPU model defines Date: Wed, 24 Apr 2024 11:15:41 -0700 Message-ID: <20240424181541.42368-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/pltdrv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/intel/telemetry/pltdrv.c b/drivers/platform/x86/intel/telemetry/pltdrv.c index 06311d0e9451..767a0bc6c7ad 100644 --- a/drivers/platform/x86/intel/telemetry/pltdrv.c +++ b/drivers/platform/x86/intel/telemetry/pltdrv.c @@ -177,8 +177,8 @@ static struct telemetry_plt_config telem_glk_config = { }; static const struct x86_cpu_id telemetry_cpu_ids[] = { - X86_MATCH_INTEL_FAM6_MODEL(ATOM_GOLDMONT, &telem_apl_config), - X86_MATCH_INTEL_FAM6_MODEL(ATOM_GOLDMONT_PLUS, &telem_glk_config), + X86_MATCH_VFM(INTEL_ATOM_GOLDMONT, &telem_apl_config), + X86_MATCH_VFM(INTEL_ATOM_GOLDMONT_PLUS, &telem_glk_config), {} }; -- 2.44.0