Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp244755lqb; Tue, 16 Apr 2024 14:33:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmHhHuZhpoKs7sQm+jm/p9wCxCvhrupRafxyixrgXN2/vU1p3awrAro7WhOO1oq/+s4vZw37omdAgsHVH3k402amX7EMi7jxU6vsFXtg== X-Google-Smtp-Source: AGHT+IF7a7tcDk7ichSVARuGwc8UxEKC+o7ByrGU6uZyRMYnI33D2FEUfFBdBPNd6qBY6NQ90h6E X-Received: by 2002:a05:6402:5295:b0:56d:c757:9379 with SMTP id en21-20020a056402529500b0056dc7579379mr3775043edb.15.1713303188092; Tue, 16 Apr 2024 14:33:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713303188; cv=pass; d=google.com; s=arc-20160816; b=BZgeNMOiFY2Sz/oJ+dKa7l0AN2YGvm4FOOKwfjp3Jl0KhMuhbTUFJJC5PKt6rZfRbw OY0fH3KW+rvIg316xe7nMffVnWCdFMUmaDKEsehLq3pK6Du1idL7Evitm//0p8kf55f5 GKbqbu13+bezyh5Ug8sy68vGXqBOHyMf9cfQElm15XoPLjTIsy9GAbzou4HoO0ew/iCz ZF6LDxRYa6BrVx4o9KHSLP5qnrWkOsLZk9l686MiPp3BjIMdN0MWNAkqkmgHVnHHvx7g 8C7HmB5rb0FhSACilzhGDPlLrD0JJhJpd+GdYML4QZhcNZFQjyM6klQ+9tSR4SYW17t4 rhPg== 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=Cnadik/8nwEjBChFp7E2A5UYHlncz5u9B0Xb81/RbSQ=; fh=rV4SUWW++VWHo701HQqJ4IxeG8lFOsWyeD5633NXHx0=; b=ZtH9ff0/Pk8YZY4Yanpo/QwE+YCn3boSZQpTWUesq2AjHlu2mcljR0hP574ViyZ0CU z8YBqgh5FdMAvTipeUJV0YoEyons7YC0maIfnq0+XvbPnLEUWqegIXbg/CrZiCs+iFqp yILgyzZL8jhCYIRj2n0aWqdrAUqbCccZW1OgYD3n0jpAO+KkWO7B3TybyWY5t3yl7+x8 kT9myINvSWR4WGGMD2/k5NPnTPkYRBYXVKycxwWtFW1pOdKyJ0Tod6XpSn+aV/tKphQQ onDQpxW0ydAtRgIZiGdY3WUHi3dXWVaqof0HyUG+z1/+aw93GVZtM+qe2ofPU2sjUgIA By6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XQZMBaub; 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-147620-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147620-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. [147.75.80.249]) by mx.google.com with ESMTPS id y20-20020a056402271400b0056e5c5c072fsi6335338edd.598.2024.04.16.14.33.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 14:33:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147620-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XQZMBaub; 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-147620-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147620-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 B63FE1F20F4F for ; Tue, 16 Apr 2024 21:33:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64133153593; Tue, 16 Apr 2024 21:22:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="XQZMBaub" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 51A97153563; Tue, 16 Apr 2024 21:22:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302550; cv=none; b=kekjN9oLr8U8Wc28EAtFfPc233o3V2jU1K5aKC1m/T9wetX/vMuk8OTXp8e3C441BXLKEVXIcpXJxOMk1BI9hEcfYA+uQAACRgs2ZEWUyT3eBbMzOgfqZecJrUQW7tEAmBif/WV2OC54sAcJGTaZqBKC6PgYcevMDqLFIiodBR8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302550; c=relaxed/simple; bh=8BfI2hjYKf/TtKpPZBR8m4bVwal0XuuMnwSbzdK8eQk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iu1FobueeJX8HjOTN41jhqGbDOXQKj1zI/J860zFqB/yVY0HIHnjomZrSKOJjNkORB6s0ktpxPGjo92v2vf2kG2X0HA3Df+vqGZd8XdLvmXWoMyiIFfmvNjrIPC/JhSEZoInRinxEVg+krJUoZsQoUr9BC/xJ8zQmL2Cyf375iI= 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=XQZMBaub; arc=none smtp.client-ip=198.175.65.10 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=1713302550; x=1744838550; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8BfI2hjYKf/TtKpPZBR8m4bVwal0XuuMnwSbzdK8eQk=; b=XQZMBaubyEdlEWQx3Uz+lbBwoOd+ZBC2rRQO/xTzFcNslQj+jBQWU8KZ DsyENG1R70jLvq1qSpEZu0BNyGM2mxcp25rhpwLEqT4cDZ0UHKt3oCLyM metxldIBwnNEVc2AEUMhYRjkdBRUMhpbUY4ti0X+2ubBDYHLrwiGaJzDd HjKBvCpActoVkaQi9VbOM3y9evs+uMx/0Io+tasiiA8F70QP8S6ceJ5Cu wa0pIRYHWyFjOOmzYyhZHXgdjVJWO1P/q5kdErsE2hQbhCFlZ7NFBMjsU tUMMYxbZPzUfg/3WpV+bXCmtnMXZXZ0Cdr1kN7wtFErRbFYW0SjekBY45 A==; X-CSE-ConnectionGUID: GQKRGoeJTYGkoNAjs+uh/Q== X-CSE-MsgGUID: xe7u8X13SXyBX9XdkShF1A== X-IronPort-AV: E=McAfee;i="6600,9927,11046"; a="26234937" X-IronPort-AV: E=Sophos;i="6.07,207,1708416000"; d="scan'208";a="26234937" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2024 14:22:30 -0700 X-CSE-ConnectionGUID: BySBqOK3TjO5ZcdsOmpUVA== X-CSE-MsgGUID: 3hsOb6obSVSWJcgRLXWAJg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,207,1708416000"; d="scan'208";a="22267130" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2024 14:22:29 -0700 From: Tony Luck To: 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 v3 57/74] x86/cpu/vfm: Update drivers/platform/x86/intel/pmc/pltdrv.c Date: Tue, 16 Apr 2024 14:22:28 -0700 Message-ID: <20240416212228.9738-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/platform/x86/intel/pmc/pltdrv.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/platform/x86/intel/pmc/pltdrv.c b/drivers/platform/x86/intel/pmc/pltdrv.c index ddfba38c2104..22cfcd431987 100644 --- a/drivers/platform/x86/intel/pmc/pltdrv.c +++ b/drivers/platform/x86/intel/pmc/pltdrv.c @@ -35,14 +35,14 @@ static struct platform_device *pmc_core_device; * other list may grow, but this list should not. */ static const struct x86_cpu_id intel_pmc_core_platform_ids[] = { - X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_L, &pmc_core_device), - X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE, &pmc_core_device), - X86_MATCH_INTEL_FAM6_MODEL(KABYLAKE_L, &pmc_core_device), - X86_MATCH_INTEL_FAM6_MODEL(KABYLAKE, &pmc_core_device), - X86_MATCH_INTEL_FAM6_MODEL(CANNONLAKE_L, &pmc_core_device), - X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_L, &pmc_core_device), - X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE, &pmc_core_device), - X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE_L, &pmc_core_device), + X86_MATCH_VFM(INTEL_SKYLAKE_L, &pmc_core_device), + X86_MATCH_VFM(INTEL_SKYLAKE, &pmc_core_device), + X86_MATCH_VFM(INTEL_KABYLAKE_L, &pmc_core_device), + X86_MATCH_VFM(INTEL_KABYLAKE, &pmc_core_device), + X86_MATCH_VFM(INTEL_CANNONLAKE_L, &pmc_core_device), + X86_MATCH_VFM(INTEL_ICELAKE_L, &pmc_core_device), + X86_MATCH_VFM(INTEL_COMETLAKE, &pmc_core_device), + X86_MATCH_VFM(INTEL_COMETLAKE_L, &pmc_core_device), {} }; MODULE_DEVICE_TABLE(x86cpu, intel_pmc_core_platform_ids); -- 2.44.0