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

Level of MTT when mode is Smmtt46 #106

Closed
sqzsq opened this issue Oct 28, 2024 · 2 comments
Closed

Level of MTT when mode is Smmtt46 #106

sqzsq opened this issue Oct 28, 2024 · 2 comments

Comments

@sqzsq
Copy link

sqzsq commented Oct 28, 2024

This could be possibly a typo, but still:

Section 4.1 says:

"Figure 7 shows an RV64 supervisor physical address lookup; for lower physical address widths e.g. 34 or 46 bits, the MTTL3 table is not applicable as shown in Figure 8."

while Section 4.2 says:

"1. Let a be mttp.ppn x PAGESIZE, and let i = LEVELS, where for mode Smmtt34, LEVELS = 2 and for Smmtt[46 | 56], LEVELS = 3;"

@rsahita
Copy link
Collaborator

rsahita commented Oct 28, 2024

yup typo - should be LEVELS = 2 for Smmpt[34 | 46] and LEVELS = 3 for Smmpt56

@rsahita
Copy link
Collaborator

rsahita commented Oct 29, 2024

addressed in PR #107

@rsahita rsahita closed this as completed Oct 29, 2024
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

No branches or pull requests

2 participants