Re: [PATCH v1 2/6] cpufreq: intel_pstate: Do not update global.turbo_disabled after initialization

From: Xi Ruoyao
Date: Mon Jun 03 2024 - 09:13:26 EST


On Sun, 2024-06-02 at 16:11 -0700, srinivas pandruvada wrote:

/* snip */

> What is the output of:
> grep . /sys/devices/system/cpu/intel_pstate/*
>
> Also 
> rdmsr 0x771
> rdmsr 0x774
>
>
> Try these three patches. Don't worry about the commit description for
> this issue.

Unfortunately they still do not fix the issue for me.

The outputs of grep and rdmsr commands are initially:

/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost:0
/sys/devices/system/cpu/intel_pstate/max_perf_pct:100
/sys/devices/system/cpu/intel_pstate/min_perf_pct:9
/sys/devices/system/cpu/intel_pstate/no_turbo:1
/sys/devices/system/cpu/intel_pstate/num_pstates:41
/sys/devices/system/cpu/intel_pstate/status:active
/sys/devices/system/cpu/intel_pstate/turbo_pct:33
rdmsr 0x771: 10d1f2c
rdmsr 0x774: 1f04

But it then changes to:

/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost:0
/sys/devices/system/cpu/intel_pstate/max_perf_pct:100
/sys/devices/system/cpu/intel_pstate/min_perf_pct:9
/sys/devices/system/cpu/intel_pstate/no_turbo:1
/sys/devices/system/cpu/intel_pstate/num_pstates:41
/sys/devices/system/cpu/intel_pstate/status:active
/sys/devices/system/cpu/intel_pstate/turbo_pct:33
rdmsr 0x771: 10c1f2c
rdmsr 0x774: 1f04

It seems only the output of rdmsr 0x771 has changed. And if I read the
SDM correctly it's a "Most_Efficient_Performance" change.

> Please send me full dmesg after you see the issue.

Attached.

--
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University

Attachment: dmesg.gz
Description: application/gzip