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

Improve processor ID'ing #103

Merged
merged 1 commit into from
Feb 3, 2023
Merged

Improve processor ID'ing #103

merged 1 commit into from
Feb 3, 2023

Conversation

tylerfanelli
Copy link
Member

Processor comparisons are built on the basis of FAMILY and MODEL. Thus, processors that have different base and extended models or base and extended families MAY be in the same SEV generation.

The family calculations is as follows:

    FAMILY = Base family + Extended family

The model calculation is as follows:

    MODEL = Base model | (Extended model << 4)

Signed-off-by: Tyler Fanelli tfanelli@redhat.com

Processor comparisons are built on the basis of FAMILY and MODEL. Thus,
processors that have different base and extended models or base and
extended families MAY be in the same SEV generation.

The family calculations is as follows:

        FAMILY = Base family + Extended family

The model calculation is as follows:

        MODEL = Base model | (Extended model << 4)

Signed-off-by: Tyler Fanelli <tfanelli@redhat.com>
Copy link
Contributor

@larrydewey larrydewey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! Thank you!

@tylerfanelli
Copy link
Member Author

Closes #65

@tylerfanelli tylerfanelli merged commit 96d6a8b into virtee:main Feb 3, 2023
@tylerfanelli tylerfanelli deleted the proc_id branch July 6, 2023 23:28
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.

3 participants