Skip to content

KVM: x86/mmu: Check write tracking in all address spaces

Artem Dinaburg kvm lkml stable 1 version Applied

Status from this message: Queued for 7.1, 6.18, 6.12, 6.6 and 6.1, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: x86/mmu: Check write tracking in all address spacesarch/x86/kvm/mmu/page_track.c+26 -60 replies
2/2KVM: x86/mmu: Check write tracking in all address spacesarch/x86/kvm/mmu/page_track.c+22 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 6.6.y+6.1.y 0/2] KVM: x86/mmu: Check write tracking in all address spaces

Please queue upstream commit 0f38453cdb2e17566ccb7c0f3dabd5bd21caca26 ("KVM: x86/mmu: Check write tracking in all address spaces") for the stable trees. It is in mainline as of v7.2-rc6.

The fix is absent by code state from 7.1.10, 6.18.46, 6.12.105, 6.6.153 and 6.1.184.

7.1.y, 6.18.y, 6.12.y: please cherry-pick the upstream commit directly. No patch is included for these trees. Commit 0f38453cdb2e applies and compiles unmodified on all three, so there is nothing to adapt:

git cherry-pick -x 0f38453cdb2e17566ccb7c0f3dabd5bd21caca26

6.6.y and 6.1.y need adapted backports; they are patches 1/2 and 2/2 of this series. On 6.6 the upstream commit applies but does not build, because KVM_MAX_NR_ADDRESS_SPACES and kvm_arch_nr_memslot_as_ids() do not exist there. On 6.1 the upstream commit conflicts: the function is still kvm_slot_page_track_is_active() and the tracking array is mode-indexed gfn_track[].

5.15.y and 5.10.y are not covered by this submission. Those trees were not assessed.

Jinu Kim (2):
[6.6.y] KVM: x86/mmu: Check write tracking in all address spaces [6.1.y] KVM: x86/mmu: Check write tracking in all address spaces

Each patch touches only arch/x86/kvm/mmu/page_track.c:
1/2 (6.6.y): 26 insertions(+), 6 deletions(-) 2/2 (6.1.y): 22 insertions(+), 6 deletions(-)

Signature · 1 line
2.43.0