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

Guide lines to enable virtual address translation? #974

Open
mukesh891 opened this issue Mar 27, 2024 · 0 comments
Open

Guide lines to enable virtual address translation? #974

mukesh891 opened this issue Mar 27, 2024 · 0 comments

Comments

@mukesh891
Copy link

Hi,
I was currently working to generate page tables for address translations and we are using the following changes to in our base_testlist.yaml:
+bare_program_mode=0
+virtual_addr_translation_on=1

With the above changes after init_supervisor_mode method we are actually seeing an error like below while transitioning from machine to supervisor mode:

#0189 0 M 00000000000001aa(init_supervisor_mode+48) 10449073 csrw    sie,s1
#0189 0 M 00000000000001aa RW sie 0000000000000000 -> 0000000000000000
#0190 0 M 00000000000001ae(init_supervisor_mode+4c) 30200073 mret
#0190 0 M 00000000000001ae RW mstatus 0000000a00000800 -> 0000000a00000080
#0190 0 M 00000000000001ae RW 'iss/cpu0', 0x00000000000001b2: Supervisor 0000     illegal
#0190 0 M 00000000000001ae RW MEMRM 0x70026000 0x70026000 8 000000001c009c21 L2 (iss/cpu0/Supervisor DLM data)
#0190 0 M 00000000000001ae RW MEMRM 0x70027000 0x70027000 8 000000001c00a421 L1 (iss/cpu0/Supervisor DLM data)
#0190 0 M 00000000000001ae RW MEMRM 0x70029000 0x70029000 8 00000000200000ef L0 (iss/cpu0/Supervisor DLM data)

Can you please let us know if we are missing something?

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