Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1229396lqa; Mon, 29 Apr 2024 02:03:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdlvkrHa1vbQv7al+Iz3RHGB1/Wdx9uE020/JSjZuwnBk5p3B0qJdp08AVx3G3N01qOd21J+kHjQIlAePyN7wCu6QLCOXZWZDDhLA3pQ== X-Google-Smtp-Source: AGHT+IF8pyTSUAJtdzPaSahof6v5EyA0xAGozyXLxPriFpQpMf/ZTcPvu/dBlUVb2tyxKfOxC8sr X-Received: by 2002:a05:6214:404:b0:69b:683b:8686 with SMTP id z4-20020a056214040400b0069b683b8686mr12218437qvx.3.1714381394817; Mon, 29 Apr 2024 02:03:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714381394; cv=pass; d=google.com; s=arc-20160816; b=phNyF8pkZfpyX768B4+3/0BY5dHs3OPZXPruOC5HAg+7fYJxEm87NXuaQnik9ozguQ a06fCf5bl98+kRcgOKGu1luqreaSd4/puxzkmKeqaRssLgnTAGxqMO5VS9aYkyrk5bG+ VtEhyqXNgz30sPTyQBrnI1/DRe/3JJUlPZAbBJzQM5Q6E3QIy/rWbM/Jb87tdlMW/9jk 2PZg/P0q4ajXB1bTuJHrpp/4w5wo1zWIeBcUbI/c1MkGndOQHpDFVFMLrBDALe4dHPe5 1H4VJbq7alyiNeQnigKbse0aSPg01XyPl0IeYxfDESX/1cEiw03p3gvnKm9k9rZERX+r fXZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:cc:subject:to:reply-to:sender:from:dkim-signature :dkim-signature:date; bh=1N8pPbUtQQ0SZTp4B7WP+l0NSTj7Z52stlG1INNA4wg=; fh=JTk9+qr5gpUHTA82NAoTC2Dn364LtWPF0bcXdXoFHrA=; b=abITJCusRy3jiJsa6Z4vi0mM23pu+BXKDhMTnwCGDlarVb+yP/Zlbmvddn1sRJhrtr 74xogUDTq0mdC7F6dAKMcm5M7CCsrL6Yeh3iRaoNnkL/vFo6wQAJ6UXYDPeVy+Q7qtcQ bTWYDNjYoOtmkfjzfO1F13iL/g7nrlo1JsZvFK5vBoNHng6gmrfVOwFiZPYR+m3K3yQX fmXSN399HKExH7VnrMWMSJrGQmp33TPf9GQCBAcqmQJq+90ZRVu7I1sqSn+daTLF/b6A iPSGQIOXFLMfO93pkxZ9b7OCTahRKmXZWGZ+Ikum1w0qUy0M/Yc+gZetD9Wwb0z7LlwW EEiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=loTEbkse; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-161949-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161949-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gg2-20020a056214252200b0069b3b41d564si26720250qvb.136.2024.04.29.02.03.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 02:03:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161949-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=@linutronix.de header.s=2020 header.b=loTEbkse; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-161949-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161949-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 8AAE81C20A20 for ; Mon, 29 Apr 2024 09:03:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C54B13A8F7; Mon, 29 Apr 2024 09:02:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="loTEbkse"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="gMmLxZFA" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 39B7E282D6; Mon, 29 Apr 2024 09:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714381325; cv=none; b=BvPO28+aa07B89aaVNtnRLlXf7ODq8jf6lSicIwr1FSu5sm5HlOTBQQKWp/M9Z8LcmjA1lUaPRqJQe0QaVAgHFYrzKmhyJXfjtJiMh+bCcqu3Qnr1Tqx114Gw2DKW7naGgK9A1bGt+0wfVUN8e2fr2IlhVyLUZq/OC8XRho5mss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714381325; c=relaxed/simple; bh=UHDojGS9VhcWw/fPhK8vgj5Sah53B3jT7wh6P1BtcpU=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=GJwecHCyytV3JeAP0XORvIvZ/KlEKTvTwAZJLD/GXNJ7p0JCdWanzOaxLMgOuIKjNM/piluHqpWDAF5U02T4gRNqPFZJZAMJTsvlnfcUJvZXrq0FUzB7uKsckjb1JqFRt+1ryLMuqxFmc13GHezzhNhXt3uMG9xzoAK2WEIia8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=loTEbkse; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=gMmLxZFA; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Mon, 29 Apr 2024 09:01:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1714381315; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1N8pPbUtQQ0SZTp4B7WP+l0NSTj7Z52stlG1INNA4wg=; b=loTEbkse8bypz5WuWpPP9sCq0BKMw5Y46r59WCumg4251sO4eA3DvB4UWpfJz925B2iAz8 qLrRP4Vw4HfRrogOFjtlgZDYsE8DblvcQcnCSkYLXG82DZUjRI5Vy/lHJAYopds3IGOSOP DtSFVA3/AwLCXmwlAGpIkiuPWmLA6oz0ErRKCcb+75ytVYyUCUfArVrFpDTbeX4DlM8hUq fATpWP3VjZIXGEvk/K0nz3zDSlmGeXe33WMv4+62q3kMIjRcxs5Bx3aS+Ivf+XIsx9X8Mk xBEWlWU4sAnIQI6FIXf5nbKDXu0YVeew7TDO5sKBfBmNs48v7NU+5s34caNFFQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1714381315; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1N8pPbUtQQ0SZTp4B7WP+l0NSTj7Z52stlG1INNA4wg=; b=gMmLxZFAx2+7UEMuzl34UkA1z6sRO1vgHUMLfeN17tl+ymW7A9nrdUCECGVnC3GkgtjuQN HZRdHrDVWkQQryBA== From: "tip-bot2 for Tony Luck" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cpu] x86/cpu/intel_epb: Switch to new Intel CPU model defines Cc: Tony Luck , Dave Hansen , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171438131492.10875.11705262032355320258.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/cpu branch of tip: Commit-ID: fe3edc524db4152c4b1672b4e0cf8183330379db Gitweb: https://git.kernel.org/tip/fe3edc524db4152c4b1672b4e0cf8183330379db Author: Tony Luck AuthorDate: Wed, 24 Apr 2024 11:15:09 -07:00 Committer: Borislav Petkov (AMD) CommitterDate: Mon, 29 Apr 2024 10:31:16 +02:00 x86/cpu/intel_epb: Switch to new Intel CPU model defines New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck Signed-off-by: Dave Hansen Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/all/20240424181510.41733-1-tony.luck%40intel.com --- arch/x86/kernel/cpu/intel_epb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/cpu/intel_epb.c b/arch/x86/kernel/cpu/intel_epb.c index f18d35f..30b1d63 100644 --- a/arch/x86/kernel/cpu/intel_epb.c +++ b/arch/x86/kernel/cpu/intel_epb.c @@ -204,12 +204,12 @@ static int intel_epb_offline(unsigned int cpu) } static const struct x86_cpu_id intel_epb_normal[] = { - X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, - ENERGY_PERF_BIAS_NORMAL_POWERSAVE), - X86_MATCH_INTEL_FAM6_MODEL(ATOM_GRACEMONT, - ENERGY_PERF_BIAS_NORMAL_POWERSAVE), - X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, - ENERGY_PERF_BIAS_NORMAL_POWERSAVE), + X86_MATCH_VFM(INTEL_ALDERLAKE_L, + ENERGY_PERF_BIAS_NORMAL_POWERSAVE), + X86_MATCH_VFM(INTEL_ATOM_GRACEMONT, + ENERGY_PERF_BIAS_NORMAL_POWERSAVE), + X86_MATCH_VFM(INTEL_RAPTORLAKE_P, + ENERGY_PERF_BIAS_NORMAL_POWERSAVE), {} };