From: "Michael S. Tsirkin" <mst@redhat.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] virtio: alignment issues
Date: Mon, 6 Apr 2020 11:35:21 -0400 [thread overview]
Message-ID: <20200406153245.127680-1-mst@redhat.com> (raw)
This is an alternative to
vhost: force spec specified alignment on types
which is a bit safer as it does not change UAPI.
I still think it's best to change the UAPI header as well,
we can do that as a follow-up cleanup.
Jason, can you pls ack one of the approaches?
Michael S. Tsirkin (2):
virtio: stop using legacy struct vring
vhost: force spec specified alignment on types
drivers/misc/mic/vop/vop_main.c | 2 +-
drivers/platform/mellanox/mlxbf-tmfifo.c | 10 +++---
drivers/vhost/vhost.h | 6 ++--
drivers/virtio/virtio_ring.c | 10 +++---
include/linux/virtio.h | 2 +-
include/linux/virtio_ring.h | 46 ++++++++++++++++++++++++
include/linux/vringh.h | 2 +-
tools/virtio/ringtest/virtio_ring_0_9.c | 6 ++--
tools/virtio/virtio_test.c | 2 +-
tools/virtio/vringh_test.c | 20 +++++------
10 files changed, 76 insertions(+), 30 deletions(-)
--
MST
next reply other threads:[~2020-04-06 15:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-06 15:35 Michael S. Tsirkin [this message]
2020-04-06 15:35 ` [PATCH v2 1/2] virtio: stop using legacy struct vring Michael S. Tsirkin
2020-04-06 15:56 ` Greg Kroah-Hartman
2020-04-06 15:57 ` Michael S. Tsirkin
2020-04-06 15:35 ` [PATCH v2 2/2] vhost: force spec specified alignment on types Michael S. Tsirkin
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=20200406153245.127680-1-mst@redhat.com \
--to=mst@redhat.com \
--cc=linux-kernel@vger.kernel.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 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.