[v2,0/2] KVM: s390: pv: fix two small bugs

Message ID 20230705111937.33472-1-imbrenda@linux.ibm.com
Headers
Series KVM: s390: pv: fix two small bugs |

Message

Claudio Imbrenda July 5, 2023, 11:19 a.m. UTC
  This series fixes 2 small bugs introduced with asynchronous teardown.

The first patch (unmodified since v1, but did not get any reviews)
fixes a potential race that can cause crashes during shutdown on
machines that don't support protected virtualization.

The second patch adds a missing initialization when replacing the ASCE
for a protected guest. This could potentially cause issues and crashes
if lowcore is affected.


v1->v2:

* added the second patch

Claudio Imbrenda (2):
  KVM: s390: pv: simplify shutdown and fix race
  KVM: s390: pv: fix index value of replaced ASCE

 arch/s390/kvm/pv.c  | 8 ++++++--
 arch/s390/mm/gmap.c | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)