Skip to content

Fixes to SERVTD_EXT w.r.t padding and zeroing#762

Merged
jyao1 merged 1 commit intointel:mainfrom
mgudaram:Rebindfix
Mar 25, 2026
Merged

Fixes to SERVTD_EXT w.r.t padding and zeroing#762
jyao1 merged 1 commit intointel:mainfrom
mgudaram:Rebindfix

Conversation

@mgudaram
Copy link
Contributor

Current SERVTD_EXT is not 8 bytes aligned, adding the 4 byte padding fix and also SAS mentions to zero cur_servtd_hash

@mgudaram mgudaram requested a review from jyao1 as a code owner March 24, 2026 21:41
@mgudaram
Copy link
Contributor Author

@jyao1 Please let me know if I should zero the cur_servtd_attr (currently since its already 0, it didnt affect my testing) as well, given 4.1.1.6 from SAS mentions MigTD should zero both cur_servtd_attr and cur_servtd_hash before calculating hash of servtd_ext_struct. Thanks!

@jyao1
Copy link
Contributor

jyao1 commented Mar 24, 2026

yes, please always follow the spec.

@mgudaram
Copy link
Contributor Author

thanks for the quick update. I have added the code for cur_servtd_attr as well. Kindly review.

@jyao1 jyao1 merged commit 1bfc8b2 into intel:main Mar 25, 2026
57 checks passed
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