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.
Anyway, Reviewed-by: Richard Henderson <[email protected]> r~
