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 target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
csr_helper.c system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00
fpu_helper.c target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
iocsr_helper.c hw/loongarch/virt: Set iocsr address space per-board rather than percpu 2024-01-11 19:22:47 +08:00
meson.build target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
op_helper.c target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
tlb_helper.c target/loongarch: Fix helper_lddir() a CID INTEGER_OVERFLOW issue 2024-07-24 16:52:18 +08:00
translate.c accel/tcg: Provide default implementation of disas_log 2024-05-15 08:55:18 +02:00
vec_helper.c target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00