Hi, I'm porting LuaJIT to RISC-V, our binary built with musl would occasionally SIGILL at patched JIT insns. It looks that musl's __riscv_flush_icache is faulty, which may be the cause of this cache coherency issue. For the patch, see the attachments. Since I'm not a subscriber to the musl list, CC me please.