keystone-enclave / riscv-pk

Security monitor for Keystone Enclave (mirror of riscv-pk). Will be deprecated when openSBI port is ready
Other
36 stars 14 forks source link

SSTATUS/MSTATUS issues with FS bit #31

Closed dkohlbre closed 5 years ago

dkohlbre commented 5 years ago

At the least, we are clearing the FS bit when we enter the enclave. This fully disables the FPU.

Its possible that there are further issues with status bits as well.

We'll want to revert PR #30 once we figure this all out.

dkohlbre commented 5 years ago

Reverted, and fixed in https://github.com/keystone-enclave/riscv-pk/commit/3a2df8acf8581b305dee42e203a729f7c410c8c2