summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorRahul Pathak <[email protected]>2022-08-12 19:24:42 +0530
committerAnup Patel <[email protected]>2022-08-22 08:57:23 +0530
commit111afc12306e4368fa112f97d31ea802c4561294 (patch)
treeb0b9ea6547e3464f23724bcf00913518d4497a2e /lib/utils
parenta69eb6cc65a16f26455bfb5b7cab768ac891bc1d (diff)
lib: sbi_illegal_insn: Fix FENCE.TSO emulation infinite trap loop
In case of missing "FENCE.TSO" instruction implementation, opensbi can emulate the "FENCE.TSO" with "FENCE RW,RW", but mepc was not incremented to continue from the next instruction causing infinite trap. Fixes: cb8271c8 ("lib: sbi_illegal_insn: Add emulation for fence.tso") Signed-off-by: Rahul Pathak <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Xiang W <[email protected]> Reviewed-by: Samuel Holland <[email protected]>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions