On 7/29/25 17:01, Bibo Mao wrote:
Common function loongarch_check_pte() is to check tlb entry, return
the physical address and access priviledge if found. Also it can be
used with page table entry, which is used in page table walker.

Signed-off-by: Bibo Mao<maob...@loongson.cn>
---
  target/loongarch/cpu-mmu.h        | 10 +++++
  target/loongarch/cpu_helper.c     | 61 ++++++++++++++++++++++++++++
  target/loongarch/tcg/tlb_helper.c | 66 ++++++-------------------------
  3 files changed, 83 insertions(+), 54 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to