[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 0/1] s390x: css: pong, channel subsystem test device

From: Pierre Morel
Subject: [PATCH v3 0/1] s390x: css: pong, channel subsystem test device
Date: Thu, 20 Feb 2020 12:59:24 +0100

This patch series presents a device to test the channel subsystem.

Currently it only does the following:
- answer to WRITE requests by incrementing an integer stored as
  string in the data of a PONG_WRITE CCW command.
- send back the same buffer, with the incremented integer when
  receiving a PONG_READ CCW command.
- defines a Control Unit property.

Pierre Morel (1):
  s390x: css: pong, channel subsystem test device

 default-configs/s390x-softmmu.mak |   1 +
 hw/s390x/Kconfig                  |   3 +
 hw/s390x/Makefile.objs            |   1 +
 hw/s390x/ccw-pong.c               | 140 ++++++++++++++++++++++++++++++
 include/hw/s390x/pong.h           |  54 ++++++++++++
 5 files changed, 199 insertions(+)
 create mode 100644 hw/s390x/ccw-pong.c
 create mode 100644 include/hw/s390x/pong.h



v2 to v3:
- use device_class_set_props() instead to access
  the properties directly

v1 to v2:
- use ccw_dstream_xxx_buf (Connie)
- adding a cu_type property
- testing the ccw.count
- conditional compiling for TEST_DEVICES (Connie, Thomas)
- suppress the device categorie (Connie ?)
- adding write callback and some funny protocol

reply via email to

[Prev in Thread] Current Thread [Next in Thread]