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

Updated Smmpt to address ARC feedback #121

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Updated Smmpt to address ARC feedback #121

wants to merge 14 commits into from

Conversation

rsahita
Copy link
Collaborator

@rsahita rsahita commented Feb 4, 2025

Support upto 64 bit address (52 bit ppn at each non-leaf)
Non-leaf entry has ppn, valid bit + napot bit
Leaf entry updated with RWX perms
Napot for non-leaf allows entries to be coalesced (larger next level)
Napot in leaf supports super page sizes
Common non-leaf and leaf format

See this presentation for an overview (the format has been updated from the presentation so refer to it only as an overview - read specifics in the PR please): https://docs.google.com/presentation/d/1Zzd5Jm6HeITo4vjJzoAnOp9wGHsOVPEI8FL2BJc8YsE/edit#slide=id.g32322424817_0_7

@rsahita rsahita requested a review from ved-rivos February 4, 2025 10:30
@rsahita rsahita self-assigned this Feb 4, 2025
@rsahita rsahita requested a review from SiFiveHolland February 4, 2025 18:35
ved-rivos and others added 3 commits February 6, 2025 15:43
Signed-off-by: Ved Shanbhogue <[email protected]>
Signed-off-by: Ravi Sahita <[email protected]>
@rsahita rsahita requested a review from ved-rivos February 16, 2025 20:53
@rsahita
Copy link
Collaborator Author

rsahita commented Feb 16, 2025

smmtt-spec-PR-121-2-18-2025.pdf

PDF to make reviewing easier.

Co-authored-by: Ved Shanbhogue <[email protected]>
Signed-off-by: Ravi Sahita <[email protected]>
Copy link
Collaborator

@SiFiveHolland SiFiveHolland left a comment

Choose a reason for hiding this comment

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

Here is my review of everything except the NAPOT sections; I will submit that separately due to GitHub lag.

Copy link
Collaborator

@SiFiveHolland SiFiveHolland left a comment

Choose a reason for hiding this comment

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

I've provided my comments on Smmptnlnapot as a pull request (#126) because I mostly rewrote the section to make it (hopefully) easier to understand.

Co-authored-by: Samuel Holland <[email protected]>
Signed-off-by: Ravi Sahita <[email protected]>
Copy link
Collaborator

@SiFiveHolland SiFiveHolland left a comment

Choose a reason for hiding this comment

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

Here's the promised fixes for Smmptnlnapot

Co-authored-by: Samuel Holland <[email protected]>
Signed-off-by: Ravi Sahita <[email protected]>
Copy link
Collaborator

@SiFiveHolland SiFiveHolland left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for your additional fix.

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