target/riscv: Avoid leaking "no translation" TLB entries
The ISA doesn't allow bare mappings to be cached, as the caches are translations and bare mppings are not translated. We cache these translations in QEMU in order to utilize the TLB code, but that leaks out to the guest. Suggested-by: phantom@zju.edu.cn # no name in the From field Fixes: 1e0d985f ("target/riscv: Only flush TLB if SATP.ASID changes") Signed-off-by:Palmer Dabbelt <palmer@rivosinc.com> Reviewed-by:
Alistair Francis <alistair.francis@wdc.com> Message-Id: <20220330165913.8836-1-palmer@rivosinc.com> Signed-off-by:
Alistair Francis <alistair.francis@wdc.com>
Please register or sign in to comment