public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] vfio-ccw: be less trusting
@ 2018-02-22 15:39 Cornelia Huck
  2018-02-22 15:39 ` [PATCH 1/1] vfio-ccw: fence off transport mode Cornelia Huck
  0 siblings, 1 reply; 5+ messages in thread
From: Cornelia Huck @ 2018-02-22 15:39 UTC (permalink / raw)
  To: Dong Jia Shi, Halil Pasic; +Cc: linux-s390, kvm, linux-kernel, Cornelia Huck

I'm currently prototyping hsch()/csch() support for vfio-ccw, and
stumbled over this: We currently expect any I/O to be in command-mode,
but don't take care to actively reject transport-mode. This is not an
issue with QEMU (which rejects transport-mode ORBs before even the css
backend gets to it), but better play safe.

Should we want to support transport-mode in the future, we'll probably
need to introduce a capability for it that needs to be enabled by user
space.

[I also still have the doc patch from some time ago queued. Let's see
if we'll collect more patches.]

Cornelia Huck (1):
  vfio-ccw: fence off transport mode

 drivers/s390/cio/vfio_ccw_fsm.c | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.13.6

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-22 15:39 [PATCH 0/1] vfio-ccw: be less trusting Cornelia Huck
2018-02-22 15:39 ` [PATCH 1/1] vfio-ccw: fence off transport mode Cornelia Huck
2018-03-01 14:51   ` Halil Pasic
2018-03-01 15:07     ` Cornelia Huck
2018-03-02 12:03   ` Cornelia Huck

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