]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
cpufreq: amd-pstate: Add trace for AMD P-State module
authorHuang Rui <ray.huang@amd.com>
Fri, 8 Apr 2022 02:38:30 +0000 (10:38 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:41:52 +0000 (14:41 +0200)
commit3024d7732ab94defa98fb9ec2394b9c6167d6388
treed2c13e7288ecb033b7d98e22877750be1aeb9769
parenta214d78d2d86f2b3f914c30034c6b6234018c403
cpufreq: amd-pstate: Add trace for AMD P-State module

BugLink: https://bugs.launchpad.net/bugs/1956509
Add trace event to monitor the performance value changes which is
controlled by cpu governors.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 60e10f896dbf6d78f912e4972081bd4119131376)
Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/cpufreq/Makefile
drivers/cpufreq/amd-pstate-trace.c [new file with mode: 0644]
drivers/cpufreq/amd-pstate-trace.h [new file with mode: 0644]
drivers/cpufreq/amd-pstate.c