public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v1 0/2] s390x: firq: floating interrupt test
@ 2021-12-02  9:58 David Hildenbrand
  2021-12-02  9:58 ` [kvm-unit-tests PATCH v1 1/2] s390x: make smp_cpu_setup() return 0 on success David Hildenbrand
  2021-12-02  9:58 ` [kvm-unit-tests PATCH v1 2/2] s390x: firq: floating interrupt test David Hildenbrand
  0 siblings, 2 replies; 11+ messages in thread
From: David Hildenbrand @ 2021-12-02  9:58 UTC (permalink / raw)
  To: kvm
  Cc: Thomas Huth, Janosch Frank, Christian Borntraeger,
	Claudio Imbrenda, Sebastian Mitterle, Halil Pasic, linux-s390,
	David Hildenbrand

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.
"

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

 lib/s390x/smp.c     |   1 +
 s390x/Makefile      |   1 +
 s390x/firq.c        | 141 ++++++++++++++++++++++++++++++++++++++++++++
 s390x/unittests.cfg |  10 ++++
 4 files changed, 153 insertions(+)
 create mode 100644 s390x/firq.c

-- 
2.31.1


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

end of thread, other threads:[~2021-12-02 12:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-02  9:58 [kvm-unit-tests PATCH v1 0/2] s390x: firq: floating interrupt test David Hildenbrand
2021-12-02  9:58 ` [kvm-unit-tests PATCH v1 1/2] s390x: make smp_cpu_setup() return 0 on success David Hildenbrand
2021-12-02 10:30   ` Thomas Huth
2021-12-02 10:33   ` Claudio Imbrenda
2021-12-02 11:28   ` Janosch Frank
2021-12-02  9:58 ` [kvm-unit-tests PATCH v1 2/2] s390x: firq: floating interrupt test David Hildenbrand
2021-12-02 11:01   ` Claudio Imbrenda
2021-12-02 11:13     ` David Hildenbrand
2021-12-02 11:26       ` David Hildenbrand
2021-12-02 12:07       ` Claudio Imbrenda
2021-12-02 12:24         ` David Hildenbrand

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