Skip to content

KVM: s390: Fix lpsw/e breaking event handling

Janosch Frank kvm linux-s390 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

v2 from the cover letter

- BEAR needs to be current psw address - ilen since code 04 is suppressing
- Added simple test
---
Janosch Frank (2):
KVM: s390: Fix lpsw/e breaking event handling
KVM: s390: selftests: Add load psw bear test

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: s390: Fix lpsw/e breaking event handlingarch/s390/kvm/priv.c+6 -24 replies
2/2KVM: s390: selftests: Add load psw bear testtools/testing/selftests/kvm/Makefile.kvm tools/testing/selftests/kvm/s390/bear.c+185 -04 replies

Reviews trailers per patch

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

PatchChristian BorntraegerClaudio Imbrenda
1/2R-b R-b
2/2R-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 0/2] KVM: s390: Fix lpsw/e breaking event handling

LPSW and LPSWE need to set the gbea on completion but currently don't. Time to fix this up. LPSWEY was designed to not set the bear.

This is only ever problematic when a machine check is pending and the guest hasn't opened the PSW machine check mask. In all other cases SIE handles the BEAR. So impact is very low.

---
v2:
- BEAR needs to be current psw address - ilen since code 04 is suppressing
- Added simple test
---
Janosch Frank (2):
KVM: s390: Fix lpsw/e breaking event handling
KVM: s390: selftests: Add load psw bear test

 arch/s390/kvm/priv.c                     |   8 +-
 tools/testing/selftests/kvm/Makefile.kvm |   1 +
 tools/testing/selftests/kvm/s390/bear.c  | 184 +++++++++++++++++++++++
 3 files changed, 191 insertions(+), 2 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/s390/bear.c
Signature · 1 line
2.51.0