From: Thomas Huth <thuth@redhat.com>
To: Cornelia Huck <cohuck@redhat.com>,
Christian Borntraeger <borntraeger@de.ibm.com>
Cc: David Hildenbrand <david@redhat.com>,
qemu-devel@nongnu.org, Alexander Graf <agraf@suse.de>,
Halil Pasic <pasic@linux.ibm.com>,
qemu-s390x@nongnu.org, Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [qemu-s390x] [PATCH 2/2] s390x/ccw: make sure all ccw devices are properly reset
Date: Tue, 8 May 2018 07:05:24 +0200 [thread overview]
Message-ID: <68c360c2-2da0-5a26-c9be-27fef9fa031b@redhat.com> (raw)
In-Reply-To: <20180507155130.21085-3-cohuck@redhat.com>
On 07.05.2018 17:51, Cornelia Huck wrote:
> Thomas reported that the subchannel for a 3270 device that ended up
> in a broken state (status pending even though not enabled) did not
> get out of that state even after a reboot (which involves a subsytem
> reset). The reason for this is that the 3270 device did not define
> a reset handler.
>
> Let's fix this by introducing a base reset handler (set up for all
> ccw devices) that resets the subchannel and have virtio-ccw call
> its virtio-specific reset procedure in addition to that.
>
> Reported-by: Thomas Huth <thuth@redhat.com>
> Suggested-by: Christian Borntraeger <borntraeger@de.ibm.com>
> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
> ---
> hw/s390x/ccw-device.c | 8 ++++++++
> hw/s390x/virtio-ccw.c | 9 ++++++---
> hw/s390x/virtio-ccw.h | 1 +
> 3 files changed, 15 insertions(+), 3 deletions(-)
Looks good!
Reviewed-by: Thomas Huth <thuth@redhat.com>
I also checked that the broken 3270 device is now operational after a
reboot again with your two patches, so:
Tested-by: Thomas Huth <thuth@redhat.com>
next prev parent reply other threads:[~2018-05-08 5:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-07 15:51 [Qemu-devel] [PATCH 0/2] s390x: reset handling for ccw devices Cornelia Huck
2018-05-07 15:51 ` [Qemu-devel] [PATCH 1/2] virtio-ccw: common reset handler Cornelia Huck
2018-05-07 19:21 ` Thomas Huth
2018-05-07 19:44 ` David Hildenbrand
2018-05-08 13:31 ` [Qemu-devel] [qemu-s390x] " Halil Pasic
2018-05-07 15:51 ` [Qemu-devel] [PATCH 2/2] s390x/ccw: make sure all ccw devices are properly reset Cornelia Huck
2018-05-08 5:05 ` Thomas Huth [this message]
2018-05-08 7:17 ` [Qemu-devel] [qemu-s390x] " Christian Borntraeger
2018-05-08 7:38 ` Cornelia Huck
2018-05-08 13:42 ` [Qemu-devel] " Halil Pasic
2018-05-08 14:01 ` Cornelia Huck
2018-05-08 12:55 ` [Qemu-devel] [PATCH 0/2] s390x: reset handling for ccw devices Cornelia Huck
2018-05-08 13:29 ` Halil Pasic
2018-05-08 13:55 ` Cornelia Huck
2018-05-08 14:24 ` Halil Pasic
2018-05-08 15:22 ` Cornelia Huck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=68c360c2-2da0-5a26-c9be-27fef9fa031b@redhat.com \
--to=thuth@redhat.com \
--cc=agraf@suse.de \
--cc=borntraeger@de.ibm.com \
--cc=cohuck@redhat.com \
--cc=david@redhat.com \
--cc=pasic@linux.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).