Unverified Commit 592fe534 authored by Andrew Waterman's avatar Andrew Waterman Committed by GitHub
Browse files

Ignore SFENCE rs1 argument when VM is disabled (#1552)

Using SFENCE with rs1 != x0 relies on reusing the TLB hit path, but it's
not possible to hit when VM is disabled, so the logic did the wrong thing.
The simple fix is to flush the whole TLB when using SFENCE when VM is
disabled.  This shouldn't be an important performance case, because SFENCE
is nearly only used when VM is enabled (for obvious reasons).
parent 248c9c96
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment