public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] virtio: alignment issues
@ 2020-04-06 15:35 Michael S. Tsirkin
  2020-04-06 15:35 ` [PATCH v2 1/2] virtio: stop using legacy struct vring Michael S. Tsirkin
  2020-04-06 15:35 ` [PATCH v2 2/2] vhost: force spec specified alignment on types Michael S. Tsirkin
  0 siblings, 2 replies; 5+ messages in thread
From: Michael S. Tsirkin @ 2020-04-06 15:35 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-06 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-06 15:35 [PATCH v2 0/2] virtio: alignment issues Michael S. Tsirkin
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox