Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4842073rwb; Tue, 6 Sep 2022 13:41:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR7pjmHGtvtN/aOmEgaDtqXZEkrVXEX/ek6gNMS0VAwrrF5NLZvGNbmPbJlDwTWDXDBl25X6 X-Received: by 2002:a17:907:d8d:b0:741:4d1a:5954 with SMTP id go13-20020a1709070d8d00b007414d1a5954mr180164ejc.307.1662496891909; Tue, 06 Sep 2022 13:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662496891; cv=none; d=google.com; s=arc-20160816; b=fiFb88HlIGYjWLPwUUkgFPXiL0fVCM05OpOO+tzv/8bEfCGupIgN23bf33a1hV392i pW01/EFEtHY+0mVDBq5dU13uLizoSH3pBrmkf9npwF+IWz8WIXp5ShnfBlNuI7ts7V/v g+Kofg56iuDaDG8nBG9SwB9Y1rhYUnF0gaWvpNgqHP0MVeDR1XPywu+lLPAs55Te/+Uh SQ/clJJUt550tGtOIAEzv/sP6IzzSlkWZQURVevVeKubD7Lekku6MKadF0jXfvxN/p7d N5VbrVk0AeEMbl2v4vQARQHjkRi2yaxla99AtUMKrXgdd0U3XewZdG1Ycx154RklDszC lAhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:content-language :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dkim-signature; bh=SApL559VYDv9mxhkQIS6YUpqlo0DYsAvN9Xj3AgwwP4=; b=jM6id7F+9G+8zoeXKjQ/5GpUnrNQ3qvRFXiR2IKge/fmXL70mExpkIpGBlWXHheixY wH7rP7BLjC3yWdD0Fkc/YvlcYjxMGQ0KFNJPF1qA6+znQX+IVVBfwOM3T97PSDRpe+PD 8B9wL/bDbSSfytQxe5bTVxsE3K1EPCgH2wscdpoiT5JGvQRTGL+J3Qm6ygG8TlB8ST+q mCOH0rljsWrsCzSETRSP0UxcFI0ZoMxmnrVVxD1xyQ1RBmMWwqYkV2VmczlIKjohiR5K pjICaZ4BlWyXOAt3QcUswJNzGmMnUBbj7YewyfoTpKaIjd6FVjekAFSS6Z1vVwGhsf5h vrNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@telus.net header.s=google header.b=KKciEglp; 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=telus.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r3-20020aa7c143000000b0044810e8ed52si9166635edp.396.2022.09.06.13.41.06; Tue, 06 Sep 2022 13:41:31 -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; dkim=pass header.i=@telus.net header.s=google header.b=KKciEglp; 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=telus.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230406AbiIFU3M (ORCPT + 99 others); Tue, 6 Sep 2022 16:29:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230382AbiIFU3H (ORCPT ); Tue, 6 Sep 2022 16:29:07 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA2A2A260A for ; Tue, 6 Sep 2022 13:28:57 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id jm11so12360084plb.13 for ; Tue, 06 Sep 2022 13:28:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=google; h=thread-index:content-language:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:from:to:cc:subject:date; bh=SApL559VYDv9mxhkQIS6YUpqlo0DYsAvN9Xj3AgwwP4=; b=KKciEglp50UDtPQYV1U8Si6GNn/Hiq/jaSfPNvLXNp45LRMYss6qcUPsOuVDncEgnD nCUXZXyifNEA7Nv/zmWpkbd9HMUTgbQdvVwVKcI++L8HysUmzVI9ByHbx7EImHttaRZy TwRLBY4XxU4hQKME1v4sjFq/H/6XkoLI2tGx1hur+O4g0dJXTH/X5rhEUtc3k9T/Bw4a uRE9ryzV9h/vSbR7GOFIFsSueYy6dlEVGhccIIKX6SBLhT+fGNtxUkMfv0X6CrxS+0rI 4DQEVyEXVWusMqXEFw9/vGKsPVfnIaMUWHj5dAockg1Iuzm1bKr0sl24+ARnaAuGr55r 9uzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=thread-index:content-language:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=SApL559VYDv9mxhkQIS6YUpqlo0DYsAvN9Xj3AgwwP4=; b=jEat5AS6Qia73o1EwFtlHDEbCZ1MWNtajTA+T3wkSLYHOPJzptIHjifpOOitGRZtzw uFVfRitEgdGqK+n55jn/3KMUWcIW+71N2KUopySL0rLXjyPI8t0p1h3LzwqZSLnZXCn/ GPxr6jHa/orjKd759iSbHKZSpnkyi1DEAn5mw2p2Mm0S/pyOCxItUF9mXv+MWiwEsbeU oRrat1iIRd24Mo+tVNQZQuAWpZwIPCi//DrH22hTBAKH1X/MFozu/S6C7kfhAgXzFFUw bptVcyvQrX1BWitWWMFxIQf9cLOO64P+Ka+TGsZSULwVqu4w3IuJgOVa0vsvVPMsf94U sNXw== X-Gm-Message-State: ACgBeo0XNZU8QP+lKlK3HjIl3m7ZDoraoHBq1Z3Pn94f6AVPQXCHcigM VKYb2B5CUnsxV5EY/ndL419Xyw== X-Received: by 2002:a17:902:a704:b0:174:3ad5:30b8 with SMTP id w4-20020a170902a70400b001743ad530b8mr257196plq.14.1662496137190; Tue, 06 Sep 2022 13:28:57 -0700 (PDT) Received: from DougS18 (s173-180-45-4.bc.hsia.telus.net. [173.180.45.4]) by smtp.gmail.com with ESMTPSA id h4-20020a170902f54400b001715a939ac5sm10412275plf.295.2022.09.06.13.28.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Sep 2022 13:28:56 -0700 (PDT) From: "Doug Smythies" To: "'srinivas pandruvada'" , , "'Rafael J. Wysocki'" Cc: , "'LKML'" , "Doug Smythies" , "'M. Cagri Ari'" References: <003901d8c22d$02447f70$06cd7e50$@telus.net> In-Reply-To: <003901d8c22d$02447f70$06cd7e50$@telus.net> Subject: [PATCH] cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode Date: Tue, 6 Sep 2022 13:28:57 -0700 Message-ID: <003c01d8c22f$4a8e2270$dfaa6750$@telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-ca Thread-Index: AQKqNjiovqToChG3xUCNkHPXWq7dTqwv7neQ X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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); -- 2.25.1