Remove corev-dv setup_mmode_reg override
Created by: silabs-hfegran
Task Outcome
Remove <core>_privileged_common_seq and its references if it serves no other purpose than to override setup_mmode_reg due to the inifinite loop bug mentioned below.
Background information
setup_mmode_reg was overriden to prevent the issue where we would reenable interrupts before calling mret within an interrupt handler. Another interrupt between mie and mret would cause the handler to be reentered, with the return address set to mret within the handler itself causing an infinite loop (mret returns to itself). This fix is now upstreamed to google, the code in corev-dv is no longer needed and causes unnecessary clutter.
Location Information
./<core>/env/corev-dv/<core>_instr_base_test ./<core>/env/corev-dv/<core>_privileged_common_seq
Completion Criteria
Verify that relevant riscv-dv hash includes the fix setting mie to 0. If this is the case, then remove the <core>_privileged_common_seq overrides from all affected cv32-cores References to this override in <core>_instr_base_test removed from all affected cv32-cores