All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] virtio: feature related cleanups
@ 2025-11-16  7:36 Michael S. Tsirkin
  2025-11-16  7:36 ` [PATCH v3 1/2] virtio: clean up features qword/dword terms Michael S. Tsirkin
  2025-11-16  7:36 ` [PATCH v3 2/2] vhost: switch to arrays of feature bits Michael S. Tsirkin
  0 siblings, 2 replies; 4+ messages in thread
From: Michael S. Tsirkin @ 2025-11-16  7:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Lunn, Paolo Abeni, Jason Wang, Eugenio Pérez,
	Xuan Zhuo, Jonathan Corbet, kvm, virtualization, netdev,
	linux-doc

Cleanup around handling of feature bits:
- address word/dword/qword confusion
- simplify interfaces so callers do not need to
  remember in which 64 bit chunk each bit belongs

changes from v2:
- drop unnecessary casts
- rework the interface to use array of bits not
  arrays of qwords

Michael S. Tsirkin (2):
  virtio: clean up features qword/dword terms
  vhost: switch to arrays of feature bits

 drivers/vhost/net.c                    | 44 ++++++++++++++------------
 drivers/vhost/scsi.c                   |  9 ++++--
 drivers/vhost/test.c                   | 10 ++++--
 drivers/vhost/vhost.h                  | 42 +++++++++++++++++++-----
 drivers/vhost/vsock.c                  | 10 +++---
 drivers/virtio/virtio.c                | 12 +++----
 drivers/virtio/virtio_debug.c          | 10 +++---
 drivers/virtio/virtio_pci_modern_dev.c |  6 ++--
 include/linux/virtio.h                 |  2 +-
 include/linux/virtio_config.h          |  2 +-
 include/linux/virtio_features.h        | 29 +++++++++--------
 include/linux/virtio_pci_modern.h      |  8 ++---
 scripts/lib/kdoc/kdoc_parser.py        |  2 +-
 13 files changed, 114 insertions(+), 72 deletions(-)

-- 
MST


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

end of thread, other threads:[~2025-11-19  1:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-16  7:36 [PATCH v3 0/2] virtio: feature related cleanups Michael S. Tsirkin
2025-11-16  7:36 ` [PATCH v3 1/2] virtio: clean up features qword/dword terms Michael S. Tsirkin
2025-11-19  1:53   ` Jason Wang
2025-11-16  7:36 ` [PATCH v3 2/2] vhost: switch to arrays of feature bits Michael S. Tsirkin

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.