-
Notifications
You must be signed in to change notification settings - Fork 247
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
cpu: expose the total number of AMD SEV ASID and ES #1149
cpu: expose the total number of AMD SEV ASID and ES #1149
Conversation
✅ Deploy Preview for kubernetes-sigs-nfd ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
/cc @zvonkok |
c7a8bee
to
67a1e9d
Compare
@ryansavino @larrydewey PTAL |
Also, this PR doesn't have anything to do with extended resources directly, so I'd suggest to retitle (in commit message too), e.g. to cpu: expose the total number of AMD SEV ASID and ES |
67a1e9d
to
9e5adda
Compare
This patch add SEV ASIDs and the related (but distinct) SEV Encrypted State (SEV-ES) IDs as two quantities to be exposed via extended resources. In a kernel built with CONFIG_CGROUP_MISC on a suitably equipped AMD CPU, the root control group will have a misc.capacity file that shows the number of available IDs in each category. The added extended resources are: - sev.asids - sev.encrypted_state_ids Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
9e5adda
to
05ef5d4
Compare
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.
Thanks @ArangoGutierrez, to me this looks simple and good to get merged 👍
@zvonkok et al feel free to lgtm if/when you're happy
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ArangoGutierrez, marquiz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
LGTM label has been added. Git tree hash: a465b69d056fcf31b4baf5ba1a96d6f8c79e0332
|
This patch add SEV ASIDs and the related (but distinct) SEV Encrypted State (SEV-ES) IDs as two quantities to be exposed via extended resources. In a kernel built with CONFIG_CGROUP_MISC on a suitably equipped AMD CPU, the root control group will have a misc.capacity file that shows the number of available IDs in each category:
The added extended resources are:
An example on how to expose them on a suitable system is: