On 6/26/19 10:25 AM, Palmer Dabbelt wrote: >> You misunderstand. The code is exactly correct as-is. The alignment check >> happens implicitly as a part of the softmmu tlb resolution. > > Sorry, I thought you said it wasn't happening for linux-user? If it happens > for both then we're good.
Oh, that. No, there's no better way for linux-user. Though honestly, if we're going to fix this, it should be done in tcg/* rather than adding hacks within target/riscv. r~