aboutsummaryrefslogtreecommitdiff
path: root/riscv/mmu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/mmu.cc')
-rw-r--r--riscv/mmu.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscv/mmu.cc b/riscv/mmu.cc
index 285ef6d..0b97e9a 100644
--- a/riscv/mmu.cc
+++ b/riscv/mmu.cc
@@ -327,7 +327,8 @@ tlb_entry_t mmu_t::refill_tlb(reg_t vaddr, reg_t paddr, char* host_addr, access_
if ((check_triggers_fetch && type == FETCH) ||
(check_triggers_load && type == LOAD) ||
- (check_triggers_store && type == STORE))
+ (check_triggers_store && type == STORE) ||
+ (proc && proc->get_log_commits_enabled()))
expected_tag |= TLB_CHECK_TRIGGERS;
if (pmp_homogeneous(paddr & ~reg_t(PGSIZE - 1), PGSIZE)) {