Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cpus node: Make clock-frequency optional #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

Andre-ARM
Copy link
Contributor

@Andre-ARM Andre-ARM commented Feb 7, 2023

Modern CPU implementations overwhelmingly implement frequency scaling, so there is no real notion of "the current" CPU clock frequency anymore.

Make the "clock-frequency" and "timebase-frequency" property of each CPU node optional instead of required, and reword the description of the clock-frequency to only encourage using this property if the CPU speed is fixed.

Signed-off-by: Andre Przywara andre.przywara@arm.com

Modern CPU implementations overwhelmingly implement frequency scaling,
so there is no real notion of "the current" CPU clock frequency anymore.

Make the "clock-frequency" and "timebase-frequency" property of each CPU
node optional instead of required, and reword the description of the
clock-frequency to only encourage using this property if the CPU speed
is fixed.
    
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
@Andre-ARM
Copy link
Contributor Author

This is the first step to push a patch removing the warning message from arch/arm Linux kernels. I don't think this property makes sense anymore. arm64 Linux seems to ignore it completely, and arm Linux just computes some capacity value for big.LITTLE systems from it.

@robherring robherring merged commit c2cdd4a into devicetree-org:main Feb 8, 2023
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.