Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Stop returning struct page from guest_memfd PFN lookup
@ 2026-08-26  9:01 Ackerley Tng
  2026-08-26  9:01 ` [PATCH v4 1/5] KVM: SEV: Treat unassigned RMP entry as benign race on PSMASH failure Ackerley Tng
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ackerley Tng @ 2026-08-26  9:01 UTC (permalink / raw)
  To: Sean Christopherson, Paolo Bonzini, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen, x86, H. Peter Anvin, Ashish Kalra,
	Michael Roth, Brijesh Singh, Marc Zyngier, Oliver Upton,
	Joey Gouly, Steffen Eiden, Suzuki K Poulose, Zenghui Yu,
	Catalin Marinas, Will Deacon, David Hildenbrand, Yan Zhao,
	Edgecombe, Rick P, Vishal Annapurve, Fuad Tabba
  Cc: kvm, linux-kernel, linux-arm-kernel, kvmarm, Ackerley Tng

v4 splits out a new patch (3) that makes use of KVM MMU invalidation logic
introduced into the RMP fault handling in patch 2 to avoid warning on a
benign case.

Other changes in v4:

+ Took Sean's version of the changelog for patch 2
+ Picked up Fuad's Reviewed-by: and Tested-by:

v3: https://patch.msgid.link/20260820-gmem-no-return-page-v3-0-3bf8f80a7b4d@google.com
v2: https://patch.msgid.link/20260818-gmem-no-return-page-v2-0-5298f42d49bb@google.com
v1: https://patch.msgid.link/20260818-gmem-no-return-page-v1-0-4f8d939efdbc@google.com

Signed-off-by: Ackerley Tng <ackerleytng@google.com>
---
Ackerley Tng (3):
      KVM: SEV: Treat unassigned RMP entry as benign race on PSMASH failure
      KVM: SEV: Check for invalidation before warning on unassigned RMP entry
      KVM: SEV: Drop page refcount early in VMSA reload

Sean Christopherson (2):
      KVM: SEV: Drop page refcount early during RMP fault handling
      KVM: guest_memfd: Stop returning struct page from PFN lookup

 arch/arm64/kvm/mmu.c     |  4 +---
 arch/arm64/kvm/nested.c  |  4 ++--
 arch/x86/kvm/mmu/mmu.c   |  2 +-
 arch/x86/kvm/svm/sev.c   | 53 ++++++++++++++++++++++++++++--------------------
 include/linux/kvm_host.h |  6 ++----
 virt/kvm/guest_memfd.c   |  9 ++------
 6 files changed, 39 insertions(+), 39 deletions(-)
---
base-commit: 76671054f9a1ff6abb976583cd8da37650acdc97
change-id: 20260818-gmem-no-return-page-614927a29f97

Best regards,
--  
Ackerley Tng <ackerleytng@google.com>



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

end of thread, other threads:[~2026-08-26  9:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-26  9:01 [PATCH v4 0/5] Stop returning struct page from guest_memfd PFN lookup Ackerley Tng
2026-08-26  9:01 ` [PATCH v4 1/5] KVM: SEV: Treat unassigned RMP entry as benign race on PSMASH failure Ackerley Tng
2026-08-26  9:01 ` [PATCH v4 2/5] KVM: SEV: Drop page refcount early during RMP fault handling Ackerley Tng
2026-08-26  9:01 ` [PATCH v4 3/5] KVM: SEV: Check for invalidation before warning on unassigned RMP entry Ackerley Tng
2026-08-26  9:01 ` [PATCH v4 4/5] KVM: SEV: Drop page refcount early in VMSA reload Ackerley Tng
2026-08-26  9:01 ` [PATCH v4 5/5] KVM: guest_memfd: Stop returning struct page from PFN lookup Ackerley Tng

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