Skip to content

s390x: firq: floating interrupt test

David Hildenbrand kvm linux-s390 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 9 repliesIn review
  2. v12 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- Remove flag logic
- Extend comments
- Minor cleanups
- sclp_clear_busy() before printing to the SCLP console

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2s390x: make smp_cpu_setup() return 0 on successlib/s390x/smp.c+1 -00 replies
2/2s390x: firq: floating interrupt testlib/s390x/sclp.c lib/s390x/sclp.h s390x/Makefile +2 more+142 -38 replies

Reviews trailers per patch

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

PatchThomas HuthClaudio ImbrendaJanosch Frank
1/2R-b R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [kvm-unit-tests PATCH v2 0/2] s390x: firq: floating interrupt test

From patch #2:

"
We had a KVM BUG fixed by kernel commit a3e03bc1368c ("KVM: s390: index kvm->arch.idle_mask by vcpu_idx"), whereby a floating interrupt might get stuck forever because a CPU in the wait state would not get woken up.

The issue can be triggered when CPUs are created in a nonlinear fashion, such that the CPU address ("core-id") and the KVM cpu id don't match.

So let's start with a floating interrupt test that will trigger a floating interrupt (via SCLP) to be delivered to a CPU in the wait state. "

v1 -> v2:
- Remove flag logic
- Extend comments
- Minor cleanups
- sclp_clear_busy() before printing to the SCLP console

David Hildenbrand (2):
s390x: make smp_cpu_setup() return 0 on success
s390x: firq: floating interrupt test

 lib/s390x/sclp.c    |  11 ++--
 lib/s390x/sclp.h    |   1 +
 lib/s390x/smp.c     |   1 +
 s390x/Makefile      |   1 +
 s390x/firq.c        | 122 ++++++++++++++++++++++++++++++++++++++++++++
 s390x/unittests.cfg |  10 ++++
 6 files changed, 143 insertions(+), 3 deletions(-)
 create mode 100644 s390x/firq.c
Signature · 1 line
2.31.1