APPLIED [OEM-6.0] Re: [PATCH 0/3][SRU][OEM-6.0/Unstable] Support for AMD PMF Cool and Quiet Framework (CnQF)

Timo Aaltonen tjaalton at ubuntu.com
Fri Oct 14 07:43:35 UTC 2022


You-Sheng Yang kirjoitti 6.10.2022 klo 18.38:
> From: "You-Sheng Yang (vicamo)" <vicamo.yang at canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1991609
> 
> [Impact]
> 
> Missing AMD CnQF that will dynamically adjust performance and power
> consumption based upon OEM specified metrics on supported systems.
> 
> [Fix]
> 
> Three commits from linux-next to be backported to oem-6.0 and above.
> 
> [Test Case]
> 
> To enable this in AMD Phoenix CRB:
> 
>    BIOS: AMD PBS > AMD PMF Settings, enable function 11/12 & flag=1
> 
> And feature enabled message should appear in dmesg:
> 
>    [ 3.203628] amd-pmf AMDI0102:00: registered PMF device successfully
> 
> Access via sysfs:
> 
>    root at test:/sys/devices/platform/AMDI0102:00# cat cnqf_enable
>    on
> 
> [Where problems could occur]
> 
> This is a new feature and will probably receive some more fixes in the
> future. So far we have little, in both kernel and userspace, runtime and
> testing, involved.
> 
> [Other Info]
> 
> This series depends on AMD PMF support in bug 1987670. And since these
> patches targets v6.1 and AMD phoenix target oem-6.0, only oem-6.0 and
> unstable is nominated for fix.
> 
> Shyam Sundar S K (3):
>    platform/x86/amd/pmf: Add support for CnQF
>    platform/x86/amd/pmf: Add sysfs to toggle CnQF
>    Documentation/ABI/testing/sysfs-amd-pmf: Add ABI doc for AMD PMF
> 
>   Documentation/ABI/testing/sysfs-amd-pmf |  13 +
>   MAINTAINERS                             |   1 +
>   drivers/platform/x86/amd/pmf/Makefile   |   2 +-
>   drivers/platform/x86/amd/pmf/acpi.c     |  10 +
>   drivers/platform/x86/amd/pmf/cnqf.c     | 395 ++++++++++++++++++++++++
>   drivers/platform/x86/amd/pmf/core.c     |  25 +-
>   drivers/platform/x86/amd/pmf/pmf.h      | 100 ++++++
>   7 files changed, 544 insertions(+), 2 deletions(-)
>   create mode 100644 Documentation/ABI/testing/sysfs-amd-pmf
>   create mode 100644 drivers/platform/x86/amd/pmf/cnqf.c
> 

applied to oem-6.0, thanks

-- 
t




More information about the kernel-team mailing list