All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] accel/tcg: Test unaligned stores to s390x low-address-protected lowcore
@ 2022-07-25 22:37 Ilya Leoshkevich
  2022-07-25 22:37 ` [PATCH v3 1/2] qapi: Add exit-failure PanicAction Ilya Leoshkevich
  2022-07-25 22:37 ` [PATCH v3 2/2] tests/tcg/s390x: Test unaligned accesses to lowcore Ilya Leoshkevich
  0 siblings, 2 replies; 4+ messages in thread
From: Ilya Leoshkevich @ 2022-07-25 22:37 UTC (permalink / raw)
  To: Richard Henderson, David Hildenbrand, Paolo Bonzini, Eric Blake,
	Markus Armbruster
  Cc: qemu-s390x, qemu-devel, Christian Borntraeger, Ilya Leoshkevich

Hi,

This is a follow-up series for [1].

The fix has been committed.

I asked Christian what might be a good alternative for the
mmio-debug-exit device for testing, and he suggested to look into
shutdown/panic actions.

Patch 1 adds a new panic action.
Patch 2 tests unaligned stores to s390x low-address-protected lowcore;
it performs a shutdown on success and panic on failure.

Best regards,
Ilya

[1] https://lists.gnu.org/archive/html/qemu-devel/2022-07/msg01876.html

v2: https://lists.gnu.org/archive/html/qemu-devel/2022-07/msg04129.html
v2 -> v3: Add @since tag (Eric).
          Fix a small style issue in the test.

Ilya Leoshkevich (2):
  qapi: Add exit-failure PanicAction
  tests/tcg/s390x: Test unaligned accesses to lowcore

 include/sysemu/sysemu.h                 |  2 +-
 qapi/run-state.json                     |  5 ++++-
 qemu-options.hx                         |  2 +-
 softmmu/main.c                          |  6 ++++--
 softmmu/runstate.c                      | 17 +++++++++++++----
 tests/tcg/s390x/Makefile.softmmu-target |  9 +++++++++
 tests/tcg/s390x/unaligned-lowcore.S     | 19 +++++++++++++++++++
 7 files changed, 51 insertions(+), 9 deletions(-)
 create mode 100644 tests/tcg/s390x/Makefile.softmmu-target
 create mode 100644 tests/tcg/s390x/unaligned-lowcore.S

-- 
2.35.3



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

end of thread, other threads:[~2022-08-01 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-25 22:37 [PATCH v3 0/2] accel/tcg: Test unaligned stores to s390x low-address-protected lowcore Ilya Leoshkevich
2022-07-25 22:37 ` [PATCH v3 1/2] qapi: Add exit-failure PanicAction Ilya Leoshkevich
2022-08-01 14:14   ` Markus Armbruster
2022-07-25 22:37 ` [PATCH v3 2/2] tests/tcg/s390x: Test unaligned accesses to lowcore Ilya Leoshkevich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.