linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] KVM: Fix refaulting due to page table update
@ 2018-08-13  9:40 Punit Agrawal
  2018-08-13  9:40 ` [PATCH v2 1/2] KVM: arm/arm64: Skip updating PMD entry if no change Punit Agrawal
  2018-08-13  9:40 ` [PATCH v2 2/2] KVM: arm/arm64: Skip updating PTE " Punit Agrawal
  0 siblings, 2 replies; 8+ messages in thread
From: Punit Agrawal @ 2018-08-13  9:40 UTC (permalink / raw)
  To: kvmarm
  Cc: Punit Agrawal, linux-arm-kernel, linux-kernel, suzuki.poulose,
	marc.zyngier, christoffer.dall

Hi,

Here's a couple of patches to fix an issue when multiple vcpus fault
on a page table entry[0]. The issue was reported by a user when testing
PUD hugepage support[1] but also exists for PMD and PTE updates though
with a lower probability.

In this version -

* the fix has been split for PMD hugepage and PTE update
* refactored the PMD fix
* applied fixes tag and cc'ing to stable

Thanks,
Punit

[0] https://lkml.org/lkml/2018/8/10/256
[1] https://lkml.org/lkml/2018/7/16/482

Punit Agrawal (2):
  KVM: arm/arm64: Skip updating PMD entry if no change
  KVM: arm/arm64: Skip updating PTE entry if no change

 virt/kvm/arm/mmu.c | 45 ++++++++++++++++++++++++++++++++++-----------
 1 file changed, 34 insertions(+), 11 deletions(-)

-- 
2.18.0


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

end of thread, other threads:[~2018-08-13 10:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-13  9:40 [PATCH v2 0/2] KVM: Fix refaulting due to page table update Punit Agrawal
2018-08-13  9:40 ` [PATCH v2 1/2] KVM: arm/arm64: Skip updating PMD entry if no change Punit Agrawal
2018-08-13  9:46   ` Suzuki K Poulose
2018-08-13 10:01     ` Punit Agrawal
2018-08-13 10:11   ` Marc Zyngier
2018-08-13 10:18     ` Punit Agrawal
2018-08-13  9:40 ` [PATCH v2 2/2] KVM: arm/arm64: Skip updating PTE " Punit Agrawal
2018-08-13  9:47   ` Suzuki K Poulose

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).