qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] target/loongarch: Fix some TLB flush issues
@ 2025-10-09  2:59 Bibo Mao
  2025-10-09  2:59 ` [PATCH 1/2] target/loongarch: Add missing TLB flush with different asid Bibo Mao
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Bibo Mao @ 2025-10-09  2:59 UTC (permalink / raw)
  To: Song Gao, Richard Henderson, Philippe Mathieu-Daudé
  Cc: Jiaxun Yang, qemu-devel

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
-- 
2.39.3



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-11-18 15:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).