Merge pull request #1217 from sobuch/not_cachable_mcause_mstatus

target/riscv: dont set mcause and mstatus as cachable
This commit is contained in:
Evgeniy Naydanov 2025-01-31 15:10:33 +03:00 committed by GitHub
commit 8f59570468
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -204,9 +204,7 @@ static inline bool riscv_reg_impl_gdb_regno_cacheable(enum gdb_regno regno,
case GDB_REGNO_MISA:
case GDB_REGNO_DCSR:
case GDB_REGNO_DSCRATCH0:
case GDB_REGNO_MSTATUS:
case GDB_REGNO_MEPC:
case GDB_REGNO_MCAUSE:
case GDB_REGNO_SATP:
/*
* WARL registers might not contain the value we just wrote, but