Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2172651lqa; Tue, 30 Apr 2024 09:55:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWRwykAwSVJwFLXlZjQba8E0DjEezgmW+/bam9CLbkiFtE+XfYEUieT6BPVCUGOf0Y8Tmc270OdISltd8nj0abkCMWAeDa3TgsG/pB5qA== X-Google-Smtp-Source: AGHT+IGxuuZVZHCo+5dFtqqWoY9t1QDSuZelemgPj0V9dYgAc2eUCTt+OrrTasqAPMrElm/G0A8I X-Received: by 2002:a05:620a:19a8:b0:790:91e5:505 with SMTP id bm40-20020a05620a19a800b0079091e50505mr3813756qkb.38.1714496105456; Tue, 30 Apr 2024 09:55:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714496105; cv=pass; d=google.com; s=arc-20160816; b=Ng9BKvJ4Wk2HUMyj3aw+LgFxopuug0Ys4KPg79hCirPOebQZjqf0A/DuHXefsibWhd aMTqinb2Te9B2P4Lbt3dh2yp8rltWmYbIQz/TWUYkKonTqaQlk1d0zKVYpwJ6jU7j5Q/ 9xm9OexrQLEf4xm4DWb4OzT35OW3vBP33L05TH5N+sfbNLQeGaGUK17nIkNe2DH9zFc+ 2vhJynwkXIbEULbfJeg2bma0IL2tJOdAKTf+ZkQwDDVanzcNnPztN3/gnO7VUfyKzy4w mWKTG8I+5/zsHbCWZIbfWxG3BZfABywlDT2PcCb9GjikrgjgGHAJUHhLpTXWacQrGMBZ zVUg== 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=K6K0iCzOky+6HLV5jtt24H8mPDTv3sfjrDpSvKg+JDU=; fh=+JI2H2iWMkwJGqr7cZu8y0U973lnv8g4RnihRl96veY=; b=XFRRUtCyymDnus0q6mfVrMZMcdie5gRt/+7lRkWuvfJFrKCgPLBdfv6gkiP3rjw8nN JKN+4sEVnt9SqjtptQl3VRLBox6rFi+yJRlDJ4PVWU4rG6KOX/l40qhQRjhiqw6H/itY NbPTj3wrHEI5NTt9lf4BMHZdB9CuIs36B94WK3RfBl3TKTd9szxyCjEJbNdGETPug2pb oSbmNJnHPZjwWOnGjjgZ1H+crKDyvYfg0BNpcTGy/uQfhP3BRrpS6tnLxnozCeErxw6o AhCz458yev34zZEWP8JgZU+5hIA3rFGz1h6cCEA0AWGquqqqT+KDMxuglMHfsH6B8X00 1UBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nHMZjYfP; 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-164448-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164448-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 u21-20020a05620a455500b00790fa760778si4464963qkp.155.2024.04.30.09.55.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:55:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164448-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=nHMZjYfP; 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-164448-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164448-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 2B2051C231BA for ; Tue, 30 Apr 2024 16:55:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 157EE1C2301; Tue, 30 Apr 2024 16:51:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nHMZjYfP" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.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 8B7A61C0DD2 for ; Tue, 30 Apr 2024 16:51:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495906; cv=none; b=S38dnEMZvLvXUsML45Z08TeZTOTCWKaJtpJPjga4kDhJNL9WbCt8lhj4h6wPemjFVCaeja4+sESZNx8ATW+RYKvBuS7aONw/l1HKeiI7zuNdHB6BjoIfyAJAmsZtcP6HEycEYrSkt6NGio5KB+fQa8e5xAcau0ONJdFHnRqxIgY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495906; c=relaxed/simple; bh=jeUYkmsH/AfO4Bph7ZtAqZ3oLmdEHFSMAbduKZ4WPOM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fobXnWzYOZJbKdK2AWFBNczKix/D0mpN8OAW5ikkq9oRBXcUbKGHCIk4W/s3ww9AcD3dVPhlihFQsPK/BgGk7VlSqE2fkfvuTABit6KmdRCoy53p0dEPxKs61SLYg27L4CxbHTlTE5uwAe4bLR/fqXj72rzMS6UQYnE+6HVh/f8= 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=nHMZjYfP; arc=none smtp.client-ip=198.175.65.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=1714495905; x=1746031905; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jeUYkmsH/AfO4Bph7ZtAqZ3oLmdEHFSMAbduKZ4WPOM=; b=nHMZjYfPaNuwi9CrPkmmCa2V2POzu2tXme8SKDyzgowv6+tRA1yU+hJv xUFSUaHQi7ysfuukH+ZGEU9pAkWHYYdHAwHHgNRcEqJqHQB/nXPcrUFhY 4u5EsWnYiRm/zKBHqDO9dnpuNsYznL85ROM3lD1HGvht3S0SDnW+q3Pqz UUDrUT0hN7K05zneJzE03LFFH+jxnDSxLDxcAdyyNF6PgCg1bsfY0pdbt si4CHP4JWsBqbDt/C12xeLNtz4OZMMwo5E8SztvD6GApovh8qFJ5RYAAU ElhX12YUyC1YHAuGAA2DiIxV6Jwnsi7DUOHJqCruJaik8z2HWM1cccmEB A==; X-CSE-ConnectionGUID: 6TyWCsjQQPS0cPguBlDD6g== X-CSE-MsgGUID: gjQmxkqeRFKHfORU6YDdIQ== X-IronPort-AV: E=McAfee;i="6600,9927,11060"; a="10075714" X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="10075714" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 09:51:22 -0700 X-CSE-ConnectionGUID: qs/q9XQlSDGWU3pkeUT3jA== X-CSE-MsgGUID: qE/8UFXhRJWtBD76eLoy3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="26515474" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 09:51:18 -0700 From: Tony Luck To: Borislav Petkov Cc: x86@kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck , Hans de Goede Subject: [PATCH v5 22/47] platform/x86/intel: pmc: Switch to new Intel CPU model defines Date: Tue, 30 Apr 2024 09:50:35 -0700 Message-ID: <20240430165100.73491-22-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240430165100.73491-1-tony.luck@intel.com> References: <20240430164913.73473-1-tony.luck@intel.com> <20240430165100.73491-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/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