Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp778449rwj; Thu, 22 Dec 2022 14:59:32 -0800 (PST) X-Google-Smtp-Source: AMrXdXscfG+xcZDRoZ4YKJecxlI7FWvlAoYSHKiDxsHKPlESho1h8c0WbysZeTGT9hpmBw6jaQEP X-Received: by 2002:a17:907:a809:b0:7c1:5467:39af with SMTP id vo9-20020a170907a80900b007c1546739afmr6916466ejc.37.1671749972348; Thu, 22 Dec 2022 14:59:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671749972; cv=none; d=google.com; s=arc-20160816; b=nUfbTUc5jr5YegveIj54FlOXNutt2eCQjbNejgbm2i1SU2r4lqE+WCulfn9et1Obck ZGwEKp42vkEwFHQ/Ttnn2bN3YZ6REmE/DSxz8U1xyuhAYs3GyxcmRTVig4gDVJBshos/ C9rk+5gvo9XlEx6kd1O5plOxH8CDX3Nh1ww1CwKFng0NfnD7h2RcQzP9XZoVPovtanvA 6PKNylZfRFc7WYVG3uL8CK1pcPFLOV9XD4xrHZw2jrPfZNLWiM7GWe6jyEBk/2A+vv/s EHPXI7qoI3EFWHkpnHrHKknn8k2DwwWH1dSxLZGrY03HzIinccFmMmKSFPcRIBsQRCj6 XYbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=UwKdVjpYLkRqGESN/NcUvn6sDkhajOztv9Cw8D+KxY4=; b=OAnfxSGNx7bCMGcikxU+nqei0w01sESu0arGWAai8GOO4rU/OBh9NJKum09CKIIzZ9 joHDRxZGhXBnvZ5QtvwJGzbBGUXTxRuzKvvalwwSuSxDqQ7vBrP9J/r2k3QApjj34J7C xBkYZTGA0lasawdOtYchNnFFNvwok4DW2UUif0dbxmvZ0jPPIJu2mz+fAG7eedonAVJb vSqEmPFypNiYvSZc8RDfDlv9gJeua7lxPM8R/wapIzX1ctxFkO/rOU2+PkyEFrVDlzAC ODOLkMbNMN+HT4QO/sFQeaL2W32th1cbNxlGSqBZjSsxHkJYYrwTFNB+AtJeGtdor+DZ Zvng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=Fv4eeOfs; 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 xh9-20020a170906da8900b007ae8b1704b9si1296431ejb.406.2022.12.22.14.59.16; Thu, 22 Dec 2022 14:59:32 -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=Fv4eeOfs; 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 S235701AbiLVWSS (ORCPT + 68 others); Thu, 22 Dec 2022 17:18:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230116AbiLVWSP (ORCPT ); Thu, 22 Dec 2022 17:18:15 -0500 Received: from smtp-fw-33001.amazon.com (smtp-fw-33001.amazon.com [207.171.190.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C9862666; Thu, 22 Dec 2022 14:18:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1671747494; x=1703283494; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version; bh=UwKdVjpYLkRqGESN/NcUvn6sDkhajOztv9Cw8D+KxY4=; b=Fv4eeOfs891uuujrf+t+KVo5G8Xs2yDTt/EHFiyEnbjW6JgZ4R2rlCzx n/fzVpmPDI595tFmldDC7gnBGheKY+OKalwZ2AcI2vsFD/zEPe7+60cjw cL9M+ndcitTIAKTaaJI0+O3eqJDUUZR8PH+5A5pIPPtdgBxZXafGAUF53 A=; X-IronPort-AV: E=Sophos;i="5.96,266,1665446400"; d="scan'208";a="250387884" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-pdx-2a-m6i4x-1cca8d67.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-33001.sea14.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2022 22:18:07 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2a-m6i4x-1cca8d67.us-west-2.amazon.com (Postfix) with ESMTPS id 431A482186; Thu, 22 Dec 2022 22:18:06 +0000 (UTC) Received: from EX13D34UEA003.ant.amazon.com (10.43.61.16) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 22 Dec 2022 22:18:06 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX13D34UEA003.ant.amazon.com (10.43.61.16) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 22 Dec 2022 22:18:05 +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; Thu, 22 Dec 2022 22:18:05 +0000 Received: by dev-dsk-ptyadav-1c-37607b33.eu-west-1.amazon.com (Postfix, from userid 23027615) id 5DACF20D15; Thu, 22 Dec 2022 23:18:04 +0100 (CET) From: Pratyush Yadav To: "Rafael J. Wysocki" CC: , Len Brown , "Srinivas Pandruvada" , Viresh Kumar , Robert Moore , , , Subject: Re: [PATCH 1/2] acpi: processor: allow fixing up the frequency for a performance state References: <20221221155203.11347-1-ptyadav@amazon.de> <20221221155203.11347-2-ptyadav@amazon.de> Date: Thu, 22 Dec 2022 23:18:04 +0100 In-Reply-To: (Rafael J. Wysocki's message of "Thu, 22 Dec 2022 17:23:41 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,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 On Thu, Dec 22 2022, Rafael J. Wysocki wrote: > On Wed, Dec 21, 2022 at 4:52 PM Pratyush Yadav wrote: >> >> In some cases the ACPI table can have an incorrect frequency populated >> for a performance state. For example, in Intel platforms, the Turbo >> frequency is just listed as +1 MHz above the max non-turbo frequency. > > Which is a known convention based on compatibility with some older OSes. Interesting. I did not know that. > >> The frequency can actually go much higher based on various factors like >> temperature, voltage, etc. > > It can. > >> Allow drivers like intel_pstate to fix up performance state frequencies >> with the actual maximum value. > > Why do you want to do that? To be able to use my processors at the full frequency they are capable of. See [0] for more details. [0] https://lore.kernel.org/linux-pm/mafs0k02jd8oh.fsf_-_@dev-dsk-ptyadav-1c-37607b33.eu-west-1.amazon.com/ > [...] -- Regards, Pratyush Yadav Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879