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

Cherry-pick for main-2.x: Update zerocopy from 0.6.6 to 0.8.8. #1955

Merged
merged 4 commits into from
Feb 12, 2025

Conversation

swenson
Copy link
Contributor

@swenson swenson commented Feb 9, 2025

This is a cherry-pick of #1765 along with fixups for the new functionality in 2.x.

Original description:

Update zerocopy from 0.6.6 to 0.8.8.

This PR does not optimize out a large portion of copies. Ideally it will
be done in follow up PRs.

There are portions of code that are slightly modified to keep panics out
of the final binary.

@swenson swenson requested a review from clundin25 February 9, 2025 18:34
@swenson swenson force-pushed the zerocopy-2.x branch 2 times, most recently from 79b5081 to 0242344 Compare February 9, 2025 20:51
@mhatrevi mhatrevi added the Caliptra v2.0 Items to be considered for v2.0 Release label Feb 10, 2025
jhand2
jhand2 previously approved these changes Feb 10, 2025
@swenson
Copy link
Contributor Author

swenson commented Feb 10, 2025

(After speaking with @mhatrevi, I think he is going to prepare a PR cherry-picking everything up to this from the 1.x branch, which we will merge first. That way, history will be more or less linear.)

clundin25
clundin25 previously approved these changes Feb 10, 2025
@ArthurHeymans
Copy link
Contributor

So #1956 would require this in order to update caliptra-dpe which already uses 0.8.8

@jhand2
Copy link
Collaborator

jhand2 commented Feb 10, 2025

(After speaking with @mhatrevi, I think he is going to prepare a PR cherry-picking everything up to this from the 1.x branch, which we will merge first. That way, history will be more or less linear.)

SGTM. So should we abandon this one?

@swenson
Copy link
Contributor Author

swenson commented Feb 10, 2025

@jhand2 I don't think we need to abandon this one. I'll just rebase it once Vishal gets that other PR in.

@swenson
Copy link
Contributor Author

swenson commented Feb 11, 2025

Rebased and should be good to go now.

This PR does not optimize out a large portion of copies. Ideally it will
be done in follow up PRs.

There are portions of code that are slightly modified to keep panics out
of the final binary.
@swenson swenson dismissed stale reviews from jhand2 and clundin25 via 621f273 February 12, 2025 18:56
mhatrevi
mhatrevi previously approved these changes Feb 12, 2025
@mhatrevi mhatrevi enabled auto-merge (squash) February 12, 2025 20:52
@mhatrevi mhatrevi merged commit dd30776 into main-2.x Feb 12, 2025
5 checks passed
@swenson swenson deleted the zerocopy-2.x branch February 12, 2025 21:58
@swenson
Copy link
Contributor Author

swenson commented Feb 12, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Caliptra v2.0 Items to be considered for v2.0 Release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants