]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: Use loongarch_tlb_search_cb in helper_invtlb_page_asid
authorBibo Mao <maobibo@loongson.cn>
Thu, 4 Sep 2025 09:52:03 +0000 (17:52 +0800)
committerBibo Mao <maobibo@loongson.cn>
Sun, 28 Sep 2025 08:10:34 +0000 (16:10 +0800)
commiteae570bdcd2d22c0e4bc058faff7f5ff874cb801
tree91a6a8e4dcec8a9f8a9dbf7e023b6ca435bf3f20
parent96e654cf3e6e03d61de447ad7117f53ed2bff998
target/loongarch: Use loongarch_tlb_search_cb in helper_invtlb_page_asid

With function helper_invtlb_page_asid(), currently it is to search
TLB entry one by one. Instead STLB can be searched at first with hash
method, and then search MTLB with one by one method

Here common API loongarch_tlb_search_cb() is used in function
helper_invtlb_page_asid()

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/loongarch/tcg/tlb_helper.c