Re: [PATCH 4/4] target/riscv: Set the value of CSR tcontrol when mret is executed

2024-02-16 Thread Daniel Henrique Barboza
On 2/16/24 03:13, Alvin Chang wrote: The RISC-V debug specification defines the following operation for CSR tcontrol when "mret" is executed: - tcontrol.MTE is set to the value of tcontrol.MPTE This commit implements the above operation into helper_mret(). Note that from tech-debug mailing l

[PATCH 4/4] target/riscv: Set the value of CSR tcontrol when mret is executed

2024-02-15 Thread Alvin Chang via
The RISC-V debug specification defines the following operation for CSR tcontrol when "mret" is executed: - tcontrol.MTE is set to the value of tcontrol.MPTE This commit implements the above operation into helper_mret(). Note that from tech-debug mailing list: https://lists.riscv.org/g/tech-debug/