Page MenuHomeFreeBSD

LinuxKPI: Add cpufreq_quick_get_max to LinuxKPI for amdkfd support
Needs ReviewPublic

Authored by siri_racha.ca on Aug 14 2026, 4:41 PM.
Referenced Files
F171822756: D58845.diff
Sun, Sep 13, 7:50 PM
F171721482: D58845.diff
Sun, Sep 13, 12:46 AM
Unknown Object (File)
Sat, Sep 12, 7:37 PM
Unknown Object (File)
Fri, Sep 11, 4:30 AM
Unknown Object (File)
Fri, Sep 11, 4:14 AM
Unknown Object (File)
Tue, Sep 8, 9:18 PM
Unknown Object (File)
Tue, Sep 8, 3:16 PM
Unknown Object (File)
Mon, Sep 7, 1:18 PM
Subscribers

Details

Reviewers
None
Group Reviewers
linuxkpi
Summary

Adding the cpufreq_quick_get_max function for amdkfd support as it's called by
kfd_topology.c

Sponsored By: The FreeBSD Foundation

Test Plan

Builds when applied to CURRENT

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

siri_racha.ca edited the summary of this revision. (Show Details)
siri_racha.ca edited the test plan for this revision. (Show Details)
sys/compat/linuxkpi/common/include/linux/cpufreq.h
25–26

Linux returns 0 if no result, it's probably sensible to do the same here. On platforms of interest in this context the sysctl is going to be successful.