Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9711895rwd; Wed, 21 Jun 2023 10:47:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6j6uwbeQ19gWeTl4Nd4zIhivPXwloIgmvzEMfoovSgVZKH7yIwjCTCBuaiD1eg8mAzW2s2 X-Received: by 2002:a05:6808:4246:b0:398:2c02:20a2 with SMTP id dp6-20020a056808424600b003982c0220a2mr13217543oib.17.1687369632136; Wed, 21 Jun 2023 10:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687369632; cv=none; d=google.com; s=arc-20160816; b=0tf/ONZeZ+RJNDm6XqsBUbVXeTxXAykLVyiNMvXWz1PyxpeBhAQAxX/8r4AqaFjVdo QU0kt4aA0I01yccPeXoNvuVdu86MtH0w01lTnkR+viVyAwQ6IFwOP286XV9a+GxL3G9/ xUDHwBzsRYvu7ZTx5sv1ForNMxo4BTlcnWmlGVA6PC6o2prADGJY0xAcsgZtlbtmOFNs dgpEMasBhH5zaTQEXwMPbPpORZb5mlSxUDufWUYu63Itj6nxJdoPUSsNjpr2rKkOx26K b/eQg+ABms2r4ShVExAnm1/qabUb9Z6hlPo5eycZTF9acGLYmnVTYzoVs/TuOaB1XnQd w9kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=sZQ9EbavPTj18EWjeZo1cXhJeoZ1D5/FBWPaJJAKhDg=; b=vYqwWQRv2greav5RdBvBT4lUUvYHNXNTepZKAhj113wA2S0YTMqYTCBicm6Pcz9f3K SVkl2W2itiO82gILhzL6WAmn9kNi2ZJ7QfykVcsYfxtM0Ej3Gu1TjWBtc3QGjtwM/aAG Q8meivwMulJyOYgIv0Ro8P8+sXUUL3Whwwm0s/bn4r0Zi0V4A5Q3r4VwBnsIdDUX335o 8/4NCn5B6DyZ2Y1cuKFkfkwWUDJaubBFZ0M0ewz2YbnCK/gso586YRvmMwDCF3yymwRa e4S71AoBj70vPxUkTEGcm9zdgmcNlAlf02ksF5usn/+j5lAngBJQcFUk3OOSicnmrz/y 5S9Q== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t30-20020a63b25e000000b00545a181d157si4451712pgo.51.2023.06.21.10.46.52; Wed, 21 Jun 2023 10:47:12 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230363AbjFURiR convert rfc822-to-8bit (ORCPT + 99 others); Wed, 21 Jun 2023 13:38:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229657AbjFURiQ (ORCPT ); Wed, 21 Jun 2023 13:38:16 -0400 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DAC2F1; Wed, 21 Jun 2023 10:38:15 -0700 (PDT) Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-94ea38c90ccso180573366b.1; Wed, 21 Jun 2023 10:38:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687369094; x=1689961094; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=17zx2MlePPMg0vLEZ3N7mfSj+vherVFzEhZFZJa0v8I=; b=TOyaRRYjE1A37slgt+fSZ39QAttnMka4QXqxi3ZMNwE7gKHqMky592GHGwqshN2jC/ GhpOQ2L/nCPbrvl8rgZrpTxqzLd7NaO34EHpYPDcgcLi3E91bN/Ihb3Md8yLIVZklG7L AdhVeCE1xqHc8rHMvyvsLrJTW+9k3Q+RsL8MMFxzRCMXrHd9hr+fC6hITaNyNxDLKgpQ xV4sW2Rkz5uZPUZNlQu1XscdIOf6WHHdPM6ykwcSjtwKWK4H7SlNYFqR1jSq+s8f1xdf yWXW4s6FMfK1r/QVlRrqo7iRSekwZ4OPj2geJF6UKnMR0uf8g/B7TlQS2YTmDRbZMOqn YCTA== X-Gm-Message-State: AC+VfDwdt+LEPnrkm40/FUpCaOGsvQgy2tWzZglk721Y3OO8Y8c1DwS5 pQ+kEZ5MACA0Pk6PQ+9Zt2MZ7vluRpSMdtBZpEqQchqJ X-Received: by 2002:a17:906:64cc:b0:987:115d:ba06 with SMTP id p12-20020a17090664cc00b00987115dba06mr11378234ejn.4.1687369093768; Wed, 21 Jun 2023 10:38:13 -0700 (PDT) MIME-Version: 1.0 References: <20230620172433.21325-1-mario.limonciello@amd.com> In-Reply-To: <20230620172433.21325-1-mario.limonciello@amd.com> From: "Rafael J. Wysocki" Date: Wed, 21 Jun 2023 19:38:02 +0200 Message-ID: Subject: Re: [PATCH v3 0/3] Enable amd-pstate active mode by default To: Mario Limonciello Cc: "Rafael J . Wysocki" , Len Brown , Huang Rui , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Gautham Ranjal Shenoy , Wyes Karny , Perry Yuan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Tue, Jun 20, 2023 at 7:27 PM Mario Limonciello wrote: > > Active mode for amd-pstate has shown enough success now that it makes sense > to enable it by default on client systems. > > This series introduces a new kernel configuration option to set the default > policy for amd-pstate modes for a kernel. > > Server systems will by identified by the PM preferred profile and still be > set as disabled by default for now. > > v2->v3: > * Drop patch 4; Intel intentionally doesn't want intel-pstate on SOHO > server > * Move symbols from patch 1 into patch 2 > * Add tags > Mario Limonciello (3): > ACPI: CPPC: Add definition for undefined FADT preferred PM profile > value > cpufreq: amd-pstate: Set a fallback policy based on preferred_profile > cpufreq: amd-pstate: Add a kernel config option to set default mode > > drivers/cpufreq/Kconfig.x86 | 17 ++++++ > drivers/cpufreq/amd-pstate.c | 101 +++++++++++++++++++++++++---------- > include/acpi/actbl.h | 3 +- > include/linux/amd-pstate.h | 4 +- > 4 files changed, 96 insertions(+), 29 deletions(-) > > -- All applied as 6.5 material, thanks!