Revert "arch-x86: Fix TLB Assertion Error on CFLUSH" (#1196)

Reverts gem5/gem5#1080 as it is not a good fix.
This commit is contained in:
Ivana Mitrovic
2024-06-04 10:26:53 -07:00
committed by GitHub
parent 40ef8f3afb
commit a764b9be1c

View File

@@ -254,7 +254,7 @@ class DataTranslation : public BaseMMU::Translation
BaseMMU::Mode mode)
{
assert(state);
assert(mode == state->mode || req->isCacheClean());
assert(mode == state->mode);
if (state->finish(fault, index)) {
if (state->getFault() == NoFault) {
// Don't access the request if faulted (due to squash)