cva6
cva6 copied to clipboard
[BUG] SFENCE.VMA Cases in Shared TLB
Is there an existing CVA6 bug for this?
- [X] I have searched the existing bug issues
Bug Description
There are four different cases of sfence.vma that are used to flush the TLBs. For example, as these four cases are implemented in TLB here.
But in the design implementation of Shared TLB these cases are not added. Upon committing SFENCE.VMA, the shared TLB is completely flushed, which may not be the desired scenario. Shared TLB should also implement the four sfence.vma cases, as this will impact the performance in the long run.