All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH vhost v3 0/4] strictly check the acccess to the common cfg
@ 2023-10-10  3:11 Xuan Zhuo
  2023-10-10  3:11 ` [PATCH vhost v3 1/4] virtio: add definition of VIRTIO_F_NOTIF_CONFIG_DATA feature bit Xuan Zhuo
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Xuan Zhuo @ 2023-10-10  3:11 UTC (permalink / raw)
  To: virtualization; +Cc: Xuan Zhuo, Michael S. Tsirkin

1. fix the length of the pci_iomap_range() to the modern common cfg
2. add common cfg size check for the VIRTIO_F_NOTIF_CONFIG_DATA, VIRTIO_F_RING_RESET
3. add build size check to the new common cfg items

Xuan Zhuo (4):
  virtio: add definition of VIRTIO_F_NOTIF_CONFIG_DATA feature bit
  virtio_pci: fix the common cfg map size
  virtio_pci: add check for common cfg size
  virtio_pci: add build offset check for the new common cfg items

 drivers/virtio/virtio_pci_modern.c     | 36 ++++++++++++++++++++++++++
 drivers/virtio/virtio_pci_modern_dev.c |  8 ++++--
 include/linux/virtio_pci_modern.h      |  1 +
 include/uapi/linux/virtio_config.h     |  5 ++++
 4 files changed, 48 insertions(+), 2 deletions(-)

--
2.32.0.3.g01195cf9f

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

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

end of thread, other threads:[~2023-10-18 20:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-10  3:11 [PATCH vhost v3 0/4] strictly check the acccess to the common cfg Xuan Zhuo
2023-10-10  3:11 ` [PATCH vhost v3 1/4] virtio: add definition of VIRTIO_F_NOTIF_CONFIG_DATA feature bit Xuan Zhuo
2023-10-10  6:43   ` Jason Wang
2023-10-10  3:11 ` [PATCH vhost v3 2/4] virtio_pci: fix the common cfg map size Xuan Zhuo
2023-10-10  6:42   ` Jason Wang
2023-10-10  3:11 ` [PATCH vhost v3 3/4] virtio_pci: add check for common cfg size Xuan Zhuo
2023-10-10  6:41   ` Jason Wang
2023-10-10  7:55     ` Xuan Zhuo
2023-10-11  3:35       ` Jason Wang
2023-10-18 20:07   ` Michael S. Tsirkin
2023-10-10  3:11 ` [PATCH vhost v3 4/4] virtio_pci: add build offset check for the new common cfg items Xuan Zhuo

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.