From: "Michael S. Tsirkin" <mst@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Rusty Russell <rusty@rustcorp.com.au>
Subject: [PATCH v2 0/2] virtio/vhost: fix alignment requirements
Date: Thu, 25 Dec 2014 17:05:01 +0200 [thread overview]
Message-ID: <1419517332-12291-1-git-send-email-mst@redhat.com> (raw)
vhost incorrectly asked for 8 byte alignment for
used ring pointer, it should be 4 byte.
Let's add explicit macros for ring element alignment,
this makes it easier to make sure our requirements
match the spec.
Rusty, OK to merge this through my vhost tree, or do you
prefer merging this through yours?
Michael S. Tsirkin (2):
virtio_ring: document alignment requirements
vhost: relax used address alignment
include/uapi/linux/virtio_ring.h | 7 +++++++
drivers/vhost/vhost.c | 10 +++++++---
2 files changed, 14 insertions(+), 3 deletions(-)
--
MST
next reply other threads:[~2014-12-25 15:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-25 15:05 Michael S. Tsirkin [this message]
2014-12-25 15:05 ` [PATCH v2 1/2] virtio_ring: document " Michael S. Tsirkin
2014-12-25 15:05 ` [PATCH v2 2/2] vhost: relax used address alignment Michael S. Tsirkin
2014-12-25 15:05 ` [PATCH v2 0/2] virtio/vhost: fix alignment requirements Michael S. Tsirkin
2014-12-27 9:22 ` 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=1419517332-12291-1-git-send-email-mst@redhat.com \
--to=mst@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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
Powered by JetHome