Skip to content
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

hw: clean up Intel TSC frequency deduction #5210

Open
atopia opened this issue May 8, 2024 · 0 comments
Open

hw: clean up Intel TSC frequency deduction #5210

atopia opened this issue May 8, 2024 · 0 comments
Assignees

Comments

@atopia
Copy link
Contributor

atopia commented May 8, 2024

Clean up the Intel-specific TSC frequency calculation and provide warnings if it fails under nested virtualization.

@atopia atopia added the cleanup label May 8, 2024
@atopia atopia self-assigned this May 8, 2024
atopia added a commit to atopia/genode that referenced this issue May 8, 2024
The initial algorithm ported to hw seems to be correct in principle,
however it does not work with nested virtualization.

Clean up the code to make the different methods of obtaining the TSC
frequencies more clear, and add warnings if a particular
method has failed although it should be available.

Fixes genodelabs#5210
atopia added a commit to atopia/genode that referenced this issue May 13, 2024
The initial algorithm ported to hw seems to be correct in principle,
however it does not work with nested virtualization.

Clean up the code to make the different methods of obtaining the TSC
frequencies more clear, and add warnings if a particular
method has failed although it should be available.

Fixes genodelabs#5210
chelmuth pushed a commit that referenced this issue May 13, 2024
The initial algorithm ported to hw seems to be correct in principle,
however it does not work with nested virtualization.

Clean up the code to make the different methods of obtaining the TSC
frequencies more clear, and add warnings if a particular
method has failed although it should be available.

Fixes #5210
@chelmuth chelmuth added the fixed label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants