On 2025/9/3 下午9:20, Richard Henderson wrote:
On 9/3/25 10:48, Bibo Mao wrote:+ ret = loongarch_tlb_search_cb(env, addr, &index, asid, func); + if (!ret) { + return; } + + tlb = &env->tlb[index];Perhaps it would be better to have loongarch_tlb_search_cb return the LoongArchTLB pointer, or NULL for no match.
Sure, will add separate patch to have loongarch_tlb_search_cb return the LoongArchTLB pointer. Regards Bibo Mao
Anyway, Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~