Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2848899rwb; Wed, 30 Nov 2022 11:43:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf6XX5xEnY77M7ZFBvwdkvjM/1xX7jmAf5OAR3TDj9c4cH1YD7IbvyODM+a16Gh8P1v8IULi X-Received: by 2002:a05:6402:5:b0:459:cdb:92ad with SMTP id d5-20020a056402000500b004590cdb92admr40386151edu.77.1669837404547; Wed, 30 Nov 2022 11:43:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669837404; cv=none; d=google.com; s=arc-20160816; b=fw1rop0/tBfF0CqCYvKq/b3CR9OrV0/tvXq7tQXaxfvs98dLm3zCNPfbx5BKBjxnz4 2c0asBqfiwBTf5Z/SFgmqDqMGhCTtvrA3zEs0Cp7/l/G8rqKwcjJwYwxDMBIbZblMnpq GPEtT1FDNK2zXPukx1QjgaXog4eUJaeTWdFYWXmnHhp1+ctRuHy4VmQxu5NJAofTbHQ5 qo93LLQSTG6sFHPsZ/S+T/wEz8rCE+Z4F8x/oXAZbALPV3de1jxJ9sE8TmBZKUeKcXQ9 /iBBdwz1/qY+c9MK57ANU4OtAcqX3iDKRspyhEKAS3/1JqscO+uGAIwyaRnZO3FXqqWD Ps/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=NV+aRXYKE3DBJkVT9Hd67uMEpdGk6soKLvDOrRjSNtA=; b=X1yp0D/+002G1nEftrmEXGsXFAIlifpZPXqYlSiknHmFP+V2CterF2tOxRcUAuwA0e +06dWycFftlG5vtC8FTJA5aPwMAXB8u5OLxw8XpfQmILuHaHGCrr93o2Lpp0I3DfGz1S DAqUYpQ5FK8FjKgyPgQYwT1aUEJ2MN2Gm4egZ/OHBgxqCaRdAtKZfemKDcEgPZfgGo1J wUHkhm8ro17OKdD75r56XmGDYfV7WePDo/E3wM4ZYxx/oSTP5JI2hnI2qP02wWvOH2Ys ZjJ+/UHGxM/KNuapHlyQNG8oB4MJNAnVBhzDf+E5gkeamNQnEAr1oZH1KM0OuT/w0we7 M4Yg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw28-20020a056402229c00b0046b5aff3c95si1821425edb.311.2022.11.30.11.43.04; Wed, 30 Nov 2022 11:43:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229616AbiK3S63 (ORCPT + 83 others); Wed, 30 Nov 2022 13:58:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230199AbiK3S6Q (ORCPT ); Wed, 30 Nov 2022 13:58:16 -0500 Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38FD69D810; Wed, 30 Nov 2022 10:58:08 -0800 (PST) Received: by mail-qv1-f52.google.com with SMTP id s14so837193qvo.11; Wed, 30 Nov 2022 10:58:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=NV+aRXYKE3DBJkVT9Hd67uMEpdGk6soKLvDOrRjSNtA=; b=w4RcxxKftt4X0fjNm1LtCCzIouoJuiFvvtWEAidXDB1FWV63JtNxl/fa9Zkm7A4EpD R4jBWHuRs4dxmzzCbBiTeqKzHcecpKTUGh4ikKC0rYtbB7GEltLWUZLlbD6dF2hQIA5E qXM0LzeFIAfyi+jwp6YutV9YoPT6d2L6Fika/aNqWoQnLuhnfsi0iHb4xrqRvr0e+WPq UlMjF745nyPwEuUz3aHljRZf60C4M3mrEcrUiMxUGIbvsP19q6VjmYmxHG7JvU2Wwq3s KRECC6iS9iLHu/q1w1UPZ+V0SmDC6jIRsFknTStQ+Tu+bighz4lY6KiM0GhdWSNhnCEo 5+PA== X-Gm-Message-State: ANoB5pnMhM6HC124U5od+fMbwmacBUwQfKpc5eDQ5e+Ft80D7EkFKXCs H4xxaSCY95dIBI39HFq8a8rbMPck9H43mGwvyd2tY78H X-Received: by 2002:a0c:c582:0:b0:4af:b750:b569 with SMTP id a2-20020a0cc582000000b004afb750b569mr41510179qvj.83.1669834687400; Wed, 30 Nov 2022 10:58:07 -0800 (PST) MIME-Version: 1.0 References: <20221121153540.10494-1-ggherdovich@suse.cz> In-Reply-To: <20221121153540.10494-1-ggherdovich@suse.cz> From: "Rafael J. Wysocki" Date: Wed, 30 Nov 2022 19:57:56 +0100 Message-ID: Subject: Re: [PATCH] cpufreq: intel_pstate: Add Sapphire Rapids support in no-HWP mode To: Giovanni Gherdovich Cc: "Rafael J . Wysocki" , Viresh Kumar , Srinivas Pandruvada , Len Brown , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 21, 2022 at 4:35 PM Giovanni Gherdovich wrote: > > Users may disable HWP in firmware, in which case intel_pstate wouldn't load > unless the CPU model is explicitly supported. > > See also the following past commits: > > 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: Giovanni Gherdovich > --- > drivers/cpufreq/intel_pstate.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c > index 6ff73c30769f..181cd6b045ff 100644 > --- a/drivers/cpufreq/intel_pstate.c > +++ b/drivers/cpufreq/intel_pstate.c > @@ -2378,6 +2378,7 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = { > X86_MATCH(COMETLAKE, core_funcs), > X86_MATCH(ICELAKE_X, core_funcs), > X86_MATCH(TIGERLAKE, core_funcs), > + X86_MATCH(SAPPHIRERAPIDS_X, core_funcs), > {} > }; > MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids); > -- Applied as 6.2 material, thanks!