Received: by 2002:a05:622a:251a:b0:39a:b4a2:e86 with SMTP id cm26csp316605qtb; Wed, 19 Oct 2022 02:44:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5UazgSeopfCssDQ5YZkbYCm/LpCKbU6dDuZ8Cd4HjAuhyaE5fFl41nsM7zzJPrHWOMfiJU X-Received: by 2002:a05:6402:2707:b0:45c:d8a3:6cfc with SMTP id y7-20020a056402270700b0045cd8a36cfcmr6654507edd.269.1666172641465; Wed, 19 Oct 2022 02:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666172641; cv=none; d=google.com; s=arc-20160816; b=eur0GAMI5I21hSH1bH9EbXjZp39k5fITW5n3sOh7HypRuie6Q4zcmSTYk1xRGc1A5A UCq3bhqXvxxK2sttZfI8gYQR4apSKXXuA54aE8UMKw4ZOiMucBFRHrjDjxENJs0A3sQz glE0zwg5ImAKkzgv0/xMEffVNsgKkXeY/AQzCFPhDINNjNPbhk5MHuOADYDedga3X5Sr r8b/0kuC8Ml8bjxrPz65ig2G5oVm+14UQ07RntENecvIRRYD/mA36Sw1sSjb15/KtHH2 /0s2JsRIPah/wSinDSz+VwkCh7hRZO7e0PJqdn1dETsxDk3K5xIvSPrRQmYG+QXJMo2l fwAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CZSjt032K0LHwvApGfEfA8wqmT/MRIyCh5n5MoAqxJk=; b=snLaIMPuWZik6om0CjM6aNtIXPDU24cEBEM3ISmnWtqJ4d5Rvobsvs1eoIHb8vqAnI 4uLpcwk0+JF47LvxkXa/vQZt7oEm7KjPIM+DFJUZEU8TxMFUxOAAL7U6AhwZ3BqkHMeB AnyyQ1kVChSKPxkyk6aKRBKF03eU/qs8FPNJ/+pdZrH2aqqcKqx7Vu1X6EbsWNJunKoM qtLYIB1mrNr1T5dQkLTxjhpR/PTZbZ8SMA9rOmzRV3+a4oyo4bKYpsLlAT/oRL3/hLQV 7aQNRTuLROFsuF56Ag3m7zxRhqEyfCsFcNafkvsH8kabyQAT0hCmJ2sgcwL0tFHiskaE rpVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=f44t+Ukn; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa43-20020a17090786ab00b007826e727aeasi14387690ejc.44.2022.10.19.02.43.26; Wed, 19 Oct 2022 02:44:01 -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=@linuxfoundation.org header.s=korg header.b=f44t+Ukn; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233451AbiJSJXj (ORCPT + 99 others); Wed, 19 Oct 2022 05:23:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233434AbiJSJWw (ORCPT ); Wed, 19 Oct 2022 05:22:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20B52A46C; Wed, 19 Oct 2022 02:10:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6C6FC61883; Wed, 19 Oct 2022 09:08:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83DFAC43151; Wed, 19 Oct 2022 09:08:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170480; bh=PU8iaCs2iWQxeCCZgNEo4F7oo3UpqlSd8bf4uBmxP6E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f44t+UknV8umQghKnCptTrP4KsBheOel/wepXPv5+QBgwEVzqxOWH5c8B2LBVBLeq gufbUjRv4oqGiyAW8xQmcLkjNU6HBGrKOLbUQajzdwIhqgtbcwzL/Q1iK36pt6rghX FeuPeG1pVASk/kXWJEdQ+t5iyZuxd+bqBV3/LGrA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Doug Smythies , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 6.0 670/862] cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode Date: Wed, 19 Oct 2022 10:32:37 +0200 Message-Id: <20221019083319.564436329@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 From: Doug Smythies [ Upstream commit 71bb5c82aaaea007167f3ba68d3a669c74d7d55d ] 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 Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- 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.35.1