KVM: s390: Fix lpsw/e breaking event handling
Get series with b4
b4 am [email protected]Versions newest first
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: s390: Fix lpsw/e breaking event handlingarch/ | +6 | 4 replies | |
| 2/2 | KVM: s390: selftests: Add load psw bear testtools/ tools/ | +185 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Christian Borntraeger | Claudio Imbrenda |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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