Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp161174rdb; Tue, 19 Dec 2023 12:23:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTbCL4SOR91ZbIYXSzddINLhC7awmS4w7YLzn43EHiSIGEfGdyVTp944UjABWj/3Hfx3o0 X-Received: by 2002:a05:6e02:1a64:b0:35d:87d4:938c with SMTP id w4-20020a056e021a6400b0035d87d4938cmr28656449ilv.15.1703017383214; Tue, 19 Dec 2023 12:23:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703017383; cv=none; d=google.com; s=arc-20160816; b=SxNBnw++2lLskelMITnxfrTJUuwSmTXJxtA/IRp5YCp+54UGI0N7isw2d2ULAAjiwG ql4e2XikWa3vmYHnV+aq4jjRywfz5IK02iY5C74IddVudQ+9qYcNpNnPU8DHNdLkVaVZ LBrwMpBsh8IH88HbIRpotyrzEUiC1zFbdIP1NSpqoCKRcpcZ6Wna/K8qOWznzAL2d4Ld Vtt7QZ5QhqPrcScydCcAVAJPOIgNpuXfoZE8U8xx93EF+gfBLfdi7LNVSgUpU98OWfWX pH+stlBKoVWKxZZBaEeGaRqlP6tGRVLYXyUyF5BzOP0dJRMwXaJnX75WB2E3mbHlSUO4 GdzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=DXlywzJaPAESGuJk2xO4+LBMlhtKKW+VkLv3NiQaeHk=; fh=pNyMPzgQU4o+h9A0DKFKKvEaH/mms1nMbcyUcfpGHxg=; b=T9cJSiNksry04lAHN0474klLVx36PisHF/URCfF2FLaoDeO2AyMie3uSEN26jdCgHl GIlLQp206EZA3LRnSUo2kQtuqj5UoXb45BTYZmPAhuHT05XGgIlV9B5Az5EIDP5lywiS 3xCtlMDJhyXqIIahpsvVXLMJylYDZXrHJjH5KGqiCc/4u3zotViG2gjBIjuJSrH5na08 pRwOxQXc8a/bgrY9kojJLuagfqoT/o5AITiqCruGjqKOBapuPAoEL6JlZdfQ5IszP+Yp 6HkPZ1FsTlZOqULuOAkOyId/g44moByCirSIkFNt44yOH0XTHaziIrDUcKNiKt5I7R6i ceWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-5901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f13-20020a65400d000000b005c6001ec190si20477445pgp.892.2023.12.19.12.23.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 12:23:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-5901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 76D48B24A26 for ; Tue, 19 Dec 2023 20:22:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D22F39AC9; Tue, 19 Dec 2023 20:22:49 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oo1-f43.google.com (mail-oo1-f43.google.com [209.85.161.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF91639AC2; Tue, 19 Dec 2023 20:22:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-5908b15f43eso683637eaf.1; Tue, 19 Dec 2023 12:22:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703017367; x=1703622167; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DXlywzJaPAESGuJk2xO4+LBMlhtKKW+VkLv3NiQaeHk=; b=VFNxPu9a4q19/4gKDy7PPOaYjaG66yPl0jIMQB5CMmmhQT1jYDa6SGD+NAln+kAcs5 pXyg4ivTe2P4RpAPPWtGUWZQ0YbpnOndrFkh/KTFqvryasLWMPilevHA8+ZfR8gN7kUp 6rS/fERl74+fM0xk7KZ9JgFV6TL3gZC/AhCVwBfOICtmxe4l2FSjYv42aHM0fHhEym2o D/dycTB83nB93DkLuytJHEXUoRctdXB4CcFcYBPkLV9seyVuUnSgOwUXMs3lzu5Mv18q cS0N2w7TABMXb7hZ3EyMRvvRi1i/Lq+wzpzLne10DxLbMRVCzxUDhauiFFUlnrmiHOt/ 4xrw== X-Gm-Message-State: AOJu0YzkJR9GJt0bIEWeXHt7d3mdvIg1/8yS4g3audV0wnRWBEMYqyvw 04YG3FF8mVWOo05KQ1R6GclTSbzLCuxrRklzKoY= X-Received: by 2002:a4a:b141:0:b0:591:c8cd:a13a with SMTP id e1-20020a4ab141000000b00591c8cda13amr9317821ooo.0.1703017367009; Tue, 19 Dec 2023 12:22:47 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231213102808.94695-1-yaozhenguo1@gmail.com> In-Reply-To: <20231213102808.94695-1-yaozhenguo1@gmail.com> From: "Rafael J. Wysocki" Date: Tue, 19 Dec 2023 21:22:35 +0100 Message-ID: Subject: Re: [PATCH] cpufreq: intel_pstate: Add Emerald Rapids support in no-HWP mode To: Zhenguo Yao , srinivas.pandruvada@linux.intel.com Cc: lenb@kernel.org, rafael@kernel.org, viresh.kumar@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, yaozhenguo@jd.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 13, 2023 at 11:28=E2=80=AFAM Zhenguo Yao wrote: > > Users may disable HWP in firmware, in which case intel_pstate wouldn't lo= ad > unless the CPU model is explicitly supported. > > See also the following past commits: > > commit df51f287b5de ("cpufreq: intel_pstate: Add Sapphire Rapids support > in no-HWP mode") > commit d8de7a44e11f ("cpufreq: intel_pstate: Add Skylake servers support"= ) > commit 706c5328851d ("cpufreq: intel_pstate: Add Cometlake support in > no-HWP mode") > commit fbdc21e9b038 ("cpufreq: intel_pstate: Add Icelake servers support = in > no-HWP mode") > commit 71bb5c82aaae ("cpufreq: intel_pstate: Add Tigerlake support in > no-HWP mode") > > Signed-off-by: Zhenguo Yao Srinivas, any objections? > --- > drivers/cpufreq/intel_pstate.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstat= e.c > index a534a1f7f1ee..39e0a2cf7236 100644 > --- a/drivers/cpufreq/intel_pstate.c > +++ b/drivers/cpufreq/intel_pstate.c > @@ -2406,6 +2406,7 @@ static const struct x86_cpu_id intel_pstate_cpu_ids= [] =3D { > X86_MATCH(ICELAKE_X, core_funcs), > X86_MATCH(TIGERLAKE, core_funcs), > X86_MATCH(SAPPHIRERAPIDS_X, core_funcs), > + X86_MATCH(EMERALDRAPIDS_X, core_funcs), > {} > }; > MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids); > -- > 2.39.3 >