Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2173583lqa; Tue, 30 Apr 2024 09:56:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXVTaXu0nVVMC7RbIJe00+Pu5BF2YOoUneTpBlTFhLlmnR3J3dgOZkb5UeoVLMfKo6yoOJow6IU4D7ihb1IBIGc051f41MxWCEVNUe8OQ== X-Google-Smtp-Source: AGHT+IGY0texU5IaSabugaNLebke+fW1dXijtaYzaKVLYlltQzmyA9yMvkXIQaRA8I+wBu1eJBtx X-Received: by 2002:a17:902:8607:b0:1e3:c610:597d with SMTP id f7-20020a170902860700b001e3c610597dmr2716058plo.60.1714496196423; Tue, 30 Apr 2024 09:56:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714496196; cv=pass; d=google.com; s=arc-20160816; b=jezBf/e2ORzLk2/M292s0PiEeapsIroFCq+v3ytOPhA1HpUjXjHlJNMOHAcaNja76m s+vcwZc4NnwYQpibXVSd9vmb8Dg7nCaTOhKkKM9RZM9ax1trSfnIjMg18QEy0YF6Avgx 6royT6DORosJ7tXQdsGroyfC8JRqMg++bpy4bqFHsjCIVpymEYu5EbbKMmGVPckLwgXJ JlBFNP04QFUgflbuLrXteuqRBvbaln5qQ5iV0t46VU41YC9UCP+py2ojXbcWFbKGfpTt FdVT6Z0tch2a34d+II5NJCAtAxG4SveExRSVcGZEaNfdRVyZ+5/ZTE3zHh6lX6mRXSC3 /LjA== 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=EtvUgn0yy310qQntRBv+DQGZjlkT4nejzLWXF8Hfceo=; fh=+JI2H2iWMkwJGqr7cZu8y0U973lnv8g4RnihRl96veY=; b=Cuu5T738UkicDZ98Kj+BfIW7QWppwkepg8MEHpNuU0M6XfeCsi0DhvNaQA/jvA7d8/ SPuJuGZECuzv/i47biilXPP72TgiUU0ouuPN/eP2FNh4gwmkU3j9Y9zYTHD9vFtZvF8d UPr2NmYFowl9LyvyokcHBr5Tg/mXuTQvK08A6/hohTlz6ajkIBxhCmAKP5ErxcFW18c+ uWROWMUY1Kd1Cuz/yhZfSQeb97YKhH9my87QTYD+Yc1EeLiczRepJ+FoOIOtDCl+amQt AABp14dypHNh68r5vcUfEKEJl2JPrWuNKN/rhG0evy9zXDVA+TFXp+fxjQYVRyVV6me3 9b/g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=c4poMy0h; 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-164443-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164443-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id lk3-20020a17090308c300b001ec5104092esi1201863plb.144.2024.04.30.09.56.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:56:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164443-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=c4poMy0h; 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-164443-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164443-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 06F9D287B93 for ; Tue, 30 Apr 2024 16:53:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E0251A0B0B; Tue, 30 Apr 2024 16:51:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="c4poMy0h" 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 70310190680 for ; Tue, 30 Apr 2024 16:51:39 +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=1714495901; cv=none; b=ndWAYIvkt2gWP63iEHpxwoeLZePwycuZWzOWslCHJ6t8Rom/VzItcXoriuaVhf/acYRdsBEQa3mmC7AE5eF4NfVMRczdH40naUs8FKx8BCCWNKP7fICu9FoM/a/GsLlG9lPQq3++NBSFRfRUvmqgBfqLOP4OPNW5kUxE8Nqulu4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495901; c=relaxed/simple; bh=Imj0PGiI0NRGeoHG/l7mS2RL08/4BXu/ArMN7o0JhVQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QdnY6QLX7s8f1Z/kijO2I2Dzfwi+EXW5akzWb1BJU8bG8FUAGOgquh2oh5xX2AU1pZSt1jexMpR1KBgF29/rEUGqjlblw6BCrB47O/jzUXffAHqlI2x7sAc5FJxQhFKRnSQcOKUhXMnt7QxrA4fKPEC5HGapTxPYSv9H04AQDec= 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=c4poMy0h; 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=1714495900; x=1746031900; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Imj0PGiI0NRGeoHG/l7mS2RL08/4BXu/ArMN7o0JhVQ=; b=c4poMy0hofCIvhgd9WTNipZfVfh6k0wAdIHB8CFS7/tYCZpPGGgoIlVc 4djuy/2LjyKGmtCBNmHxBveMAB+y2bUUKjvTqnt89Bl9MV+rU1KH7UfwT +yf7tSpYH44+15uDRtSm3NS6S13CoK76FO777EvsceH/vL2EXuKLdT13x 1UJebux8pe0qXLlRphvTalgwUzbSjc/0eGeI+3b27i4aRp+HkWFdysJnc TAKncuBIu322KI9aVQW2eL4Yv29b5eZI0ZbtvvZgNbqzc+lU7cPXtPYmu 5cCeg/4syTRzpmc7NKwNikH+s5M4RW7TKJ/4VKH1yiq2/wwY+iO58a+FU g==; X-CSE-ConnectionGUID: bhC+rmf+SLelSxEoQqZmSw== X-CSE-MsgGUID: Ia9keJM2Ru+YQ3duuf9ngw== X-IronPort-AV: E=McAfee;i="6600,9927,11060"; a="10075687" X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="10075687" 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:21 -0700 X-CSE-ConnectionGUID: voAVff7TQ8OXebssrs6q/g== X-CSE-MsgGUID: toSK2bL/TvCVli7jnesOrA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="26515458" 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 20/47] platform/x86: intel_turbo_max_3: Switch to new Intel CPU model defines Date: Tue, 30 Apr 2024 09:50:33 -0700 Message-ID: <20240430165100.73491-20-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/turbo_max_3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/intel/turbo_max_3.c b/drivers/platform/x86/intel/turbo_max_3.c index 892140b62898..79a0bcdeffb8 100644 --- a/drivers/platform/x86/intel/turbo_max_3.c +++ b/drivers/platform/x86/intel/turbo_max_3.c @@ -114,8 +114,8 @@ static int itmt_legacy_cpu_online(unsigned int cpu) } static const struct x86_cpu_id itmt_legacy_cpu_ids[] = { - X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_X, NULL), - X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_X, NULL), + X86_MATCH_VFM(INTEL_BROADWELL_X, NULL), + X86_MATCH_VFM(INTEL_SKYLAKE_X, NULL), {} }; -- 2.44.0