Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp3362046rwn; Sat, 10 Sep 2022 10:04:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR6QpJrHJhURGdlcmBeU/2Mx7lem/+UTuabyZQVUmrU+733adEygCEHlnrW6bG9BS3QVF806 X-Received: by 2002:a17:90a:6b4c:b0:1fa:d973:e4eb with SMTP id x12-20020a17090a6b4c00b001fad973e4ebmr15087349pjl.15.1662829457882; Sat, 10 Sep 2022 10:04:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662829457; cv=none; d=google.com; s=arc-20160816; b=S0jXbnraLZgNwl8ltynOfNwTVSkwAFvwHHYSQm6NSBn3xTxavaM5IIR8KAh3GaqElM B/mcFXMATlj08U9lFSpQaZB3oATpebpggWNxnsuvYlP81ZAdQNKBR99ocX+ivpNqd5jv /yGtHrfOBFpePSJr5x3qUE5YfPa07ozHil2/a8cnww6HmMYfn/mhqCbENIgj/J7m5ABQ f2JRb6bEjBHpJqK7f3Me1eFPgqz9H4IUPwxEBQwU2fOdJeFXWKs7QCjxwGQFdQ3eex87 xgt7ybGE/k/MMxIZtZhNelJ1iGfwmDtprOET49EW7fGm+9qAX7d3qiFs452BLpA0gQwb QZJQ== 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=ZqI4OlIgIZ5cpLwqoHNWIUQovElvcVSI1HcDoSTyFws=; b=XHMO3Dp4VWB7veVww5lFCYfEf0YswtB8l/ZBfSNnWPClGjKhCUtzjenpwAyjovqnXU oMgm8/PHZjCm8K3a57z4xnFaobKygQEiGceUs69gUt5N8xitd6XRDnHjKFArVqDRG5dF QwDauAl6ccomCZsZCuQR0E1JODcgpJf/Nl6YVr0HE04SOzBe8oJXYocbsQhpQCDKfSUi ONsU+sYOqgn2vCsZAt65nfKmjkYhAkIAJ3n/YvlhjSSFEsWmroIGl17HB5OcqHA+++Lm SAC/g53km/URwAYfLOdSpgXZs4JLN4tiEXGPUsXpC8Lbh5cg3TGHQOzVv5XJmUc4cUe3 XGSg== 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 81-20020a630254000000b0042ff15fca8dsi3856964pgc.724.2022.09.10.10.03.48; Sat, 10 Sep 2022 10:04:17 -0700 (PDT) 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 S229604AbiIJQmQ (ORCPT + 99 others); Sat, 10 Sep 2022 12:42:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbiIJQmO (ORCPT ); Sat, 10 Sep 2022 12:42:14 -0400 Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4E0F4B498; Sat, 10 Sep 2022 09:42:12 -0700 (PDT) Received: by mail-yb1-f181.google.com with SMTP id d189so6891763ybh.12; Sat, 10 Sep 2022 09:42:12 -0700 (PDT) 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; bh=ZqI4OlIgIZ5cpLwqoHNWIUQovElvcVSI1HcDoSTyFws=; b=tCEaXnKpoEcoLr3dCJuubbhGHFWWXSGBJcXK29bit44jiew1VWciJ1Cv4rhVn+7Uod uEhYZGsFINbwUOIhpMiT5TLdk9RfOq4SYrx/BPDy/8t0jEfg4iIwS8chuRvIJFs7TvQ6 u8bm6T1Ihmgc1xry9BveNpjEEUP9xojaBb9Vo2l6SQd5kiPcg/971Q3uU35VrduY/tNF zGgLBpCE3Wv+wXwNWiBvMaeJ134mgPIu4fEu4XHExCxZHcpiZ0c6Qz2a2Hr6WyfKD7ys XkcNhLVwPd8O3jVQfdHIxQ5PBY+Dgm4aof5pjGpwsnqUJ9m2u6WHKkik3A18eABZ/GGo m81g== X-Gm-Message-State: ACgBeo1GrTXii6usAvAPPhKZ9sJmiB0B7Ak+aQHPBbnEpfmY/AVNwmsW kDZ60p6Fn/6Opsqb/ym2czWYZ+0w5mDdLhSnxKfcGK8x X-Received: by 2002:a25:b749:0:b0:68f:171f:96bd with SMTP id e9-20020a25b749000000b0068f171f96bdmr16676332ybm.137.1662828132121; Sat, 10 Sep 2022 09:42:12 -0700 (PDT) MIME-Version: 1.0 References: <003901d8c22d$02447f70$06cd7e50$@telus.net> <003c01d8c22f$4a8e2270$dfaa6750$@telus.net> In-Reply-To: <003c01d8c22f$4a8e2270$dfaa6750$@telus.net> From: "Rafael J. Wysocki" Date: Sat, 10 Sep 2022 18:42:01 +0200 Message-ID: Subject: Re: [PATCH] cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode To: Doug Smythies Cc: srinivas pandruvada , Len Brown , "Rafael J. Wysocki" , Linux PM , LKML , "M. Cagri Ari" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Tue, Sep 6, 2022 at 10:29 PM Doug Smythies wrote: > > Users may disable HWP in firmware, in which case intel_pstate wouldn't load > unless the CPU model is explicitly supported. > > Add TIGERLAKE to the list of CPUs that can register intel_pstate while not > advertising the HWP capability. Without this change, an TIGERLAKE in no-HWP > mode could only use the acpi_cpufreq frequency scaling driver. > > See also commits: > d8de7a44e11f: cpufreq: intel_pstate: Add Skylake servers support > fbdc21e9b038: cpufreq: intel_pstate: Add Icelake servers support in no-HWP mode > 706c5328851d: cpufreq: intel_pstate: Add Cometlake support in no-HWP mode > > Reported by: M. Cargi Ari > Signed-off-by: Doug Smythies > --- > 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 57cdb3679885..fc3ebeb0bbe5 100644 > --- a/drivers/cpufreq/intel_pstate.c > +++ b/drivers/cpufreq/intel_pstate.c > @@ -2416,6 +2416,7 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = { > X86_MATCH(SKYLAKE_X, core_funcs), > X86_MATCH(COMETLAKE, core_funcs), > X86_MATCH(ICELAKE_X, core_funcs), > + X86_MATCH(TIGERLAKE, core_funcs), > {} > }; > MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids); > -- Applied as 6.1 material, thanks!