Files
opensbi/include/sbi
Samuel Holland cb8271c8e4 lib: sbi_illegal_insn: Add emulation for fence.tso
While OpenC906 appears to properly decode `fence.tso` as a fence
instruction[1], the version of the C906 taped out in the Allwinner D1
does not, and raises illegal instruction.

Handle this errata by emulating `fence.tso` as `fence rw, rw`.

[1]: https://github.com/T-head-Semi/openc906/blob/30827e7f/C906_RTL_FACTORY/gen_rtl/idu/rtl/aq_idu_id_decd.v#L2097

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Anup Patel <anup@brainfault.org>
2022-06-01 17:20:20 +05:30
..
2020-03-11 15:29:45 +05:30
2021-04-05 13:43:08 +05:30
2021-07-11 10:23:18 +05:30
2020-01-07 12:11:48 +05:30
2021-10-11 09:59:29 +05:30
2021-12-24 17:27:44 +05:30