From: Richard Henderson <richard.henderson@linaro.org>
To: Bibo Mao <maobibo@loongson.cn>, Song Gao <gaosong@loongson.cn>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>, qemu-devel@nongnu.org
Subject: Re: [PATCH v4 08/19] target/loongarch: Add common function loongarch_check_pte()
Date: Tue, 29 Jul 2025 19:55:38 -1000 [thread overview]
Message-ID: <183474fe-9a52-42c9-8e3f-e28da316b96c@linaro.org> (raw)
In-Reply-To: <20250730030202.3425934-9-maobibo@loongson.cn>
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<maobibo@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.henderson@linaro.org>
r~
next prev parent reply other threads:[~2025-07-30 5:56 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-30 3:01 [PATCH v4 00/19] target/loongarch: Enhancement about tcg mmu Bibo Mao
2025-07-30 3:01 ` [PATCH v4 01/19] target/loongarch: Move some function definition to kvm directory Bibo Mao
2025-09-01 6:50 ` Philippe Mathieu-Daudé
2025-07-30 3:01 ` [PATCH v4 02/19] target/loongarch: Define function loongarch_cpu_post_init as static Bibo Mao
2025-07-30 3:01 ` [PATCH v4 03/19] target/loongarch: Set page size in TLB entry with STLB Bibo Mao
2025-08-28 2:38 ` Bibo Mao
2025-08-29 1:27 ` gaosong
2025-07-30 3:01 ` [PATCH v4 04/19] target/loongarch: Add header file cpu-mmu.h Bibo Mao
2025-09-01 6:47 ` Philippe Mathieu-Daudé
2025-07-30 3:01 ` [PATCH v4 05/19] target/loongarch: Add enum type TLBRet definition Bibo Mao
2025-07-30 5:53 ` Richard Henderson
2025-09-01 6:47 ` Philippe Mathieu-Daudé
2025-07-30 3:01 ` [PATCH v4 06/19] target/loongarch: Use vaddr in get_physical_address() Bibo Mao
2025-07-30 5:54 ` Richard Henderson
2025-09-01 6:46 ` Philippe Mathieu-Daudé
2025-07-30 3:01 ` [PATCH v4 07/19] target/loongarch: Use MMUAccessType in loongarch_map_tlb_entry() Bibo Mao
2025-07-30 5:54 ` Richard Henderson
2025-09-01 6:50 ` Philippe Mathieu-Daudé
2025-07-30 3:01 ` [PATCH v4 08/19] target/loongarch: Add common function loongarch_check_pte() Bibo Mao
2025-07-30 5:55 ` Richard Henderson [this message]
2025-07-30 3:01 ` [PATCH v4 09/19] target/loongarch: Use loongarch_check_pte in loongarch_page_table_walker Bibo Mao
2025-07-30 3:01 ` [PATCH v4 10/19] target/loongarch: Use MMUConext in loongarch_map_tlb_entry() Bibo Mao
2025-07-30 5:57 ` Richard Henderson
2025-07-30 3:01 ` [PATCH v4 11/19] target/loongarch: Use MMUContext in loongarch_get_addr_from_tlb Bibo Mao
2025-07-30 5:58 ` Richard Henderson
2025-07-30 3:01 ` [PATCH v4 12/19] target/loongarch: Use MMUContext in loongarch_map_address() Bibo Mao
2025-07-30 6:06 ` Richard Henderson
2025-07-30 3:08 ` [PATCH v4 13/19] target/loongarch: Use MMUContext in get_physical_address() Bibo Mao
2025-07-30 6:09 ` Richard Henderson
2025-07-30 3:10 ` [PATCH v4 14/19] target/loongarch: Track user space address accessed in kernel mode Bibo Mao
2025-07-30 3:10 ` [PATCH v4 15/19] target/loongarch: Use correct address when flush tlb Bibo Mao
2025-07-30 6:12 ` Richard Henderson
2025-07-30 3:11 ` [PATCH v4 16/19] target/loongarch: Use mmu idx bitmap method " Bibo Mao
2025-07-30 3:11 ` [PATCH v4 17/19] target/loongarch: Add parameter tlb pointer with fill_tlb_entry Bibo Mao
2025-07-30 3:12 ` [PATCH v4 18/19] target/loongarch: Reduce TLB flush with helper_tlbwr Bibo Mao
2025-07-30 3:13 ` [PATCH v4 19/19] target/loongarch: Update TLB index selection method Bibo Mao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=183474fe-9a52-42c9-8e3f-e28da316b96c@linaro.org \
--to=richard.henderson@linaro.org \
--cc=gaosong@loongson.cn \
--cc=jiaxun.yang@flygoat.com \
--cc=maobibo@loongson.cn \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).