* [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements
@ 2024-06-19 15:40 Perry Yuan
2024-06-19 15:40 ` [PATCH v5 1/8] cpufreq: amd-pstate: optimize the initial frequency values verification Perry Yuan
` (8 more replies)
0 siblings, 9 replies; 12+ messages in thread
From: Perry Yuan @ 2024-06-19 15:40 UTC (permalink / raw)
To: Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, gautham.shenoy, Alexander.Deucher,
Xinmei.Huang, Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
Hello everyone,
This patchset addresses critical issues and enhances performance settings for CPUs
with heterogeneous core types in the AMD pstate driver.
Specifically, it resolves problems related to calculating the highest performance
and frequency on the latest CPUs with preferred cores.
Additionally, the patchset includes documentation improvements in amd-pstate.rst,
offering a comprehensive guide covering topics such as recommended reboot requirements
during driver switching, debugging procedures for driver loading failures.
Your feedback and suggestions for improvement are highly appreciated.
Please review the patches and provide your valuable input.
Thank you.
Best regards,
Perry.
Changes from V4:
* pick all the RB by and ACk by flags from Mario
* fix typo for patch #10 in the commit log
* improve the commit log for shared memory in patch #11
* drop hetero core type patches into another patchset
* drop debugging section patch for amd-pstate.rst
Changes from V3:
* add one new patch to enable shared memory type CPPC by default
* pick all the RB by and ACk by flags from Mario and Gautham
* update the patch #7 PPR link with doc id (Boris & Mario)
* fix the highest perf initialization issue with preferred core check
for patch #9 (Gautham)
* rework return core type and commit log for the patch #9 (Mario)
* address feedback for patch #5 for the debugging suggestions.(Mario)
* retest the patches on MSR and shared memory type CPPC systems, no regression seen.
Changes from V2:
* pick review by and ack by flags from Mario and Gautham
* rebase to latest linux-pm bleeding edge branch
* fix driver loading block issue for patch 4, make sure the warning will
not abort the driver loading in case there are some new family/model id.
* fix the driver loading sequence issue for patch 10, it allows command line
and kernel config option together. command line will override kconfig option.
* add back the AMD CPUs with Family ID 19H and Model ID range 0x70 to 0x7f to return
the highest perf and check others CPU core type in the following codes.
* run some testing on the local system.
* move the amd_core_type to amd-pstate.c because of the amd-pstate.h was removed lately.
Changes from V1:
* drop patch 11 which has been merged in a separate patch. (Mario)
* fix some typos in commit log and tile (Mario)
* fix the patch 11 regression issue of kernel command line (Oleksandr Natalenko)
* pick ack flag for patch 7 (Mario)
* drop patch 4 which is not recommended for user(Mario)
* rebase to linux-pm/bleeding-edge branch
* fix some build warning
* rework the patch 3 for CPU ID matching(Mario)
* address feedback for patch 5 (Mario)
* move the acpi pm profile after got default mode(Mario)
Perry Yuan (8):
cpufreq: amd-pstate: optimize the initial frequency values
verification
cpufreq: amd-pstate: remove unused variable nominal_freq
cpufreq: amd-pstate: show CPPC debug message if CPPC is not supported
cpufreq: amd-pstate: add debug message while CPPC is supported and
disabled by SBIOS
Documentation: PM: amd-pstate: add guided mode to the Operation mode
cpufreq: amd-pstate: switch boot_cpu_has() to cpu_feature_enabled()
cpufreq: amd-pstate: enable shared memory type CPPC by default
cpufreq: amd-pstate: auto-load pstate driver by default
Documentation/admin-guide/pm/amd-pstate.rst | 2 +-
drivers/cpufreq/amd-pstate.c | 145 +++++++++++++-------
2 files changed, 95 insertions(+), 52 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v5 1/8] cpufreq: amd-pstate: optimize the initial frequency values verification
2024-06-19 15:40 [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Perry Yuan
@ 2024-06-19 15:40 ` Perry Yuan
2024-06-19 15:40 ` [PATCH v5 2/8] cpufreq: amd-pstate: remove unused variable nominal_freq Perry Yuan
` (7 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Perry Yuan @ 2024-06-19 15:40 UTC (permalink / raw)
To: Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, gautham.shenoy, Alexander.Deucher,
Xinmei.Huang, Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
To enhance the debugging capability of the driver loading failure for
broken CPPC ACPI tables, it can optimize the expression by moving the
verification of `min_freq`, `nominal_freq`, and other dependency values
to the `amd_pstate_init_freq()` function where they are initialized.
If any of these values are incorrect, the `amd-pstate` driver will not be registered.
By ensuring that these values are correct before they are used, it will facilitate
the debugging process when encountering driver loading failures due to faulty CPPC
ACPI tables from BIOS
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Acked-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
---
drivers/cpufreq/amd-pstate.c | 35 ++++++++++++++++++-----------------
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 5bdcdd3ea163..d4d7b7cdc4eb 100644
--- a/drivers/cpufreq/amd-pstate.c
+++ b/drivers/cpufreq/amd-pstate.c
@@ -924,6 +924,24 @@ static int amd_pstate_init_freq(struct amd_cpudata *cpudata)
WRITE_ONCE(cpudata->nominal_freq, nominal_freq);
WRITE_ONCE(cpudata->max_freq, max_freq);
+ /**
+ * Below values need to be initialized correctly, otherwise driver will fail to load
+ * max_freq is calculated according to (nominal_freq * highest_perf)/nominal_perf
+ * lowest_nonlinear_freq is a value between [min_freq, nominal_freq]
+ * Check _CPC in ACPI table objects if any values are incorrect
+ */
+ if (min_freq <= 0 || max_freq <= 0 || nominal_freq <= 0 || min_freq > max_freq) {
+ pr_err("min_freq(%d) or max_freq(%d) or nominal_freq(%d) value is incorrect\n",
+ min_freq, max_freq, nominal_freq * 1000);
+ return -EINVAL;
+ }
+
+ if (lowest_nonlinear_freq <= min_freq || lowest_nonlinear_freq > nominal_freq * 1000) {
+ pr_err("lowest_nonlinear_freq(%d) value is out of range [min_freq(%d), nominal_freq(%d)]\n",
+ lowest_nonlinear_freq, min_freq, nominal_freq * 1000);
+ return -EINVAL;
+ }
+
return 0;
}
@@ -962,15 +980,6 @@ static int amd_pstate_cpu_init(struct cpufreq_policy *policy)
max_freq = READ_ONCE(cpudata->max_freq);
nominal_freq = READ_ONCE(cpudata->nominal_freq);
- if (min_freq <= 0 || max_freq <= 0 ||
- nominal_freq <= 0 || min_freq > max_freq) {
- dev_err(dev,
- "min_freq(%d) or max_freq(%d) or nominal_freq (%d) value is incorrect, check _CPC in ACPI tables\n",
- min_freq, max_freq, nominal_freq);
- ret = -EINVAL;
- goto free_cpudata1;
- }
-
policy->cpuinfo.transition_latency = amd_pstate_get_transition_latency(policy->cpu);
policy->transition_delay_us = amd_pstate_get_transition_delay_us(policy->cpu);
@@ -1423,14 +1432,6 @@ static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy)
min_freq = READ_ONCE(cpudata->min_freq);
max_freq = READ_ONCE(cpudata->max_freq);
nominal_freq = READ_ONCE(cpudata->nominal_freq);
- if (min_freq <= 0 || max_freq <= 0 ||
- nominal_freq <= 0 || min_freq > max_freq) {
- dev_err(dev,
- "min_freq(%d) or max_freq(%d) or nominal_freq(%d) value is incorrect, check _CPC in ACPI tables\n",
- min_freq, max_freq, nominal_freq);
- ret = -EINVAL;
- goto free_cpudata1;
- }
policy->cpuinfo.min_freq = min_freq;
policy->cpuinfo.max_freq = max_freq;
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v5 2/8] cpufreq: amd-pstate: remove unused variable nominal_freq
2024-06-19 15:40 [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Perry Yuan
2024-06-19 15:40 ` [PATCH v5 1/8] cpufreq: amd-pstate: optimize the initial frequency values verification Perry Yuan
@ 2024-06-19 15:40 ` Perry Yuan
2024-06-19 15:40 ` [PATCH v5 3/8] cpufreq: amd-pstate: show CPPC debug message if CPPC is not supported Perry Yuan
` (6 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Perry Yuan @ 2024-06-19 15:40 UTC (permalink / raw)
To: Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, gautham.shenoy, Alexander.Deucher,
Xinmei.Huang, Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
removed the unused variable `nominal_freq` for build warning.
This variable was defined and assigned a value in the previous code,
but it was not used in the subsequent code.
Closes: https://lore.kernel.org/oe-kbuild-all/202405080431.BPU6Yg9s-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
---
drivers/cpufreq/amd-pstate.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index d4d7b7cdc4eb..1ce063a22214 100644
--- a/drivers/cpufreq/amd-pstate.c
+++ b/drivers/cpufreq/amd-pstate.c
@@ -947,7 +947,7 @@ static int amd_pstate_init_freq(struct amd_cpudata *cpudata)
static int amd_pstate_cpu_init(struct cpufreq_policy *policy)
{
- int min_freq, max_freq, nominal_freq, ret;
+ int min_freq, max_freq, ret;
struct device *dev;
struct amd_cpudata *cpudata;
@@ -978,7 +978,6 @@ static int amd_pstate_cpu_init(struct cpufreq_policy *policy)
min_freq = READ_ONCE(cpudata->min_freq);
max_freq = READ_ONCE(cpudata->max_freq);
- nominal_freq = READ_ONCE(cpudata->nominal_freq);
policy->cpuinfo.transition_latency = amd_pstate_get_transition_latency(policy->cpu);
policy->transition_delay_us = amd_pstate_get_transition_delay_us(policy->cpu);
@@ -1398,7 +1397,7 @@ static bool amd_pstate_acpi_pm_profile_undefined(void)
static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy)
{
- int min_freq, max_freq, nominal_freq, ret;
+ int min_freq, max_freq, ret;
struct amd_cpudata *cpudata;
struct device *dev;
u64 value;
@@ -1431,7 +1430,6 @@ static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy)
min_freq = READ_ONCE(cpudata->min_freq);
max_freq = READ_ONCE(cpudata->max_freq);
- nominal_freq = READ_ONCE(cpudata->nominal_freq);
policy->cpuinfo.min_freq = min_freq;
policy->cpuinfo.max_freq = max_freq;
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v5 3/8] cpufreq: amd-pstate: show CPPC debug message if CPPC is not supported
2024-06-19 15:40 [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Perry Yuan
2024-06-19 15:40 ` [PATCH v5 1/8] cpufreq: amd-pstate: optimize the initial frequency values verification Perry Yuan
2024-06-19 15:40 ` [PATCH v5 2/8] cpufreq: amd-pstate: remove unused variable nominal_freq Perry Yuan
@ 2024-06-19 15:40 ` Perry Yuan
2024-06-19 15:40 ` [PATCH v5 4/8] cpufreq: amd-pstate: add debug message while CPPC is supported and disabled by SBIOS Perry Yuan
` (5 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Perry Yuan @ 2024-06-19 15:40 UTC (permalink / raw)
To: Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, gautham.shenoy, Alexander.Deucher,
Xinmei.Huang, Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
Add CPU ID checking in case the driver attempt to load on systems where
CPPC functionality is unavailable. And the warning message will not
be shown if CPPC is not supported.
It will also print debug message if the CPU has no CPPC support that
helps to debug the driver loading failure issue.
Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Closes: https://lore.kernel.org/linux-pm/CYYPR12MB8655D32EA18574C9497E888A9C122@CYYPR12MB8655.namprd12.prod.outlook.com/T/#t
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
---
drivers/cpufreq/amd-pstate.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 1ce063a22214..76419762c04f 100644
--- a/drivers/cpufreq/amd-pstate.c
+++ b/drivers/cpufreq/amd-pstate.c
@@ -1743,6 +1743,20 @@ static int __init amd_pstate_set_driver(int mode_idx)
return -EINVAL;
}
+/**
+ * CPPC function is not supported for family ID 17H with model_ID ranging from 0x10 to 0x2F.
+ * show the debug message that helps to check if the CPU has CPPC support for loading issue.
+ */
+static bool amd_cppc_supported(void)
+{
+ if ((boot_cpu_data.x86 == 0x17) && (boot_cpu_data.x86_model < 0x30)) {
+ pr_debug_once("CPPC feature is not supported by the processor\n");
+ return false;
+ }
+
+ return true;
+}
+
static int __init amd_pstate_init(void)
{
struct device *dev_root;
@@ -1751,6 +1765,11 @@ static int __init amd_pstate_init(void)
if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD)
return -ENODEV;
+ /* show debug message only if CPPC is not supported */
+ if (!amd_cppc_supported())
+ return -EOPNOTSUPP;
+
+ /* show warning message when BIOS broken or ACPI disabled */
if (!acpi_cpc_valid()) {
pr_warn_once("the _CPC object is not present in SBIOS or ACPI disabled\n");
return -ENODEV;
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v5 4/8] cpufreq: amd-pstate: add debug message while CPPC is supported and disabled by SBIOS
2024-06-19 15:40 [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Perry Yuan
` (2 preceding siblings ...)
2024-06-19 15:40 ` [PATCH v5 3/8] cpufreq: amd-pstate: show CPPC debug message if CPPC is not supported Perry Yuan
@ 2024-06-19 15:40 ` Perry Yuan
2024-06-19 15:40 ` [PATCH v5 5/8] Documentation: PM: amd-pstate: add guided mode to the Operation mode Perry Yuan
` (4 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Perry Yuan @ 2024-06-19 15:40 UTC (permalink / raw)
To: Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, gautham.shenoy, Alexander.Deucher,
Xinmei.Huang, Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
If CPPC feature is supported by the CPU however the CPUID flag bit is not
set by SBIOS, the `amd_pstate` will be failed to load while system
booting.
So adding one more debug message to inform user to check the SBIOS setting,
The change also can help maintainers to debug why amd_pstate driver failed
to be loaded at system booting if the processor support CPPC.
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218686
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
---
drivers/cpufreq/amd-pstate.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 76419762c04f..9aa220a0e3fe 100644
--- a/drivers/cpufreq/amd-pstate.c
+++ b/drivers/cpufreq/amd-pstate.c
@@ -1749,11 +1749,37 @@ static int __init amd_pstate_set_driver(int mode_idx)
*/
static bool amd_cppc_supported(void)
{
+ struct cpuinfo_x86 *c = &cpu_data(0);
+ bool warn = false;
+
if ((boot_cpu_data.x86 == 0x17) && (boot_cpu_data.x86_model < 0x30)) {
pr_debug_once("CPPC feature is not supported by the processor\n");
return false;
}
+ /*
+ * If the CPPC feature is disabled in the BIOS for processors that support MSR-based CPPC,
+ * the AMD Pstate driver may not function correctly.
+ * Check the CPPC flag and display a warning message if the platform supports CPPC.
+ * Note: below checking code will not abort the driver registeration process because of
+ * the code is added for debugging purposes.
+ */
+ if (!cpu_feature_enabled(X86_FEATURE_CPPC)) {
+ if (cpu_feature_enabled(X86_FEATURE_ZEN1) || cpu_feature_enabled(X86_FEATURE_ZEN2)) {
+ if (c->x86_model > 0x60 && c->x86_model < 0xaf)
+ warn = true;
+ } else if (cpu_feature_enabled(X86_FEATURE_ZEN3) || cpu_feature_enabled(X86_FEATURE_ZEN4)) {
+ if ((c->x86_model > 0x10 && c->x86_model < 0x1F) ||
+ (c->x86_model > 0x40 && c->x86_model < 0xaf))
+ warn = true;
+ } else if (cpu_feature_enabled(X86_FEATURE_ZEN5)) {
+ warn = true;
+ }
+ }
+
+ if (warn)
+ pr_warn_once("The CPPC feature is supported but currently disabled by the BIOS.\n"
+ "Please enable it if your BIOS has the CPPC option.\n");
return true;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v5 5/8] Documentation: PM: amd-pstate: add guided mode to the Operation mode
2024-06-19 15:40 [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Perry Yuan
` (3 preceding siblings ...)
2024-06-19 15:40 ` [PATCH v5 4/8] cpufreq: amd-pstate: add debug message while CPPC is supported and disabled by SBIOS Perry Yuan
@ 2024-06-19 15:40 ` Perry Yuan
2024-06-19 15:40 ` [PATCH v5 6/8] cpufreq: amd-pstate: switch boot_cpu_has() to cpu_feature_enabled() Perry Yuan
` (3 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Perry Yuan @ 2024-06-19 15:40 UTC (permalink / raw)
To: Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, gautham.shenoy, Alexander.Deucher,
Xinmei.Huang, Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
the guided mode is also supported, so the operation mode should include
that mode as well.
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
---
Documentation/admin-guide/pm/amd-pstate.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/pm/amd-pstate.rst b/Documentation/admin-guide/pm/amd-pstate.rst
index 1e0d101b020a..f5ee81419a93 100644
--- a/Documentation/admin-guide/pm/amd-pstate.rst
+++ b/Documentation/admin-guide/pm/amd-pstate.rst
@@ -406,7 +406,7 @@ control its functionality at the system level. They are located in the
``/sys/devices/system/cpu/amd_pstate/`` directory and affect all CPUs.
``status``
- Operation mode of the driver: "active", "passive" or "disable".
+ Operation mode of the driver: "active", "passive", "guided" or "disable".
"active"
The driver is functional and in the ``active mode``
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v5 6/8] cpufreq: amd-pstate: switch boot_cpu_has() to cpu_feature_enabled()
2024-06-19 15:40 [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Perry Yuan
` (4 preceding siblings ...)
2024-06-19 15:40 ` [PATCH v5 5/8] Documentation: PM: amd-pstate: add guided mode to the Operation mode Perry Yuan
@ 2024-06-19 15:40 ` Perry Yuan
2024-06-19 15:40 ` [PATCH v5 7/8] cpufreq: amd-pstate: enable shared memory type CPPC by default Perry Yuan
` (2 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Perry Yuan @ 2024-06-19 15:40 UTC (permalink / raw)
To: Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, gautham.shenoy, Alexander.Deucher,
Xinmei.Huang, Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
replace the usage of the deprecated boot_cpu_has() function with
the modern cpu_feature_enabled() function. The switch to cpu_feature_enabled()
ensures compatibility with the latest CPU feature detection mechanisms and
improves code maintainability.
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
Suggested-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
---
drivers/cpufreq/amd-pstate.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 9aa220a0e3fe..cb750ef305fe 100644
--- a/drivers/cpufreq/amd-pstate.c
+++ b/drivers/cpufreq/amd-pstate.c
@@ -158,7 +158,7 @@ static int __init dmi_matched_7k62_bios_bug(const struct dmi_system_id *dmi)
* broken BIOS lack of nominal_freq and lowest_freq capabilities
* definition in ACPI tables
*/
- if (boot_cpu_has(X86_FEATURE_ZEN2)) {
+ if (cpu_feature_enabled(X86_FEATURE_ZEN2)) {
quirks = dmi->driver_data;
pr_info("Overriding nominal and lowest frequencies for %s\n", dmi->ident);
return 1;
@@ -200,7 +200,7 @@ static s16 amd_pstate_get_epp(struct amd_cpudata *cpudata, u64 cppc_req_cached)
u64 epp;
int ret;
- if (boot_cpu_has(X86_FEATURE_CPPC)) {
+ if (cpu_feature_enabled(X86_FEATURE_CPPC)) {
if (!cppc_req_cached) {
epp = rdmsrl_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ,
&cppc_req_cached);
@@ -253,7 +253,7 @@ static int amd_pstate_set_epp(struct amd_cpudata *cpudata, u32 epp)
int ret;
struct cppc_perf_ctrls perf_ctrls;
- if (boot_cpu_has(X86_FEATURE_CPPC)) {
+ if (cpu_feature_enabled(X86_FEATURE_CPPC)) {
u64 value = READ_ONCE(cpudata->cppc_req_cached);
value &= ~GENMASK_ULL(31, 24);
@@ -752,7 +752,7 @@ static int amd_pstate_get_highest_perf(int cpu, u32 *highest_perf)
{
int ret;
- if (boot_cpu_has(X86_FEATURE_CPPC)) {
+ if (cpu_feature_enabled(X86_FEATURE_CPPC)) {
u64 cap1;
ret = rdmsrl_safe_on_cpu(cpu, MSR_AMD_CPPC_CAP1, &cap1);
@@ -991,7 +991,7 @@ static int amd_pstate_cpu_init(struct cpufreq_policy *policy)
/* It will be updated by governor */
policy->cur = policy->cpuinfo.min_freq;
- if (boot_cpu_has(X86_FEATURE_CPPC))
+ if (cpu_feature_enabled(X86_FEATURE_CPPC))
policy->fast_switch_possible = true;
ret = freq_qos_add_request(&policy->constraints, &cpudata->req[0],
@@ -1224,7 +1224,7 @@ static int amd_pstate_change_mode_without_dvr_change(int mode)
cppc_state = mode;
- if (boot_cpu_has(X86_FEATURE_CPPC) || cppc_state == AMD_PSTATE_ACTIVE)
+ if (cpu_feature_enabled(X86_FEATURE_CPPC) || cppc_state == AMD_PSTATE_ACTIVE)
return 0;
for_each_present_cpu(cpu) {
@@ -1453,7 +1453,7 @@ static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy)
else
policy->policy = CPUFREQ_POLICY_POWERSAVE;
- if (boot_cpu_has(X86_FEATURE_CPPC)) {
+ if (cpu_feature_enabled(X86_FEATURE_CPPC)) {
ret = rdmsrl_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ, &value);
if (ret)
return ret;
@@ -1543,7 +1543,7 @@ static void amd_pstate_epp_update_limit(struct cpufreq_policy *policy)
epp = 0;
/* Set initial EPP value */
- if (boot_cpu_has(X86_FEATURE_CPPC)) {
+ if (cpu_feature_enabled(X86_FEATURE_CPPC)) {
value &= ~GENMASK_ULL(31, 24);
value |= (u64)epp << 24;
}
@@ -1582,7 +1582,7 @@ static void amd_pstate_epp_reenable(struct amd_cpudata *cpudata)
value = READ_ONCE(cpudata->cppc_req_cached);
max_perf = READ_ONCE(cpudata->highest_perf);
- if (boot_cpu_has(X86_FEATURE_CPPC)) {
+ if (cpu_feature_enabled(X86_FEATURE_CPPC)) {
wrmsrl_on_cpu(cpudata->cpu, MSR_AMD_CPPC_REQ, value);
} else {
perf_ctrls.max_perf = max_perf;
@@ -1616,7 +1616,7 @@ static void amd_pstate_epp_offline(struct cpufreq_policy *policy)
value = READ_ONCE(cpudata->cppc_req_cached);
mutex_lock(&amd_pstate_limits_lock);
- if (boot_cpu_has(X86_FEATURE_CPPC)) {
+ if (cpu_feature_enabled(X86_FEATURE_CPPC)) {
cpudata->epp_policy = CPUFREQ_POLICY_UNKNOWN;
/* Set max perf same as min perf */
@@ -1819,7 +1819,7 @@ static int __init amd_pstate_init(void)
*/
if (amd_pstate_acpi_pm_profile_undefined() ||
amd_pstate_acpi_pm_profile_server() ||
- !boot_cpu_has(X86_FEATURE_CPPC)) {
+ !cpu_feature_enabled(X86_FEATURE_CPPC)) {
pr_info("driver load is disabled, boot with specific mode to enable this\n");
return -ENODEV;
}
@@ -1838,7 +1838,7 @@ static int __init amd_pstate_init(void)
}
/* capability check */
- if (boot_cpu_has(X86_FEATURE_CPPC)) {
+ if (cpu_feature_enabled(X86_FEATURE_CPPC)) {
pr_debug("AMD CPPC MSR based functionality is supported\n");
if (cppc_state != AMD_PSTATE_ACTIVE)
current_pstate_driver->adjust_perf = amd_pstate_adjust_perf;
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v5 7/8] cpufreq: amd-pstate: enable shared memory type CPPC by default
2024-06-19 15:40 [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Perry Yuan
` (5 preceding siblings ...)
2024-06-19 15:40 ` [PATCH v5 6/8] cpufreq: amd-pstate: switch boot_cpu_has() to cpu_feature_enabled() Perry Yuan
@ 2024-06-19 15:40 ` Perry Yuan
2024-06-21 8:29 ` Gautham R.Shenoy
2024-06-19 15:40 ` [PATCH v5 8/8] cpufreq: amd-pstate: auto-load pstate driver " Perry Yuan
2024-06-19 17:59 ` [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Mario Limonciello
8 siblings, 1 reply; 12+ messages in thread
From: Perry Yuan @ 2024-06-19 15:40 UTC (permalink / raw)
To: Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, gautham.shenoy, Alexander.Deucher,
Xinmei.Huang, Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
The amd-pstate-epp driver has been implemented and resolves the
performance drop issue seen in passive mode for shared memory type
CPPC systems. Users who enable the active mode driver will not
experience a performance drop compared to the passive mode driver.
Therefore, the EPP driver should be loaded by default for shared
memory type CPPC system to get better performance.
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
---
drivers/cpufreq/amd-pstate.c | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index cb750ef305fe..0f8ffbc0dc2a 100644
--- a/drivers/cpufreq/amd-pstate.c
+++ b/drivers/cpufreq/amd-pstate.c
@@ -86,15 +86,6 @@ struct quirk_entry {
u32 lowest_freq;
};
-/*
- * TODO: We need more time to fine tune processors with shared memory solution
- * with community together.
- *
- * There are some performance drops on the CPU benchmarks which reports from
- * Suse. We are co-working with them to fine tune the shared memory solution. So
- * we disable it by default to go acpi-cpufreq on these processors and add a
- * module parameter to be able to enable it manually for debugging.
- */
static struct cpufreq_driver *current_pstate_driver;
static struct cpufreq_driver amd_pstate_driver;
static struct cpufreq_driver amd_pstate_epp_driver;
@@ -1815,11 +1806,9 @@ static int __init amd_pstate_init(void)
/* Disable on the following configs by default:
* 1. Undefined platforms
* 2. Server platforms
- * 3. Shared memory designs
*/
if (amd_pstate_acpi_pm_profile_undefined() ||
- amd_pstate_acpi_pm_profile_server() ||
- !cpu_feature_enabled(X86_FEATURE_CPPC)) {
+ amd_pstate_acpi_pm_profile_server()) {
pr_info("driver load is disabled, boot with specific mode to enable this\n");
return -ENODEV;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v5 8/8] cpufreq: amd-pstate: auto-load pstate driver by default
2024-06-19 15:40 [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Perry Yuan
` (6 preceding siblings ...)
2024-06-19 15:40 ` [PATCH v5 7/8] cpufreq: amd-pstate: enable shared memory type CPPC by default Perry Yuan
@ 2024-06-19 15:40 ` Perry Yuan
2024-06-21 8:41 ` Gautham R.Shenoy
2024-06-19 17:59 ` [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Mario Limonciello
8 siblings, 1 reply; 12+ messages in thread
From: Perry Yuan @ 2024-06-19 15:40 UTC (permalink / raw)
To: Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, gautham.shenoy, Alexander.Deucher,
Xinmei.Huang, Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
If the `amd-pstate` driver is not loaded automatically by default,
it is because the kernel command line parameter has not been added.
To resolve this issue, it is necessary to call the `amd_pstate_set_driver()`
function to enable the desired mode (passive/active/guided) before registering
the driver instance.
This ensures that the driver is loaded correctly without relying on the kernel
command line parameter.
When there is no parameter added to command line, Kernel config will
provide the default mode to load.
Meanwhile, user can add driver mode in command line which will override
the kernel config default option.
Reported-by: Andrei Amuraritei <andamu@posteo.net>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218705
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
---
drivers/cpufreq/amd-pstate.c | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 0f8ffbc0dc2a..a96ad7d10a4d 100644
--- a/drivers/cpufreq/amd-pstate.c
+++ b/drivers/cpufreq/amd-pstate.c
@@ -1801,8 +1801,13 @@ static int __init amd_pstate_init(void)
/* check if this machine need CPPC quirks */
dmi_check_system(amd_pstate_quirks_table);
- switch (cppc_state) {
- case AMD_PSTATE_UNDEFINED:
+ /*
+ * determine the driver mode from the command line or kernel config.
+ * If no command line input is provided, cppc_state will be AMD_PSTATE_UNDEFINED.
+ * command line options will override the kernel config settings.
+ */
+
+ if (cppc_state == AMD_PSTATE_UNDEFINED) {
/* Disable on the following configs by default:
* 1. Undefined platforms
* 2. Server platforms
@@ -1812,15 +1817,20 @@ static int __init amd_pstate_init(void)
pr_info("driver load is disabled, boot with specific mode to enable this\n");
return -ENODEV;
}
- ret = amd_pstate_set_driver(CONFIG_X86_AMD_PSTATE_DEFAULT_MODE);
- if (ret)
- return ret;
- break;
+ /* get driver mode from kernel config option [1:4] */
+ cppc_state = CONFIG_X86_AMD_PSTATE_DEFAULT_MODE;
+ }
+
+ switch (cppc_state) {
case AMD_PSTATE_DISABLE:
+ pr_info("driver load is disabled, boot with specific mode to enable this\n");
return -ENODEV;
case AMD_PSTATE_PASSIVE:
case AMD_PSTATE_ACTIVE:
case AMD_PSTATE_GUIDED:
+ ret = amd_pstate_set_driver(cppc_state);
+ if (ret)
+ return ret;
break;
default:
return -EINVAL;
@@ -1841,7 +1851,7 @@ static int __init amd_pstate_init(void)
/* enable amd pstate feature */
ret = amd_pstate_enable(true);
if (ret) {
- pr_err("failed to enable with return %d\n", ret);
+ pr_err("failed to enable driver mode(%d)\n", cppc_state);
return ret;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements
2024-06-19 15:40 [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Perry Yuan
` (7 preceding siblings ...)
2024-06-19 15:40 ` [PATCH v5 8/8] cpufreq: amd-pstate: auto-load pstate driver " Perry Yuan
@ 2024-06-19 17:59 ` Mario Limonciello
8 siblings, 0 replies; 12+ messages in thread
From: Mario Limonciello @ 2024-06-19 17:59 UTC (permalink / raw)
To: Perry Yuan
Cc: rafael.j.wysocki, viresh.kumar, gautham.shenoy, Alexander.Deucher,
Xinmei.Huang, Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
On 6/19/2024 10:40, Perry Yuan wrote:
> Hello everyone,
>
> This patchset addresses critical issues and enhances performance settings for CPUs
> with heterogeneous core types in the AMD pstate driver.
The heterogeneous stuff was dropped from the series so this is no longer
accurate. However everything else in the series is good now.
I've applied this to my bleeding-edge branch at
https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git/log/?h=bleeding-edge
and will do some more testing on it. I'll plan to send out a PR next
week with it to catch 6.11.
Thanks!
> Specifically, it resolves problems related to calculating the highest performance
> and frequency on the latest CPUs with preferred cores.
> Additionally, the patchset includes documentation improvements in amd-pstate.rst,
> offering a comprehensive guide covering topics such as recommended reboot requirements
> during driver switching, debugging procedures for driver loading failures.
>
> Your feedback and suggestions for improvement are highly appreciated.
> Please review the patches and provide your valuable input.
>
> Thank you.
>
> Best regards,
> Perry.
>
> Changes from V4:
> * pick all the RB by and ACk by flags from Mario
> * fix typo for patch #10 in the commit log
> * improve the commit log for shared memory in patch #11
> * drop hetero core type patches into another patchset
> * drop debugging section patch for amd-pstate.rst
>
> Changes from V3:
> * add one new patch to enable shared memory type CPPC by default
> * pick all the RB by and ACk by flags from Mario and Gautham
> * update the patch #7 PPR link with doc id (Boris & Mario)
> * fix the highest perf initialization issue with preferred core check
> for patch #9 (Gautham)
> * rework return core type and commit log for the patch #9 (Mario)
> * address feedback for patch #5 for the debugging suggestions.(Mario)
> * retest the patches on MSR and shared memory type CPPC systems, no regression seen.
>
> Changes from V2:
> * pick review by and ack by flags from Mario and Gautham
> * rebase to latest linux-pm bleeding edge branch
> * fix driver loading block issue for patch 4, make sure the warning will
> not abort the driver loading in case there are some new family/model id.
> * fix the driver loading sequence issue for patch 10, it allows command line
> and kernel config option together. command line will override kconfig option.
> * add back the AMD CPUs with Family ID 19H and Model ID range 0x70 to 0x7f to return
> the highest perf and check others CPU core type in the following codes.
> * run some testing on the local system.
> * move the amd_core_type to amd-pstate.c because of the amd-pstate.h was removed lately.
>
> Changes from V1:
> * drop patch 11 which has been merged in a separate patch. (Mario)
> * fix some typos in commit log and tile (Mario)
> * fix the patch 11 regression issue of kernel command line (Oleksandr Natalenko)
> * pick ack flag for patch 7 (Mario)
> * drop patch 4 which is not recommended for user(Mario)
> * rebase to linux-pm/bleeding-edge branch
> * fix some build warning
> * rework the patch 3 for CPU ID matching(Mario)
> * address feedback for patch 5 (Mario)
> * move the acpi pm profile after got default mode(Mario)
>
> Perry Yuan (8):
> cpufreq: amd-pstate: optimize the initial frequency values
> verification
> cpufreq: amd-pstate: remove unused variable nominal_freq
> cpufreq: amd-pstate: show CPPC debug message if CPPC is not supported
> cpufreq: amd-pstate: add debug message while CPPC is supported and
> disabled by SBIOS
> Documentation: PM: amd-pstate: add guided mode to the Operation mode
> cpufreq: amd-pstate: switch boot_cpu_has() to cpu_feature_enabled()
> cpufreq: amd-pstate: enable shared memory type CPPC by default
> cpufreq: amd-pstate: auto-load pstate driver by default
>
> Documentation/admin-guide/pm/amd-pstate.rst | 2 +-
> drivers/cpufreq/amd-pstate.c | 145 +++++++++++++-------
> 2 files changed, 95 insertions(+), 52 deletions(-)
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v5 7/8] cpufreq: amd-pstate: enable shared memory type CPPC by default
2024-06-19 15:40 ` [PATCH v5 7/8] cpufreq: amd-pstate: enable shared memory type CPPC by default Perry Yuan
@ 2024-06-21 8:29 ` Gautham R.Shenoy
0 siblings, 0 replies; 12+ messages in thread
From: Gautham R.Shenoy @ 2024-06-21 8:29 UTC (permalink / raw)
To: Perry Yuan, Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, Alexander.Deucher, Xinmei.Huang,
Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
Perry Yuan <perry.yuan@amd.com> writes:
> The amd-pstate-epp driver has been implemented and resolves the
> performance drop issue seen in passive mode for shared memory type
> CPPC systems. Users who enable the active mode driver will not
> experience a performance drop compared to the passive mode driver.
> Therefore, the EPP driver should be loaded by default for shared
> memory type CPPC system to get better performance.
>
> Signed-off-by: Perry Yuan <perry.yuan@amd.com>
> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
> ---
> drivers/cpufreq/amd-pstate.c | 13 +------------
> 1 file changed, 1 insertion(+), 12 deletions(-)
>
> diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
> index cb750ef305fe..0f8ffbc0dc2a 100644
> --- a/drivers/cpufreq/amd-pstate.c
> +++ b/drivers/cpufreq/amd-pstate.c
> @@ -86,15 +86,6 @@ struct quirk_entry {
> u32 lowest_freq;
> };
>
> -/*
> - * TODO: We need more time to fine tune processors with shared memory solution
> - * with community together.
> - *
> - * There are some performance drops on the CPU benchmarks which reports from
> - * Suse. We are co-working with them to fine tune the shared memory solution. So
> - * we disable it by default to go acpi-cpufreq on these processors and add a
> - * module parameter to be able to enable it manually for debugging.
> - */
> static struct cpufreq_driver *current_pstate_driver;
> static struct cpufreq_driver amd_pstate_driver;
> static struct cpufreq_driver amd_pstate_epp_driver;
> @@ -1815,11 +1806,9 @@ static int __init amd_pstate_init(void)
> /* Disable on the following configs by default:
> * 1. Undefined platforms
> * 2. Server platforms
> - * 3. Shared memory designs
> */
> if (amd_pstate_acpi_pm_profile_undefined() ||
> - amd_pstate_acpi_pm_profile_server() ||
> - !cpu_feature_enabled(X86_FEATURE_CPPC)) {
> + amd_pstate_acpi_pm_profile_server()) {
> pr_info("driver load is disabled, boot with specific mode to enable this\n");
> return -ENODEV;
> }
> --
> 2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v5 8/8] cpufreq: amd-pstate: auto-load pstate driver by default
2024-06-19 15:40 ` [PATCH v5 8/8] cpufreq: amd-pstate: auto-load pstate driver " Perry Yuan
@ 2024-06-21 8:41 ` Gautham R.Shenoy
0 siblings, 0 replies; 12+ messages in thread
From: Gautham R.Shenoy @ 2024-06-21 8:41 UTC (permalink / raw)
To: Perry Yuan, Mario.Limonciello
Cc: rafael.j.wysocki, viresh.kumar, Alexander.Deucher, Xinmei.Huang,
Xiaojian.Du, Li.Meng, linux-pm, linux-kernel
Perry Yuan <perry.yuan@amd.com> writes:
> If the `amd-pstate` driver is not loaded automatically by default,
> it is because the kernel command line parameter has not been added.
> To resolve this issue, it is necessary to call the `amd_pstate_set_driver()`
> function to enable the desired mode (passive/active/guided) before registering
> the driver instance.
>
> This ensures that the driver is loaded correctly without relying on the kernel
> command line parameter.
>
> When there is no parameter added to command line, Kernel config will
> provide the default mode to load.
>
> Meanwhile, user can add driver mode in command line which will override
> the kernel config default option.
>
> Reported-by: Andrei Amuraritei <andamu@posteo.net>
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218705
> Signed-off-by: Perry Yuan <perry.yuan@amd.com>
> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
> ---
> drivers/cpufreq/amd-pstate.c | 24 +++++++++++++++++-------
> 1 file changed, 17 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
> index 0f8ffbc0dc2a..a96ad7d10a4d 100644
> --- a/drivers/cpufreq/amd-pstate.c
> +++ b/drivers/cpufreq/amd-pstate.c
> @@ -1801,8 +1801,13 @@ static int __init amd_pstate_init(void)
> /* check if this machine need CPPC quirks */
> dmi_check_system(amd_pstate_quirks_table);
>
> - switch (cppc_state) {
> - case AMD_PSTATE_UNDEFINED:
> + /*
> + * determine the driver mode from the command line or kernel config.
> + * If no command line input is provided, cppc_state will be AMD_PSTATE_UNDEFINED.
> + * command line options will override the kernel config settings.
> + */
> +
> + if (cppc_state == AMD_PSTATE_UNDEFINED) {
> /* Disable on the following configs by default:
> * 1. Undefined platforms
> * 2. Server platforms
> @@ -1812,15 +1817,20 @@ static int __init amd_pstate_init(void)
> pr_info("driver load is disabled, boot with specific mode to enable this\n");
> return -ENODEV;
> }
> - ret = amd_pstate_set_driver(CONFIG_X86_AMD_PSTATE_DEFAULT_MODE);
> - if (ret)
> - return ret;
> - break;
> + /* get driver mode from kernel config option [1:4] */
> + cppc_state = CONFIG_X86_AMD_PSTATE_DEFAULT_MODE;
> + }
> +
> + switch (cppc_state) {
> case AMD_PSTATE_DISABLE:
> + pr_info("driver load is disabled, boot with specific mode to enable this\n");
> return -ENODEV;
> case AMD_PSTATE_PASSIVE:
> case AMD_PSTATE_ACTIVE:
> case AMD_PSTATE_GUIDED:
> + ret = amd_pstate_set_driver(cppc_state);
> + if (ret)
> + return ret;
> break;
> default:
> return -EINVAL;
> @@ -1841,7 +1851,7 @@ static int __init amd_pstate_init(void)
> /* enable amd pstate feature */
> ret = amd_pstate_enable(true);
> if (ret) {
> - pr_err("failed to enable with return %d\n", ret);
> + pr_err("failed to enable driver mode(%d)\n", cppc_state);
> return ret;
> }
>
> --
> 2.34.1
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-06-21 8:41 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-19 15:40 [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Perry Yuan
2024-06-19 15:40 ` [PATCH v5 1/8] cpufreq: amd-pstate: optimize the initial frequency values verification Perry Yuan
2024-06-19 15:40 ` [PATCH v5 2/8] cpufreq: amd-pstate: remove unused variable nominal_freq Perry Yuan
2024-06-19 15:40 ` [PATCH v5 3/8] cpufreq: amd-pstate: show CPPC debug message if CPPC is not supported Perry Yuan
2024-06-19 15:40 ` [PATCH v5 4/8] cpufreq: amd-pstate: add debug message while CPPC is supported and disabled by SBIOS Perry Yuan
2024-06-19 15:40 ` [PATCH v5 5/8] Documentation: PM: amd-pstate: add guided mode to the Operation mode Perry Yuan
2024-06-19 15:40 ` [PATCH v5 6/8] cpufreq: amd-pstate: switch boot_cpu_has() to cpu_feature_enabled() Perry Yuan
2024-06-19 15:40 ` [PATCH v5 7/8] cpufreq: amd-pstate: enable shared memory type CPPC by default Perry Yuan
2024-06-21 8:29 ` Gautham R.Shenoy
2024-06-19 15:40 ` [PATCH v5 8/8] cpufreq: amd-pstate: auto-load pstate driver " Perry Yuan
2024-06-21 8:41 ` Gautham R.Shenoy
2024-06-19 17:59 ` [PATCH v5 0/8] AMD Pstate Driver Fixes and Improvements Mario Limonciello
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).