qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: gaosong <gaosong@loongson.cn>, Bibo Mao <maobibo@loongson.cn>,
	Richard Henderson <richard.henderson@linaro.org>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>, qemu-devel@nongnu.org
Subject: Re: [PATCH 0/2] target/loongarch: Fix some TLB flush issues
Date: Tue, 18 Nov 2025 16:39:53 +0100	[thread overview]
Message-ID: <322d40f9-7c21-414b-a038-9a36b679f684@linaro.org> (raw)
In-Reply-To: <f1b8c890-0857-d1ba-ef43-26981c54c241@loongson.cn>

On 14/10/25 12:01, gaosong wrote:
> 在 2025/10/9 上午10:59, Bibo Mao 写道:
>> There are two problems with TLB flush, one is that loongArch TLB entry
>> should be invalidated with different ASID, the other is global TLB entry
>> should be skippped when calculating replaced TLB entry.
>>
>> With these two patches, it improves VM boot time also. VM boot time from
>> generic qcow file reduces to 300 seconds from previous 600 seconds.
>>
>> Bibo Mao (2):
>>    target/loongarch: Add missing TLB flush with different asid
>>    target/loongarch: Skip global TLB when calculating replaced TLB
>>
>>   target/loongarch/tcg/tlb_helper.c | 22 +++++++++++++---------
>>   1 file changed, 13 insertions(+), 9 deletions(-)
>>
>>
>> base-commit: 37ad0e48e9fd58b170abbf31c18a994346f62ed7
> Reviewed-by: Song Gao <gaosong@loongson.cn>

Merged as 2e9ff01a912 & f72848e31fb.


      reply	other threads:[~2025-11-18 15:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-09  2:59 [PATCH 0/2] target/loongarch: Fix some TLB flush issues Bibo Mao
2025-10-09  2:59 ` [PATCH 1/2] target/loongarch: Add missing TLB flush with different asid Bibo Mao
2025-10-14  9:10   ` gaosong
2025-10-09  2:59 ` [PATCH 2/2] target/loongarch: Skip global TLB when calculating replaced TLB Bibo Mao
2025-10-14  9:11   ` gaosong
2025-10-14 10:01 ` [PATCH 0/2] target/loongarch: Fix some TLB flush issues gaosong
2025-11-18 15:39   ` Philippe Mathieu-Daudé [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=322d40f9-7c21-414b-a038-9a36b679f684@linaro.org \
    --to=philmd@linaro.org \
    --cc=gaosong@loongson.cn \
    --cc=jiaxun.yang@flygoat.com \
    --cc=maobibo@loongson.cn \
    --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).