[SRU][N] Request

Yahya Dakhil yahya.dakhil at 6wind.com
Thu May 15 11:54:52 UTC 2025


Hi Ubuntu kernel team,

Please, can you consider re-reverting an upstream commit e4731baaf294
("cpufreq:
amd-pstate: Fix the inconsistency in max frequency units") [1]
<https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?id=342e57b2330b>
to undo a
previous revert [0]
<https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?id=d76c1093e3fc>
on Jammy kernel branch hwe-6.8-next and Noble kernel.

In fact, after that revert [0]
<https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?id=d76c1093e3fc>
of the upstream commit e4731baaf294 ("cpufreq:
amd-pstate: Fix the inconsistency in max frequency units") [1]
<https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?id=342e57b2330b>,
pushed in
Ubuntu-6.8.0-48.48 / Ubuntu-hwe-6.8-6.8.0-48.48_22.04.1, incorrect value of
cpuinfo_max_freq has been seen when disabling the cpufreq boost in passive
mode
(when amd_pstate=passive is passed to the kernel in the boot command line).
This
revert was originally introduced to address a regression observed in older
stable kernels (precisely on 6.6.y, see [2]
<https://lore.kernel.org/all/18882bfe-4ca5-495c-ace5-b9bcab796ae5@amd.com/>).
However, this regression is linked
to the absence of the linux upstream commit 5547c0ebfc2e ("cpufreq:
amd-pstate:
Unify computation of {max,min,nominal,lowest_nonlinear}_freq") that is not
backported on 6.6.y but it is present in both 6.9.y [3]
<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d10692ac4a4a2>
and linux-hwe-6.8 [4]
<https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?id=7a7da95b1e7c>
.

Thus, the revert should not have been applied to linux-hwe-6.8.

[0]
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?id=d76c1093e3fc
[1]
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?id=342e57b2330b
[2]
https://lore.kernel.org/all/18882bfe-4ca5-495c-ace5-b9bcab796ae5@amd.com/
[3]
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d10692ac4a4a2
[4]
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?id=7a7da95b1e7c

Here is the launchpad entry:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2109609


Regards,
Yahya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250515/df692413/attachment.html>


More information about the kernel-team mailing list