Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7597940rwd; Tue, 20 Jun 2023 03:41:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4STadNzhjw0uDWf+jjer+sxge49+covKs6Fg56VbfpQI56zjtvHbZhKvNyWKqyTOnI69gu X-Received: by 2002:a05:6a20:7346:b0:100:15c4:23af with SMTP id v6-20020a056a20734600b0010015c423afmr3192279pzc.60.1687257716902; Tue, 20 Jun 2023 03:41:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687257716; cv=none; d=google.com; s=arc-20160816; b=LlGXvQfCdGV2tl3GGqIy+IEEyo/g4mBvnxB83kNeyn0Dp+xUPEuXpESxc9Hx4Jgrxy NVJT2ylegPBRJwyazB5WwVz7WDt3K1Mnqw5kfIMTuSqlFZ06+W+vP95e3Le0ZD8Vyrxt y7/uGIyPe1zQtyeXq43R3xs/GSPQvrKuQc1M3HUKvGdMfGeLMyopcnAeZcNjoMAs7vzo i34g8o6Iw0TKDJ5i9Ci2Q3KaUZ5IzBZQ4Q23hp0TZ5QxR9egf00CLHsz9KDN1ee+N03Z MYzzoH6GA5+DSrJJmSQLFXUkf35RlZOmPZcQyGrKNUZROpCVMuunm3S3mLl1mjkCz3gi AruA== 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=9JvOQIXFa21cEjCpuD+2linn4Vk84efG8JvBv7zrULM=; b=Djo57E3WMGuOg/Zod5ScLnWJPptkRUB8gUQHPqnGZqE8Z+a135E98XTwSYi2MRBq4+ /BiEFe4fpmXBjOTpLrT3yirWygBaf45MWQWL2kPKv62bY2Pe9BOcU7J9e4w/RllTmfyH ztybK+bzhE0Ngw+5oZptnzZ758+igCCJTiadfvyOd+ATCgPjXl0RhzJqzIVYD8ZSi/UD HTlsM5OiEaeDin6IJkp3u8Q0CUQ7Eq03eSxGBhjb76dwvF1tX8VBqxW6cutW9AbwK3VS P+b8tn02FpdiWYvLs7u3GsiYqWuldQzCQihjrTAnlYbYBMGxEoF5nwUwstJOPas9J0OD gpQQ== 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 c2-20020a170902d90200b001aafb271d13si1593219plz.235.2023.06.20.03.41.42; Tue, 20 Jun 2023 03:41:56 -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 S231465AbjFTKT5 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 20 Jun 2023 06:19:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229731AbjFTKTy (ORCPT ); Tue, 20 Jun 2023 06:19:54 -0400 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC38CA2; Tue, 20 Jun 2023 03:19:53 -0700 (PDT) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-98273ae42d0so143882266b.0; Tue, 20 Jun 2023 03:19:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687256392; x=1689848392; 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=KZUCH9LTrRvHBUjWoUivrfovuP0Wd096/5/MmH/TQL8=; b=eLuz4UIOmmij43ihld2YnBT3tV2Pxs0CQcZsv6MTd9X63R+JRAVyfovS5+tyIcg1CM gvFaWrej0X4oklXzoe26ntM/3LJq5Do+KA/Ni8TNSA6gtk+rYvaR5xpSpqY94atcT8A+ bKZUdkHfTCtj+W8lUB7hlNZTu1agzWgkOSQgcN9fH9CpVKi9wnUhCR+UHXdQaRUYdTy/ W5LnS9Dvf+kiAoA4PkkTpOqf7HijrqZq9xpRJQ/FdhZ/JjaGga8eWf5YWZ1xXLWrb0tB YoifPHtMY/5u7uoXlbHYyakHxLIdGn5OBFhJRE1tGfcvq8DFQfSMRmBF+cx2mU2PlILQ 2Frw== X-Gm-Message-State: AC+VfDz1upcOKTbBKzOPIqOMtAHDInYM3EoIasAyGQ512NcxHgiafk1Z FUgR8pqj87D8VQSgVm4gm16jbfO9dCZ2/ZNbv50= X-Received: by 2002:a17:906:151:b0:988:3a6d:fb80 with SMTP id 17-20020a170906015100b009883a6dfb80mr6801815ejh.1.1687256392277; Tue, 20 Jun 2023 03:19:52 -0700 (PDT) MIME-Version: 1.0 References: <20230612030321.3097627-1-perry.yuan@amd.com> In-Reply-To: <20230612030321.3097627-1-perry.yuan@amd.com> From: "Rafael J. Wysocki" Date: Tue, 20 Jun 2023 12:19:35 +0200 Message-ID: Subject: Re: [PATCH v2] cpufreq: amd-pstate: Set default governor to schedutil To: Perry Yuan Cc: rafael.j.wysocki@intel.com, viresh.kumar@linaro.org, Ray.Huang@amd.com, Mario.Limonciello@amd.com, Deepak.Sharma@amd.com, Wyes.Karny@amd.com, gautham.shenoy@amd.com, Sunpeng.Li@amd.com, Xinmei.Huang@amd.com, Xiaojian.Du@amd.com, Li.Meng@amd.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org 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_H2,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 Mon, Jun 12, 2023 at 5:04 AM Perry Yuan wrote: > > From: Mario Limonciello > > The Kconfig currently defaults the governor to schedutil on x86_64 > only when intel-pstate and SMP have been selected. > > If the kernel is built only with amd-pstate, the default governor > should also be schedutil. > > Cc: Sun Peng (Leo) Li > Signed-off-by: Mario Limonciello > Reviewed-by: Leo Li > Acked-by: Huang Rui > Tested-by: Perry Yuan > --- > drivers/cpufreq/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig > index 2c839bd2b051..a1c51abddbc5 100644 > --- a/drivers/cpufreq/Kconfig > +++ b/drivers/cpufreq/Kconfig > @@ -38,7 +38,7 @@ choice > prompt "Default CPUFreq governor" > default CPU_FREQ_DEFAULT_GOV_USERSPACE if ARM_SA1110_CPUFREQ > default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if ARM64 || ARM > - default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if X86_INTEL_PSTATE && SMP > + default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if (X86_INTEL_PSTATE || X86_AMD_PSTATE) && SMP > default CPU_FREQ_DEFAULT_GOV_PERFORMANCE > help > This option sets which CPUFreq governor shall be loaded at > -- Applied as 6.5 material, thanks!