Skip to content

fix(arch): add get_min_cpu_freq to Dvfs - #741

Open
Kanata9020 wants to merge 2 commits into
tier4:mainfrom
azu-lab:main
Open

Kanata9020 wants to merge 2 commits into
tier4:mainfrom
azu-lab:main

Conversation

@Kanata9020

@Kanata9020 Kanata9020 commented Oct 21, 2026 •

Copy link
Copy Markdown

Description

Add get_min_cpu_freq to the Dvfs trait implementation for x86_64.
It computes the minimum frequency from the Maximum Efficiency Ratio in MSR_PLATFORM_INFO.

Also fix the existing x86_64 implementation to take and return frequencies in Hz instead of MHz, as expected by the Dvfs trait.

Related links

How was this PR tested?

  • scripts/ci.sh passes on my machine.

Notes for reviewers

@Kanata9020
Kanata9020 marked this pull request as draft October 21, 2026 07:44
@Kanata9020
Kanata9020 marked this pull request as ready for review October 21, 2026 07:58
@romancardenas

Copy link
Copy Markdown
Contributor

This PR solves #740

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants