diff options
| author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2025-02-21 12:37:56 -0300 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2025-03-04 15:42:54 +1000 |
| commit | 421ee1ec6f0de0b0fd96b262bda18b97e54263b4 (patch) | |
| tree | a82ef160301efaa2fc870be98a569d275e39bc96 /include/standard-headers/linux/virtio_pci.h | |
| parent | 2c1b42144018ec5ab097e003b974e3a094d73b2f (diff) | |
| download | focaccia-qemu-421ee1ec6f0de0b0fd96b262bda18b97e54263b4.tar.gz focaccia-qemu-421ee1ec6f0de0b0fd96b262bda18b97e54263b4.zip | |
linux-headers: Update to Linux v6.14-rc3
Update headers to retrieve the latest KVM caps for RISC-V. Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Message-ID: <20250221153758.652078-2-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'include/standard-headers/linux/virtio_pci.h')
| -rw-r--r-- | include/standard-headers/linux/virtio_pci.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/standard-headers/linux/virtio_pci.h b/include/standard-headers/linux/virtio_pci.h index b177ed8972..91fec6f502 100644 --- a/include/standard-headers/linux/virtio_pci.h +++ b/include/standard-headers/linux/virtio_pci.h @@ -116,6 +116,8 @@ #define VIRTIO_PCI_CAP_PCI_CFG 5 /* Additional shared memory capability */ #define VIRTIO_PCI_CAP_SHARED_MEMORY_CFG 8 +/* PCI vendor data configuration */ +#define VIRTIO_PCI_CAP_VENDOR_CFG 9 /* This is the PCI capability header: */ struct virtio_pci_cap { @@ -130,6 +132,18 @@ struct virtio_pci_cap { uint32_t length; /* Length of the structure, in bytes. */ }; +/* This is the PCI vendor data capability header: */ +struct virtio_pci_vndr_data { + uint8_t cap_vndr; /* Generic PCI field: PCI_CAP_ID_VNDR */ + uint8_t cap_next; /* Generic PCI field: next ptr. */ + uint8_t cap_len; /* Generic PCI field: capability length */ + uint8_t cfg_type; /* Identifies the structure. */ + uint16_t vendor_id; /* Identifies the vendor-specific format. */ + /* For Vendor Definition */ + /* Pads structure to a multiple of 4 bytes */ + /* Reads must not have side effects */ +}; + struct virtio_pci_cap64 { struct virtio_pci_cap cap; uint32_t offset_hi; /* Most sig 32 bits of offset */ |