mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] RISC-V: KVM: Fix hugepage mapping handling during dirty logging
@ 2026-03-04  9:21 wang.yechao255
  2026-03-04  9:26 ` [PATCH v2 1/3] RISC-V: KVM: Fix lost write protection on huge pages " wang.yechao255
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: wang.yechao255 @ 2026-03-04  9:21 UTC (permalink / raw)
  To: anup, atish.patra, pjw, palmer, aou, alex
  Cc: kvm, kvm-riscv, linux-riscv, linux-kernel, wang.yechao255

From: Wang Yechao <wang.yechao255@zte.com.cn>

This series fixes an issue where dirty logging fails to work correctly
with huge pages.

v1 -> v2:
  - fix the lost write protection on huge pages
  - split huge pages before handling the write protection fault.

  - Link to v1:
  https://lore.kernel.org/linux-riscv/20260226172245358qVZavIykLL2QC0KoqTO-I@zte.com.cn/T/#u

Wang Yechao (3):
  RISC-V: KVM: Fix lost write protection on huge pages during dirty
    logging
  RISC-V: KVM: Allow splitting huge pages to arbitrary level
  RISC-V: KVM: Split huge pages during fault handling for dirty logging

 arch/riscv/include/asm/kvm_gstage.h |  4 ++
 arch/riscv/kvm/gstage.c             | 85 +++++++++++++++++++++++++++--
 2 files changed, 85 insertions(+), 4 deletions(-)

-- 
2.47.3

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

end of thread, other threads:[~2026-03-06  3:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-04  9:21 [PATCH v2 0/3] RISC-V: KVM: Fix hugepage mapping handling during dirty logging wang.yechao255
2026-03-04  9:26 ` [PATCH v2 1/3] RISC-V: KVM: Fix lost write protection on huge pages " wang.yechao255
2026-03-06  3:19   ` Nutty.Liu
2026-03-04  9:28 ` [PATCH v2 2/3] RISC-V: KVM: Allow splitting huge pages to arbitrary level wang.yechao255
2026-03-04  9:30 ` [PATCH v2 3/3] RISC-V: KVM: Split huge pages during fault handling for dirty logging wang.yechao255

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®