public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] KVM: s390: Additional LPSW/E fixes
@ 2026-04-23 12:36 Janosch Frank
  2026-04-23 12:36 ` [PATCH 1/3] KVM: s390: selftests: Add load psw bear test Janosch Frank
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Janosch Frank @ 2026-04-23 12:36 UTC (permalink / raw)
  To: kvm; +Cc: linux-s390, imbrenda, borntraeger, hca

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

-- 
2.51.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-23 14:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-23 12:36 [PATCH 0/3] KVM: s390: Additional LPSW/E fixes Janosch Frank
2026-04-23 12:36 ` [PATCH 1/3] KVM: s390: selftests: Add load psw bear test Janosch Frank
2026-04-23 12:36 ` [PATCH 2/3] kvm: s390: Fix LPSW/E early exception bear behavior Janosch Frank
2026-04-23 12:36 ` [PATCH 3/3] kvm: s390: Fix lpsw/e spec exception ilc reporting Janosch Frank
2026-04-23 13:36   ` Heiko Carstens
2026-04-23 14:12     ` Janosch Frank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox