Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp609893lqd; Wed, 24 Apr 2024 11:20:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWllYzYd1BsJn68MxUbK5ZQ8yTcTgNO6MtlKgGW799xgeHibE1DOB7yYKhC0Ixo+JlzJp4crSkYlVUcCk606zgv8m3VrIGEVlT4mZhkig== X-Google-Smtp-Source: AGHT+IH10Bl0EmmOAI1xbt+815iguOFqg4AG2XEdfg1MdasNGozPbx5o4Y+JQSp+D9g/Y9tFB4B4 X-Received: by 2002:a50:9f83:0:b0:568:1248:9f49 with SMTP id c3-20020a509f83000000b0056812489f49mr2417163edf.18.1713982836691; Wed, 24 Apr 2024 11:20:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713982836; cv=pass; d=google.com; s=arc-20160816; b=BuTNN4U2GhMCkg5CGZ7i11it/IK0qogE/fJbRRGaVqjaflmnvxlGxXZnoJiYBDPmKX cZusxqoVq0Gv5rykFS0baOIEvuQT4oqH3vMXwk3acexRlTQp1wv5iXJlSxI924xWIpWb VoFXsRhW+G3w1cB7GNhvR9NOtIgz3oKNYZEfVo1oZAJFnL4zfqm8Mbuv7ellMAbNk4OJ ydKNRgs/VgtS1y1g7+taFYilq5oE7Bf967o+/HAlSFdrmc1+yOHI9GBWlut7cuTtubXo dEsGDX5pyIxxtLw8+TjsfTDliPxlrn8+h/tL2vG2j1n/R2dc4eSGDe/siFYS4LbICdfJ nl7A== 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=xBZyxkbvtnYVFs0MlJx3t5Y4Z65Y4jrMdZyICCIHm70=; fh=6xzoW0S1CXQeH3eOGaPVMdt0/6Vua5XdK3epAEDvdcU=; b=BCYO5G11pz3YaDZfB9miIumfWvs825GibTy+Fi0KxSKJqJuZjKumzNS9J9LuNLzxBS a797hbRbgw5RSt9j9B8MncqjzIXlX/y2shwPhMju65z/Ic7v27I0hYpA7cCC0WT3ai1V L0C1Ud5OIrN154J12DKJkFvSVc1v/Yd67sDGFaxZFXAedN0C2qJoyU1PAxkGxB1T1HXp WwmmKYmE/fP2531JgPaWgkSyQRowLa2dBWRdnPB97H84JlsAi+XdckYqx4o0cJM+0eC0 7y6OFK8hei32hMuQK3tvcTMId7N1ADk41xosOCXxCc71m84B8LKo7ml10qEhEl/5tj13 zn5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="R3/mlI/3"; 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-157477-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157477-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v7-20020aa7d647000000b0056c4cc04f2bsi8807021edr.210.2024.04.24.11.20.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 11:20:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157477-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="R3/mlI/3"; 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-157477-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157477-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 6621E1F21E9F for ; Wed, 24 Apr 2024 18:20:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BCBA181B8F; Wed, 24 Apr 2024 18:15:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="R3/mlI/3" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (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 813C8180A77 for ; Wed, 24 Apr 2024 18:15:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982521; cv=none; b=SJAaXohjZEwIwvH4TurHeqysaojJX7Ja7FM3HdHaBbK+j6SaCsaCfcaGtQeZnH6G8gjB8aRo7vnlVDUFtOAUaQfnhMh1vs632kjn2irL/scF7xC5Bci4U9K2RVGjnNwq+Xc3G8XFgdgWooWRGK1u4gsHp3dqzVJjAzh40jUnYs0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982521; c=relaxed/simple; bh=CIcz5Nw2dfWca2jMW3VzowmJZ/HfcnGQaEE9Ffmx768=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=l2FtM6uAQ/Vvir01LygazAEyNja1RBkuT06IgcwEmCIbSayxih8Hu7DGRhrgEz3AHgKpm+9vXM5aP/wyurv+Ho7tsBTswRwgsy8NynzLnCXU24/iHuuBhyAm5lCjR9tExG9iMvw/7R1owJAB7fkWu3307olF8wGVTBUU1lsKedc= 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=R3/mlI/3; arc=none smtp.client-ip=192.198.163.18 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=1713982519; x=1745518519; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CIcz5Nw2dfWca2jMW3VzowmJZ/HfcnGQaEE9Ffmx768=; b=R3/mlI/3OhZ+CmsPVqJWQGSIk+3EIOX/rfs33id3Mcy0vPdgAzAGYeX+ Bfw7AQybtbWnWWen3RL8YiaQPWoxjTtA9DEVQMo9jG5cFK+ngPZSIA2nE SOnBc38qhKx8FzAxHznl77DCQKRPg+woLDKH8BZeoQRNxx6T1bUdaGjHz em43/UW6dipx3i0t+nFKeEoI9yfK46+rgKfaWYpiwtNyd1ml/f7+ll8B0 t+oXyd3CUbxKXu3wajRG++uUR6RqbrDb/RUbMRFLBw7ztdikjLJbeKDdd hIR8tdhZUaq+k54f200+wGW5KMXEz8ew2hpKOaiL2bBmxRZ2xzOL6ejU1 Q==; X-CSE-ConnectionGUID: i83pgSYqT4KkOaA6fF3jwQ== X-CSE-MsgGUID: pLbpcLB2Sxei8v4pqhgVUA== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="9481977" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="9481977" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:10 -0700 X-CSE-ConnectionGUID: Fwjj2ohoQ9S7sZY4S6yGCQ== X-CSE-MsgGUID: o5GBkDJNTI+i+PamPgq6ZQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="29262726" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:10 -0700 From: Tony Luck To: Borislav Petkov , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org Cc: "H. Peter Anvin" , "Rafael J. Wysocki" , Gavin Shan , James Morse , "Russell King (Oracle)" , Tony Luck , Peter Zijlstra , linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: [PATCH v4 30/71] x86/cpu/intel_epb: Switch to new Intel CPU model defines Date: Wed, 24 Apr 2024 11:15:09 -0700 Message-ID: <20240424181510.41733-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 --- 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 f18d35fe27a9..30b1d63b97f3 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), {} }; -- 2.44.0