History

Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost

Pull virtio fixes from Michael Tsirkin: "Bugfixes all over the place" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: vhost-vdpa: fix use after free in vhost_vdpa_probe() virtio_pci: Switch away from deprecated irq_set_affinity_hint riscv, qemu_fw_cfg: Add support for RISC-V architecture vdpa_sim_blk: allocate the buffer zeroed virtio_pci: move structure to a header

Linus Torvalds committed 2 years ago

Commit 372bed52 parents c42d9ee e07754e8 files · +22 −18Browse files

Showing the changes to include/uapi/linux (1 of 8 files). Show all

Unified · Split

include/uapi/linux/virtio_pci.h+11−0
@@ -166,6 +166,17 @@ struct virtio_pci_common_cfg { · 165 unmodified lines
166166 __le32 queue_used_hi; /* read-write */
167167 };
168168
169+/*
170+ * Warning: do not use sizeof on this: use offsetofend for
171+ * specific fields you need.
172+ */
173+struct virtio_pci_modern_common_cfg {
174+ struct virtio_pci_common_cfg cfg;
175+
176+ __le16 queue_notify_data; /* read-write */
177+ __le16 queue_reset; /* read-write */
178+};
179+
169180 /* Fields in VIRTIO_PCI_CAP_PCI_CFG: */
170181 struct virtio_pci_cfg_cap {
171182 struct virtio_pci_cap cap;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t