Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp984859rwj; Fri, 23 Dec 2022 10:41:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXsw+tCAcj7chD/UihQ80HtttaBm/YV/HDcDCm2+vFS4HpIj/jnVR74adNIX9Gl1aXBttQlb X-Received: by 2002:a17:902:ce83:b0:189:dc9e:cef3 with SMTP id f3-20020a170902ce8300b00189dc9ecef3mr14287793plg.16.1671820896498; Fri, 23 Dec 2022 10:41:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671820896; cv=none; d=google.com; s=arc-20160816; b=ewCv8ZDfXZTJHSO9ad6q828BbMWqLt4HbhYa1k1yqBJ1jfI+P8mjNZlOAVAwOJ7mfc NHRPx8m32C3S5pqectZcPKwq+B9j7HaefhNnBLh/f6hoP+C0pghBteBITgYR5wkbFqWE VWnpXQKvQ/nyHIQ/zFllr5bXlulGUamEIRw3LsePZN3hrTp/YTUdI3haW+B6nr68PNdp qUx24G4/8BYXv6rR6WLDfjSwV9R6oGBWqbPYBSvp0XcjETY6a8xp48aXXZ+e8gBp56W7 lhLcPCFhoBsgjNlEcWhsrftTy/nYtjZuTGyP3stidsU7w7nyTjfkM2gxX1ZWTReCcvwE cBWQ== 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:date:cc:to:from:subject :message-id:dkim-signature; bh=PxSvjFMBZHym0moREKU1K8MtHFVPBRC7sLWJ2Hx3s04=; b=fcsOFgellHWc2kPN+PV4f1u3Il44wM/pYhtaTuNNIvw1R6dZKku7Ci5sY8dzUfzAwj QHyOsL1xJ3PTq3ZITIzN7E3JENmesUOB/gwXJ2PQEinymnWeDrkEsYB9iqierU+myEm2 nilQ1ybWdJ4mXEixft/IxDT+4NaDxHlbbAq/B0R9zslO8SW377XZvDkIzbvY8MD0d73o tcH3TOchwjxWWCK2UYTCNpfldAjsTIaVgn5ZQL4shnHLyhX89pIDxtA8iUDzXBsWk2h+ GQGlNzvCSkPWhmE+KJjC2NpdByiZhayT/4CLtN4i30VLTLdyNDz0mcTxsAR5etoaSwh9 C9aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BcXvmIvS; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d21-20020a170902b71500b00176c9015627si3806879pls.94.2022.12.23.10.41.28; Fri, 23 Dec 2022 10:41:36 -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=@intel.com header.s=Intel header.b=BcXvmIvS; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232845AbiLWSKi (ORCPT + 65 others); Fri, 23 Dec 2022 13:10:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231241AbiLWSKc (ORCPT ); Fri, 23 Dec 2022 13:10:32 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BB761D0FB; Fri, 23 Dec 2022 10:10:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671819028; x=1703355028; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=EHQ+fQ0PDjXdAmyvbXTIdBDCDsIgBAPhIBp4uzkZHPs=; b=BcXvmIvSWExAjiCiiu1TGxHqn8xeszlfvQ6MuUAhTDorSWiywvvsUXkC yeFSSkjOns3s5zYJIe/cfu6PGZrK5nyZnvOm67vvxhNeNu8u1TF9pDq0h xqFyhroo5clKQR2J5ix+AN0kS0jyLlAG0bKO0F5NhT4gjixQSm/G19g0E KJDWUu9jrOIhTzjQwN99HnkP8Em0GDNvYCoD0KYQND2U9dST3CF6oq239 wDwkaysVGlLsUu2f5GaE6ANyoYRr1PPqiNGo8Uo9Yz9GMJc/wHR2gWJZA zurB/LBMRMqM3klahIz0pS83Fo0/pUCiPiVDWOjFgCVobnGXdOjwWNCWy Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10570"; a="303837404" X-IronPort-AV: E=Sophos;i="5.96,269,1665471600"; d="scan'208";a="303837404" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Dec 2022 10:10:27 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10570"; a="980987420" X-IronPort-AV: E=Sophos;i="5.96,269,1665471600"; d="scan'208";a="980987420" Received: from nsbhole-mobl1.amr.corp.intel.com (HELO spandruv-desk1.amr.corp.intel.com) ([10.209.21.195]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Dec 2022 10:10:26 -0800 Message-ID: <2ed9702b67832e3e33ef352808124980206c1e95.camel@linux.intel.com> Subject: Re: [PATCH 0/2] intel_pstate: fix turbo not being used after a processor is rebooted From: srinivas pandruvada To: Pratyush Yadav Cc: linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Len Brown , Viresh Kumar , Robert Moore , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, devel@acpica.org Date: Fri, 23 Dec 2022 10:10:26 -0800 In-Reply-To: References: <20221221155203.11347-1-ptyadav@amazon.de> <72bcd14eef038ec9181d30b3d196b0a872f47ccb.camel@linux.intel.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE 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 Hi Pratyush, On Thu, 2022-12-22 at 11:39 +0100, Pratyush Yadav wrote: > > Hi Srinivas, > > On Wed, Dec 21 2022, srinivas pandruvada wrote: > > On Wed, 2022-12-21 at 16:52 +0100, Pratyush Yadav wrote: > > > 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. > > > I can reproduce on a Broadwell server platform. But not on a client system with acpi_ppc usage. Need to check what change broke this. Thanks, Srinivas > > > > Thanks, > > Srinivas > > > > > 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 > > > > > >