-
Notifications
You must be signed in to change notification settings - Fork 137
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
PMP address range bug in QEMU #25
Comments
Tested in older version of QEMU and SiFive Unleashed.
(2) SiFive Unleashed - kernel fault (works good)
|
Obviously QEMU |
Related Issues: |
So far, those issues are not being handled by QEMU folks. |
Has this qemu bug been fixed in upstream so that can keystone be tested correctly in qemu now? |
This has been fixed in upstream QEMU, and also an additional bug fix around PMP will be landing soon (v4.2) Our latest dev branch bumped upstream QEMU v4.1 (#132) and has a local patch for the issue. @silviuk Since our QEMU requires an additional patch for emulating secure boot (with bootrom), If you don't need to test the attestation, you can use the v4.2 binary when it comes out. |
SM region is accessible even there is the first PMP entry holding a right NAPOT-decoded address range covering the entire SM.
I suspect QEMU because this didn't happen before bumping QEMU to the latest version.
But the security monitor could be wrong, so we need more inspection.
The text was updated successfully, but these errors were encountered: