Skip to content

KVM: s390: Additional LPSW/E fixes

Janosch Frank kvm linux-s390 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: s390: selftests: Add load psw bear testtools/testing/selftests/kvm/Makefile.kvm tools/testing/selftests/kvm/s390/bear.c+251 -00 replies
2/3kvm: s390: Fix LPSW/E early exception bear behaviorarch/s390/kvm/priv.c+6 -20 replies
3/3kvm: s390: Fix lpsw/e spec exception ilc reportingarch/s390/kvm/priv.c+12 -42 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] KVM: s390: Additional LPSW/E fixes

Another round of fixups for LPSW/E since Heiko found a problem with my fix and I found another pre-existing issue where the ilc is not being set to 0.

To verify my fixes I've added code to the bear test which loads an invalid PSW and checks the bear and ilc values. Due to the current s390 lib state I had to resort to real address memory accesses.

I'd expect the fixes to arrive via master while the test moves through next landing after Christian's cpumodel change.

I've added \n two the first fix to make the code a bit more readable.

Janosch Frank (3):
KVM: s390: selftests: Add load psw bear test
kvm: s390: Fix LPSW/E early exception bear behavior
kvm: s390: Fix lpsw/e spec exception ilc reporting

 arch/s390/kvm/priv.c                     |  20 +-
 tools/testing/selftests/kvm/Makefile.kvm |   1 +
 tools/testing/selftests/kvm/s390/bear.c  | 250 +++++++++++++++++++++++
 3 files changed, 267 insertions(+), 4 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/s390/bear.c
Signature · 1 line
2.51.0