All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] vfio-ccw: support for {halt,clear} subchannel
@ 2018-05-09 15:48 ` Cornelia Huck
  0 siblings, 0 replies; 59+ messages in thread
From: Cornelia Huck @ 2018-05-09 15:48 UTC (permalink / raw)
  To: Dong Jia Shi, Halil Pasic, Pierre Morel
  Cc: linux-s390, kvm, linux-kernel, qemu-s390x, qemu-devel, Cornelia Huck

Hi,

this (RFC) is an initial stab at passing the halt and clear subchannel
operations to the host device. Today, host userspace is emulating
those two operations, but we really want to execute them on the host
device (e.g. for error recovery situations).

The nice thing about this approach is that is independent from userspace
changes: Unless userspace forwards halt/clear requests, we behave as
before. Conversely, userspace can simply try to submit halt/clear, and
old kernels will simply indicate that it is not supported.

This survives triggering clear subchannel in the guest (hacked in by
myself) together with an update QEMU (to be posted in a moment).

Obviously, this needs some more work. Better support for async handling
comes to mind. We probably also want to support other channel I/O
instructions.

Cornelia Huck (2):
  s390/cio: export hsch to modules
  vfio-ccw: support for halt/clear subchannel

 drivers/s390/cio/ioasm.c        |  1 +
 drivers/s390/cio/vfio_ccw_drv.c | 10 ++++-
 drivers/s390/cio/vfio_ccw_fsm.c | 94 ++++++++++++++++++++++++++++++++++++-----
 3 files changed, 93 insertions(+), 12 deletions(-)

-- 
2.14.3

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

end of thread, other threads:[~2018-06-12 15:26 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09 15:48 [PATCH RFC 0/2] vfio-ccw: support for {halt,clear} subchannel Cornelia Huck
2018-05-09 15:48 ` [Qemu-devel] [PATCH RFC 0/2] vfio-ccw: support for {halt, clear} subchannel Cornelia Huck
2018-05-09 15:48 ` [PATCH RFC 1/2] s390/cio: export hsch to modules Cornelia Huck
2018-05-09 15:48   ` [Qemu-devel] " Cornelia Huck
2018-05-11  9:36   ` Pierre Morel
2018-05-11  9:36     ` [Qemu-devel] " Pierre Morel
2018-05-09 15:48 ` [PATCH RFC 2/2] vfio-ccw: support for halt/clear subchannel Cornelia Huck
2018-05-09 15:48   ` [Qemu-devel] " Cornelia Huck
2018-05-11  9:33   ` Pierre Morel
2018-05-11  9:33     ` [Qemu-devel] " Pierre Morel
2018-05-15 16:10     ` Cornelia Huck
2018-05-15 16:10       ` [Qemu-devel] " Cornelia Huck
2018-05-16 13:32       ` Pierre Morel
2018-05-16 13:32         ` [Qemu-devel] " Pierre Morel
2018-05-22 12:52         ` Cornelia Huck
2018-05-22 12:52           ` [Qemu-devel] " Cornelia Huck
2018-05-22 15:10           ` Pierre Morel
2018-05-22 15:10             ` [Qemu-devel] " Pierre Morel
2018-06-05 13:14             ` Cornelia Huck
2018-06-05 13:14               ` [Qemu-devel] " Cornelia Huck
2018-06-05 15:23               ` Pierre Morel
2018-06-05 15:23                 ` [Qemu-devel] " Pierre Morel
2018-06-05 15:36                 ` Cornelia Huck
2018-06-05 15:36                   ` [Qemu-devel] " Cornelia Huck
2018-06-06 12:21                 ` Cornelia Huck
2018-06-06 12:21                   ` [Qemu-devel] " Cornelia Huck
2018-06-06 14:15                   ` Pierre Morel
2018-06-06 14:15                     ` [Qemu-devel] " Pierre Morel
2018-06-07  9:54                     ` Cornelia Huck
2018-06-07  9:54                       ` [Qemu-devel] " Cornelia Huck
2018-06-07 16:17                       ` [qemu-s390x] " Halil Pasic
2018-06-07 16:17                         ` [Qemu-devel] " Halil Pasic
2018-06-07 16:34                         ` Cornelia Huck
2018-06-07 16:34                           ` [Qemu-devel] " Cornelia Huck
2018-06-08 20:40                           ` Halil Pasic
2018-06-08 20:40                             ` [Qemu-devel] " Halil Pasic
2018-06-11 11:12                             ` Cornelia Huck
2018-06-11 11:12                               ` [Qemu-devel] " Cornelia Huck
2018-06-11 16:00                             ` Cornelia Huck
2018-06-11 16:00                               ` [Qemu-devel] " Cornelia Huck
2018-06-07 16:37                       ` Pierre Morel
2018-06-07 16:37                         ` [Qemu-devel] " Pierre Morel
2018-06-08 12:20                         ` Cornelia Huck
2018-06-08 12:20                           ` [Qemu-devel] " Cornelia Huck
2018-06-08 13:13                           ` Halil Pasic
2018-06-08 13:13                             ` [Qemu-devel] " Halil Pasic
2018-06-08 14:45                             ` Cornelia Huck
2018-06-08 14:45                               ` [Qemu-devel] " Cornelia Huck
2018-06-08 15:51                               ` Pierre Morel
2018-06-08 15:51                                 ` [Qemu-devel] " Pierre Morel
2018-06-12  9:59                                 ` Cornelia Huck
2018-06-12  9:59                                   ` [Qemu-devel] " Cornelia Huck
2018-06-12 13:56                                   ` Pierre Morel
2018-06-12 13:56                                     ` [Qemu-devel] " Pierre Morel
2018-06-12 14:08                                     ` Halil Pasic
2018-06-12 14:08                                       ` [Qemu-devel] " Halil Pasic
2018-06-12 15:25                                       ` Cornelia Huck
2018-06-12 15:25                                         ` [Qemu-devel] " Cornelia Huck
2018-06-08 21:10                               ` Halil Pasic

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.