qemu/target/loongarch/tcg
Song Gao a18ffbcf8b target/loongarch: Fix helper_lddir() a CID INTEGER_OVERFLOW issue
When the lddir level is 4 and the base is a HugePage, we may try to put value 4
into a field in the TLBENTRY that is only 2 bits wide.

Fixes: Coverity CID 1547717
Fixes: 9c70db9a43 ("target/loongarch: Fix tlb huge page loading issue")
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240724015853.1317396-1-gaosong@loongson.cn>
2024-07-24 16:52:18 +08:00
..
insn_trans target/loongarch: Remove avail_64 in trans_srai_w() and simplify it 2024-07-12 09:41:18 +08:00
constant_timer.c
csr_helper.c
fpu_helper.c
iocsr_helper.c
meson.build
op_helper.c
tlb_helper.c target/loongarch: Fix helper_lddir() a CID INTEGER_OVERFLOW issue 2024-07-24 16:52:18 +08:00
translate.c
vec_helper.c