Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3931686rwi; Sat, 22 Oct 2022 02:26:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5XaGj6oCAlbSmYlOgM1qlLA/memn9W/0ScW8cZATekjtUP0ocs1Z8gAUsEzbTyHqmPduMM X-Received: by 2002:a05:6a00:2389:b0:565:328d:ed with SMTP id f9-20020a056a00238900b00565328d00edmr23467069pfc.84.1666430770238; Sat, 22 Oct 2022 02:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666430770; cv=none; d=google.com; s=arc-20160816; b=Dr9FW9qmTu0I6zA5V3F2kL0Ub86reu9xn1Q84u92n8UH42RiXBMoLkc8kLCNumvTwG ooTWURkvwlXgbL92UxX+Ump8x8bapgQTu3Ys0tH6nyuq/ywz71bvxHpD5RrtKMZ1RxLK AowwXBQWCnaT28lV78nMu5edX+CHxCaFgX6ypcYU9GyQ2f0UzOZcu56IRR62AVCC17Zw tZUX4RSjIUDUeT7WGMsBhUg4OXPHLZRqmkyq2R2Sdsd2M3Toko3gpTZaXgpI76+vCSFK u2Fq52ngBprW8x7JEiN53fF/sr/RmoMTndIsDhE1V/4Bxx9iqtwUarJ7fCZLfc6l6xub vxew== 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=iwMeZfjtlXlsgxTMaNMAmo1I06n9RAMUSaBLjGTmZ6p60ub6iZhjkX0XKopJf9HIB+ ygBPzwCGNKkEo48wbbzily/xLGQ3YqS+1XSEE2NRlUeH6tl1E0UT1zBXEKvHOP7Ghu2q qIql4/Wq2eceom+KfCux9xszPHwquZi5oz1k3uivXf8/YYKsT0NkDUr41LmInM9Sh9Og ikajyoIWBunguoo0oaNRh/zCburbzDhEK3uzcLjIAEbgLNPtaSu6rZF8PsZcN/4ghWuZ 8TJ+Mh4o8BBWJLyC14KB59h3osYQoGcezlC1qQ4P7pMqYXRNmSDRrLTGFW43miKTzSl+ xFfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YL8yW9V0; 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 w4-20020a656944000000b004561f890529si27805828pgq.815.2022.10.22.02.25.58; Sat, 22 Oct 2022 02:26:10 -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=YL8yW9V0; 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 S233703AbiJVIZq (ORCPT + 99 others); Sat, 22 Oct 2022 04:25:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233961AbiJVIYZ (ORCPT ); Sat, 22 Oct 2022 04:24:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC6622A716; Sat, 22 Oct 2022 00:59:41 -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 ams.source.kernel.org (Postfix) with ESMTPS id 350E3B82DF9; Sat, 22 Oct 2022 07:59:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6706EC433D6; Sat, 22 Oct 2022 07:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666425579; bh=PU8iaCs2iWQxeCCZgNEo4F7oo3UpqlSd8bf4uBmxP6E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YL8yW9V0pxt7CrgyIzIBLOWz++R6AfBAnQsl3atYSkHU2LTgMP0Cn2TPSaylfY4jf DrDMZXLeAeB6a+2oRM4l1B8wLj3IQMeT3pWEwe7x58NpkmkOT+Gdy0J/MXg00Y3sx2 UgUAtbajCxysYFLwk81suaY8wtlF3n91ci8JgZCs= 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 5.19 547/717] cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode Date: Sat, 22 Oct 2022 09:27:06 +0200 Message-Id: <20221022072522.559406934@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@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.3 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