On Tue, Sep 14, 2021 at 11:37 AM wrote:
>
> From: Frank Chang
>
> When virtual registers are swapped, mstatus.SD bit should also be
> backed up/restored. Otherwise, mstatus.SD bit will be incorrectly kept
> across the world switches.
>
> Signed-off-by: Frank Chang
> Reviewed-by: Vincent Chen
T
On Tue, Sep 14, 2021 at 11:37 AM wrote:
>
> From: Frank Chang
>
> When virtual registers are swapped, mstatus.SD bit should also be
> backed up/restored. Otherwise, mstatus.SD bit will be incorrectly kept
> across the world switches.
>
> Signed-off-by: Frank Chang
> Reviewed-by: Vincent Chen
R
From: Frank Chang
When virtual registers are swapped, mstatus.SD bit should also be
backed up/restored. Otherwise, mstatus.SD bit will be incorrectly kept
across the world switches.
Signed-off-by: Frank Chang
Reviewed-by: Vincent Chen
---
target/riscv/cpu_helper.c | 3 ++-
1 file changed, 2 i