Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5862436rwj; Wed, 21 Dec 2022 07:57:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXtIn2se/So7Md8n+7f64DhXSCuuyHg9+42hy3ZJtrXArhMbdBCpXCRtfeqgc0xQylE86+3p X-Received: by 2002:aa7:c6c2:0:b0:46b:aedf:f328 with SMTP id b2-20020aa7c6c2000000b0046baedff328mr1742427eds.20.1671638272584; Wed, 21 Dec 2022 07:57:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671638272; cv=none; d=google.com; s=arc-20160816; b=uIpxlCNm/xV5RamcsAywI1au+oEa30AHcwp8hkEOz5GztSJ6mik5ATY0ApgrW2td7p NzJFmIQROTzrTaaVax/C3N3XIlQTyp+8ifcRHCvisNVODpEIG80gGfo8+KUn3c0U4OoP oyXNfT9H7UAyJ7tFNjZbEKbLw6O0BEDXSvsxvN2k55+WcbNe21Gb7UKLOKLXWNPREuJA /mGj1dPc73rPGDefRdrAQ72Yr9lOPgPSvGmlTnJixCqY6ECMasNBh/yruxv4PzzjKgLA VYzMgtHnyO25kgaJQsk5zH1nGu9v8r9zWLRq5/R+of0uO5n3f5zENJdp2+DVAwEn8u1R Wjnw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=9YK/PrzS2uS8rT8WWzdNdUDB+lVs6VKHUehwJrBeLqk=; b=bW47IoIaceFdeXgKmygQBdT4aF3aVoYWiFQn3j4Q5++Eo6OtevIuso/bW9AY6HJWGE Jj82syxXAtoL0pwfa4BXs6f0eY07GAUGRZtLMMJnkbz4gCSAoBG4h9NKiduugyl6xRLb NVoljQ5XPgrnoPKeMgKRuWFtZkXiSPscaAGDrEZ5Kx6QYK7z2vKJoSLbkFQm9SIZQrjb OwY3+OtShxb9tL+AWna7mY2HoTL6Mn5+h2Ilf5GEepldC2AbaEmUm3eBhsXvHMbKw9Xz QIsRnqb1e/8ITEsv6voyCSNLiJWXH9nYP84i/kMA+6Y5IdLM+bBrcGfrmBHQYEApWckn tEjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=e1UzpUf3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd16-20020a170907969000b007aeb99bbb99si15220667ejc.48.2022.12.21.07.57.36; Wed, 21 Dec 2022 07:57:52 -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; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=e1UzpUf3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233674AbiLUPw1 (ORCPT + 68 others); Wed, 21 Dec 2022 10:52:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233766AbiLUPwW (ORCPT ); Wed, 21 Dec 2022 10:52:22 -0500 Received: from smtp-fw-9103.amazon.com (smtp-fw-9103.amazon.com [207.171.188.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35FB71A396; Wed, 21 Dec 2022 07:52:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1671637941; x=1703173941; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9YK/PrzS2uS8rT8WWzdNdUDB+lVs6VKHUehwJrBeLqk=; b=e1UzpUf3gWZdp5oBcj/RZ+J7d6Eull+5y5ftmBaAL79h73T8EDVSdcIz bZ7tZD+yrcRKIuKIDC/Ne9Ap5XX9UPayHx3Kawtu3Adf3qE1qc6TitnSb RcOKAgWFgDBlTcIkDoGuddWHXv9XJZRlWUrtuRZmtyTNH9etMwY4FulCE 0=; X-IronPort-AV: E=Sophos;i="5.96,262,1665446400"; d="scan'208";a="1085825342" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-iad-1d-m6i4x-b404fda3.us-east-1.amazon.com) ([10.25.36.214]) by smtp-border-fw-9103.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 15:52:13 +0000 Received: from EX13D47EUB001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-iad-1d-m6i4x-b404fda3.us-east-1.amazon.com (Postfix) with ESMTPS id 806BB863B5; Wed, 21 Dec 2022 15:52:10 +0000 (UTC) Received: from EX19D028EUB002.ant.amazon.com (10.252.61.43) by EX13D47EUB001.ant.amazon.com (10.43.166.250) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 21 Dec 2022 15:52:09 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX19D028EUB002.ant.amazon.com (10.252.61.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1118.20; Wed, 21 Dec 2022 15:52:09 +0000 Received: from dev-dsk-ptyadav-1c-37607b33.eu-west-1.amazon.com (10.15.11.255) by mail-relay.amazon.com (10.43.61.243) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Wed, 21 Dec 2022 15:52:08 +0000 Received: by dev-dsk-ptyadav-1c-37607b33.eu-west-1.amazon.com (Postfix, from userid 23027615) id 2B4AF20D08; Wed, 21 Dec 2022 16:52:07 +0100 (CET) From: Pratyush Yadav To: CC: Pratyush Yadav , "Rafael J. Wysocki" , Len Brown , Srinivas Pandruvada , Viresh Kumar , Robert Moore , , , Subject: [PATCH 0/2] intel_pstate: fix turbo not being used after a processor is rebooted Date: Wed, 21 Dec 2022 16:52:01 +0100 Message-ID: <20221221155203.11347-1-ptyadav@amazon.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_SPF_WL 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 When a processor is brought offline and online again, it is unable to use Turbo mode because the _PSS table does not contain the whole turbo frequency range, but only +1 MHz above the max non-turbo frequency. This causes problems when ACPI processor driver tries to set frequency constraints. See patch 2 for more details. Pratyush Yadav (2): acpi: processor: allow fixing up the frequency for a performance state cpufreq: intel_pstate: use acpi perflib to update turbo frequency drivers/acpi/processor_perflib.c | 40 ++++++++++++++++++++++++++++++++ drivers/cpufreq/intel_pstate.c | 5 ++-- include/acpi/processor.h | 2 ++ 3 files changed, 45 insertions(+), 2 deletions(-) -- 2.38.1