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

How to understand the "a write to mmpt with an unsupported mode value is not ignored"? #118

Open
rock-ifly opened this issue Dec 11, 2024 · 0 comments

Comments

@rock-ifly
Copy link

Q1: Are there any comments on the following description on mmpt? What does the "not ignored" mean, report a fault? if so, what kind of the fault, illegal instruction fault?

Implementations are not required to support all defined MODE settings when XLEN=64. A write to mmpt
with an unsupported MODE value is not ignored. Instead, the fields of mmpt are WARL in the normal
way, when so indicated in Register 1 and Register 2.

Q2: The WARL field should keep the original value if unsupported value is written? does WARL mean that if a write to mmpt with an unsupported mode should be ignored, and keep the original value in the mmpt.mode?

RISCV privilledge vol2: Implementations will not raise an exception on writes of unsupported values to a WARL field.

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

1 participant