mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/6] LoongArch: KVM: Fix some issues relative with mmu
@ 2024-06-19  8:09 Bibo Mao
  2024-06-19  8:09 ` [PATCH v2 1/6] LoongArch: KVM: Delay secondary mmu tlb flush until guest entry Bibo Mao
                   ` (5 more replies)
  0 siblings, 6 replies; 22+ messages in thread
From: Bibo Mao @ 2024-06-19  8:09 UTC (permalink / raw)
  To: Tianrui Zhao, Huacai Chen
  Cc: WANG Xuerui, Sean Christopherson, kvm, loongarch, linux-kernel

This patchset is mmu relative, it fixes potential issue about tlb flush 
of secondary mmu and huge page selection etc. Also it hardens LoongArch
kvm mmu module.

With this patchset, VM migration is stabler than before.

Bibo Mao (6):
  LoongArch: KVM: Delay secondary mmu tlb flush until guest entry
  LoongArch: KVM: Select huge page only if secondary mmu supports it
  LoongArch: KVM: Discard dirty page tracking on readonly memslot
  LoongArch: KVM: Add memory barrier before update pmd entry
  LoongArch: KVM: Add dirty bitmap initially all set support
  LoongArch: KVM: Mark page accessed and dirty with page ref added

 arch/loongarch/include/asm/kvm_host.h |  5 ++
 arch/loongarch/include/asm/kvm_mmu.h  |  2 +-
 arch/loongarch/kvm/main.c             |  1 +
 arch/loongarch/kvm/mmu.c              | 67 ++++++++++++++++++++-------
 arch/loongarch/kvm/tlb.c              |  5 +-
 arch/loongarch/kvm/vcpu.c             | 18 +++++++
 6 files changed, 75 insertions(+), 23 deletions(-)


base-commit: 92e5605a199efbaee59fb19e15d6cc2103a04ec2
-- 
2.39.3


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

end of thread, other threads:[~2024-06-24  6:00 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-19  8:09 [PATCH v2 0/6] LoongArch: KVM: Fix some issues relative with mmu Bibo Mao
2024-06-19  8:09 ` [PATCH v2 1/6] LoongArch: KVM: Delay secondary mmu tlb flush until guest entry Bibo Mao
2024-06-23  7:54   ` Huacai Chen
2024-06-24  1:22     ` maobibo
2024-06-24  1:58       ` Huacai Chen
2024-06-24  2:35         ` maobibo
2024-06-19  8:09 ` [PATCH v2 2/6] LoongArch: KVM: Select huge page only if secondary mmu supports it Bibo Mao
2024-06-23  7:55   ` Huacai Chen
2024-06-24  1:28     ` maobibo
2024-06-19  8:09 ` [PATCH v2 3/6] LoongArch: KVM: Discard dirty page tracking on readonly memslot Bibo Mao
2024-06-19  8:09 ` [PATCH v2 4/6] LoongArch: KVM: Add memory barrier before update pmd entry Bibo Mao
2024-06-23 10:18   ` Huacai Chen
2024-06-24  1:37     ` maobibo
2024-06-24  1:56       ` Huacai Chen
2024-06-24  2:21         ` maobibo
2024-06-24  4:18           ` Huacai Chen
2024-06-24  6:00             ` WANG Rui
2024-06-19  8:09 ` [PATCH v2 5/6] LoongArch: KVM: Add dirty bitmap initially all set support Bibo Mao
2024-06-19  8:09 ` [PATCH v2 6/6] LoongArch: KVM: Mark page accessed and dirty with page ref added Bibo Mao
2024-06-20  3:05   ` kernel test robot
2024-06-22  5:21   ` Huacai Chen
2024-06-24  1:12     ` maobibo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®