riscv / riscv-j-extension

Working Draft of the RISC-V J Extension Specification
https://jira.riscv.org/browse/RVG-128
Creative Commons Attribution 4.0 International
158 stars 19 forks source link

Zjpm: PM for instruction fetch #30

Closed deepak0414 closed 11 months ago

deepak0414 commented 1 year ago

Opening this issue for discussion.

Current spec defines an option for pointer masking for instruction fetch. I had been thinking and was wondering that do we need pointer masking for instruction fetch?

From sandbox use case perspective, having a cfi and data pointer masking should be good enough to implement sandboxes. Thoughts?

martinmaas commented 11 months ago

Pointer masking no longer applies to instruction fetch, as per request from the architecture review committee and discussions in the J Extension group meetings. Future versions of pointer masking may re-introduce this feature.