]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq/amd-pstate-ut: Run on all of the correct CPUs
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 14 Feb 2025 22:33:12 +0000 (16:33 -0600)
committerMario Limonciello <mario.limonciello@amd.com>
Thu, 6 Mar 2025 19:01:25 +0000 (13:01 -0600)
commit2aac38ac06cb751bd3e672a4fb1eb3073f1866ab
treedbbf99af527e973619b57b5c58ff4860a8149916
parenta7875346c6891063b83cd59dc3bd23113e4debf5
cpufreq/amd-pstate-ut: Run on all of the correct CPUs

If a CPU is missing a policy or one has been offlined then the unit test
is skipped for the rest of the CPUs on the system.

Instead; iterate online CPUs and skip any missing policies to allow
continuing to test the rest of them.

Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate-ut.c