From: Amit Shah <amit.shah@redhat.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Amit Shah <amit.shah@redhat.com>,
Virtualization List <virtualization@lists.linux-foundation.org>,
miche@google.com, "Michael S. Tsirkin" <mst@redhat.com>
Subject: [PATCH 0/2] virtio: console: control queue race fixes
Date: Fri, 6 Jan 2012 16:19:06 +0530 [thread overview]
Message-ID: <cover.1325845993.git.amit.shah@redhat.com> (raw)
Hello,
The first patch here fixes the race seen by Miche. He hasn't yet
reported back if this fixes the races he saw, but Joy Pu from Red Hat
tested this patch with hot-plugging/unplugging ports in a loop.
Before this patch, he saw some freezes as well as sysfs warnings.
After applying the patch, all was well.
The second patch can be folded into the series fixing S4 for
virtio-console. It ensures all callbacks are disabled in the freeze
function. This patch has a dependency on the 1st one in the sense the
double disabling of vq won't make sense w/o patch 1.
Please review and apply.
Amit Shah (2):
virtio: console: Serialise control work
virtio: console: Disable callbacks for virtqueues at start of S4
freeze
drivers/char/virtio_console.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
--
1.7.7.4
next reply other threads:[~2012-01-06 10:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-06 10:49 Amit Shah [this message]
2012-01-06 10:49 ` [PATCH 1/2] virtio: console: Serialise control work Amit Shah
2012-01-09 2:33 ` Rusty Russell
2012-01-09 3:53 ` Amit Shah
2012-01-06 10:49 ` [PATCH 2/2] virtio: console: Disable callbacks for virtqueues at start of S4 freeze Amit Shah
2012-01-09 2:31 ` [PATCH 0/2] virtio: console: control queue race fixes Rusty Russell
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=cover.1325845993.git.amit.shah@redhat.com \
--to=amit.shah@redhat.com \
--cc=miche@google.com \
--cc=mst@redhat.com \
--cc=rusty@rustcorp.com.au \
--cc=virtualization@lists.linux-foundation.org \
/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).