Skip to content

RFC KVM: s390: vsie: protect from VCPUS modifying the SCB

David Hildenbrand kvm linux-s390 1 version Applied

Status from this message: thanks applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: s390 vsie: use READ_ONCE to access some SCB fieldsarch/s390/kvm/vsie.c+31 -192 replies
2/2KVM: s390: vsie: store guest addresses of satellite blocks in vsie_pagearch/s390/kvm/vsie.c+22 -152 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChristian BorntraegerCornelia Huck
1/2R-b A-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RFC 0/2] KVM: s390: vsie: protect from VCPUS modifying the SCB

As the (nested) SCB is just guest memory, other VCPUs can try to modify it while we are building our shadow SCB.

Let's avoid unpredictable behavior by adding some READ_ONCE and refactoring unpinning of satellite control blocks.

Compile tested only for now.

David Hildenbrand (2):
KVM: s390 vsie: use READ_ONCE to access some SCB fields
KVM: s390: vsie: store guest addresses of satellite blocks in
vsie_page

 arch/s390/kvm/vsie.c | 87 ++++++++++++++++++++++++++++++++--------------------
 1 file changed, 53 insertions(+), 34 deletions(-)
Signature · 1 line
2.14.3