All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC v2 0/3] fio-ccw fixes for kernel stacktraces
@ 2019-04-08 21:05 Farhan Ali
  2019-04-08 21:05 ` [RFC v2 1/3] vfio-ccw: Do not call flush_workqueue while holding the spinlock Farhan Ali
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Farhan Ali @ 2019-04-08 21:05 UTC (permalink / raw)
  To: kvm, linux-s390; +Cc: farman, cohuck, pasic, pmorel, alifm

Hi,

I have recently seen some interesting kernel stacktraces while
testing vfio-ccw mediated devices. These stack traces are seen
when things don't go right, for example when a guest crashes or
dies while still doing some I/O on the mediated device.

I have also come across an issue in the common vfio code as
well which I reported upstream (https://marc.info/?l=kvm&m=155369393523503&w=2)
and submitted a patch separately for it
(https://marc.info/?l=kvm&m=155414703613868&w=2).

I would appreciate any review or feedback on these patches.

Thanks
Farhan

ChangeLog
---------
v1 -> v2
   - Use the return code from cio_cancel_halt_clear to prevent
     waiting unnecessarily (patch 2).

   - No need to reset the device on the remove path (patch 3).

Farhan Ali (3):
  vfio-ccw: Do not call flush_workqueue while holding the spinlock
  vfio-ccw: Prevent quiesce function going into an infinite loop
  vfio-ccw: Release any channel program when releasing/removing vfio-ccw
    mdev

 drivers/s390/cio/vfio_ccw_drv.c | 27 ++++++++++++---------------
 drivers/s390/cio/vfio_ccw_ops.c | 11 ++++++++++-
 2 files changed, 22 insertions(+), 16 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2019-04-15 16:45 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-08 21:05 [RFC v2 0/3] fio-ccw fixes for kernel stacktraces Farhan Ali
2019-04-08 21:05 ` [RFC v2 1/3] vfio-ccw: Do not call flush_workqueue while holding the spinlock Farhan Ali
2019-04-08 21:05 ` [RFC v2 2/3] vfio-ccw: Prevent quiesce function going into an infinite loop Farhan Ali
2019-04-11 16:24   ` Cornelia Huck
2019-04-11 20:30     ` Farhan Ali
2019-04-12  8:10       ` Cornelia Huck
2019-04-12 14:38         ` Farhan Ali
2019-04-15  8:13           ` Cornelia Huck
2019-04-15 13:38             ` Farhan Ali
2019-04-15 14:18               ` Cornelia Huck
2019-04-15 14:24                 ` Farhan Ali
2019-04-15 14:44                   ` Cornelia Huck
2019-04-08 21:05 ` [RFC v2 3/3] vfio-ccw: Release any channel program when releasing/removing vfio-ccw mdev Farhan Ali
2019-04-11 16:27   ` Cornelia Huck
2019-04-11 20:39     ` Farhan Ali
2019-04-12  8:12       ` Cornelia Huck
2019-04-12 14:13         ` Farhan Ali
2019-04-12 21:03           ` Eric Farman
2019-04-12 21:01   ` Eric Farman
2019-04-15 16:45 ` [RFC v2 0/3] fio-ccw fixes for kernel stacktraces Cornelia Huck

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.