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

Fix hack that avoids translation failure warning #2

Open
siyuanchai1999 opened this issue Mar 9, 2024 · 0 comments
Open

Fix hack that avoids translation failure warning #2

siyuanchai1999 opened this issue Mar 9, 2024 · 0 comments
Assignees

Comments

@siyuanchai1999
Copy link
Member

siyuanchai1999 commented Mar 9, 2024

Uncomment this line
will trigger a translation failure warning due to the fact that we get an incorrect mmu_idx (MMU_USER_IDX) but to a kernel address space (cpu_entry area).

We hacked it by setting every address translation tracing request as with privilege of kernel; however, ideally, we want it to formulate the request with correct privilege. More details can be found at comment in the commit (aa4cf6e).

This can be reproduced by running a simple mem_test workload: (https://github.com/xlab-uiuc/linux_gen/blob/b08fc54c80b642bc921794be809538eb854c80ef/run_ECPT_execlog#L107)

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