public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Rusty Russell <rusty@rustcorp.com.au>
Subject: Re: [PATCH v2 0/2] virtio/vhost: fix alignment requirements
Date: Thu, 25 Dec 2014 17:05:48 +0200	[thread overview]
Message-ID: <20141225150548.GA12865@redhat.com> (raw)
In-Reply-To: <1419517332-12291-1-git-send-email-mst@redhat.com>

On Thu, Dec 25, 2014 at 05:05:01PM +0200, Michael S. Tsirkin wrote:
> 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?

Just to clarify, this is needed in 3.19.

> 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
> 

  parent 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 [PATCH v2 0/2] virtio/vhost: fix alignment requirements Michael S. Tsirkin
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 ` Michael S. Tsirkin [this message]
2014-12-27  9:22   ` [PATCH v2 0/2] virtio/vhost: fix alignment requirements 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=20141225150548.GA12865@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