-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Update amd x86_64 cpu features #5314
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5314 +/- ##
==========================================
+ Coverage 82.96% 83.02% +0.05%
==========================================
Files 250 250
Lines 26828 26828
==========================================
+ Hits 22259 22273 +14
+ Misses 4569 4555 -14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you leave notes in commit message about what those features are and why they are disabled when NV is disabled?
Nested virtualization is now disabled and some cpu features/MSRs now should be marked as host only. These cpu features/MSRs are described the AMD reference manual at "SVM Revision and Feature Identification" section. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
Now this MSR is host only and not available in the guest. Check AMD reference manual at "SVM Revision and Feature Identification" section for more information. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
@zulinx86 added a pointer to the section of the reference manual |
thx! double-checked them in https://github.com/torvalds/linux/blob/6832a9317eee280117cd695fa885b2b7a7a38daf/arch/x86/include/asm/cpufeatures.h#L364-L383. |
Changes
With disabling of nested virtualization on the CI instances, some cpu features/MSR are now host only.
Useful links: https://github.com/torvalds/linux/blob/6832a9317eee280117cd695fa885b2b7a7a38daf/arch/x86/include/asm/cpufeatures.h#L364-L383.
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
tools/devtool checkbuild --all
to verify that the PR passesbuild checks on all supported architectures.
tools/devtool checkstyle
to verify that the PR passes theautomated style checks.
how they are solving the problem in a clear and encompassing way.
in the PR.
CHANGELOG.md
.Runbook for Firecracker API changes.
integration tests.
TODO
.rust-vmm
.