public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v4 0/2] s390x: add tests for diag258
@ 2024-10-10  7:11 Nico Boehr
  2024-10-10  7:11 ` [kvm-unit-tests PATCH v4 1/2] s390x: edat: move LC_SIZE to arch_def.h Nico Boehr
  2024-10-10  7:11 ` [kvm-unit-tests PATCH v4 2/2] s390x: add test for diag258 Nico Boehr
  0 siblings, 2 replies; 5+ messages in thread
From: Nico Boehr @ 2024-10-10  7:11 UTC (permalink / raw)
  To: frankja, imbrenda, thuth; +Cc: kvm, linux-s390

v4:
---
* fix alignment (thanks Claudio)

v3:
---
* reverse christmas tree (thanks Claudio)
* test invalid refcodes first since other test rely on it (thanks Claudio)
* use an invalid refbk to detect whether diag is available

v2:
---
* do not run test under TCG

Add tests for diag258 handling on s390x.

There recently was a bugfix in the kernel:
https://lore.kernel.org/r/20240917151904.74314-2-nrb@linux.ibm.com

This adds tests for it.

Nico Boehr (2):
  s390x: edat: move LC_SIZE to arch_def.h
  s390x: add test for diag258

 lib/s390x/asm/arch_def.h |   1 +
 s390x/Makefile           |   1 +
 s390x/diag258.c          | 259 +++++++++++++++++++++++++++++++++++++++
 s390x/edat.c             |   1 -
 s390x/unittests.cfg      |   3 +
 5 files changed, 264 insertions(+), 1 deletion(-)
 create mode 100644 s390x/diag258.c

-- 
2.46.2


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

end of thread, other threads:[~2024-10-10 10:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-10  7:11 [kvm-unit-tests PATCH v4 0/2] s390x: add tests for diag258 Nico Boehr
2024-10-10  7:11 ` [kvm-unit-tests PATCH v4 1/2] s390x: edat: move LC_SIZE to arch_def.h Nico Boehr
2024-10-10 10:07   ` Claudio Imbrenda
2024-10-10  7:11 ` [kvm-unit-tests PATCH v4 2/2] s390x: add test for diag258 Nico Boehr
2024-10-10 10:08   ` Claudio Imbrenda

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