From: gaosong <gaosong@loongson.cn>
To: qemu-devel@nongnu.org, richard.henderson@linaro.org, philmd@linaro.org
Cc: maobibo@loongson.cn
Subject: Re: [PATCH v2 0/5] LoongArch/tcg: Add hardware page table walker support
Date: Tue, 22 Oct 2024 19:56:22 +0800 [thread overview]
Message-ID: <8a789df9-542b-a0fd-be21-df5fc34ecec7@loongson.cn> (raw)
In-Reply-To: <20241010063536.2276871-1-gaosong@loongson.cn>
Ping!
在 2024/10/10 下午2:35, Song Gao 写道:
> Loongson-3A6000 and newer processors have hardware page table walker
> (PTW) support. PTW can handle all fastpaths of PIL/PIS/PIF/PIE
> exceptions by hardware.
>
> V2:
> - Remove the '21' magic value, patch1;
> - Add a flag is_debug for debug access, patch5;
> - Use qatomic_cmpxchg to change the new pte_val, patch5.
>
> Song Gao (5):
> target/loongarch: Add a new cpu_type la664
> target/loongarch: Add do_lddir/ldpte()
> target/loongarch: Add do_fill_tlb_entry()
> target/loongarch: Add get_random_tlb_index()
> target/loongarch/tcg: Add hardware page table walker support
>
> target/loongarch/cpu-csr.h | 3 +
> target/loongarch/cpu.c | 51 ++++--
> target/loongarch/cpu.h | 1 +
> target/loongarch/cpu_helper.c | 26 ++-
> target/loongarch/internals.h | 4 +-
> target/loongarch/tcg/tlb_helper.c | 277 ++++++++++++++++++++++++------
> 6 files changed, 293 insertions(+), 69 deletions(-)
>
prev parent reply other threads:[~2024-10-22 11:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-10 6:35 [PATCH v2 0/5] LoongArch/tcg: Add hardware page table walker support Song Gao
2024-10-10 6:35 ` [PATCH v2 1/5] target/loongarch: Add a new cpu_type la664 Song Gao
2024-10-10 6:35 ` [PATCH v2 2/5] target/loongarch: Add do_lddir/ldpte() Song Gao
2024-10-10 6:35 ` [PATCH v2 3/5] target/loongarch: Add do_fill_tlb_entry() Song Gao
2024-10-10 6:35 ` [PATCH v2 4/5] target/loongarch: Add get_random_tlb_index() Song Gao
2024-10-10 6:35 ` [PATCH v2 5/5] target/loongarch/tcg: Add hardware page table walker support Song Gao
2024-11-05 14:27 ` Richard Henderson
2024-11-07 12:41 ` gaosong
2024-10-22 11:56 ` gaosong [this message]
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=8a789df9-542b-a0fd-be21-df5fc34ecec7@loongson.cn \
--to=gaosong@loongson.cn \
--cc=maobibo@loongson.cn \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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).