On Wed, 26 Jun 2019 01:30:35 PDT (-0700), richard.hender...@linaro.org wrote:
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.
OK, I'm fine punting on it for now. If I ever get time to fix it up then we'll
attempt to do so genericly.
Thanks!