diff options
| author | Christian Borntraeger <borntraeger@linux.ibm.com> | 2022-07-11 11:28:57 +0200 |
|---|---|---|
| committer | Christian Borntraeger <borntraeger@linux.ibm.com> | 2022-07-11 11:28:57 +0200 |
| commit | d41b5e0176a610152072d2ce7a83879fb07ea2fa (patch) | |
| tree | 6047e6f514c29653451372ba1f975c8aa18bb896 /include/uapi/linux/vfio_zdev.h | |
| parent | 4b88b1a518b337de1252b8180519ca4c00015c9e (diff) | |
| parent | 4ac34b94a5342544baa72ce09fc5e825a9d35070 (diff) | |
Merge tag 'kvm-s390-pci-5.20' into kernelorgnext
KVM: s390/pci: enable zPCI for interpretive execution
Add the necessary code in s390 base, pci and KVM to enable interpretion
of PCI pasthru.
Diffstat (limited to 'include/uapi/linux/vfio_zdev.h')
| -rw-r--r-- | include/uapi/linux/vfio_zdev.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/vfio_zdev.h b/include/uapi/linux/vfio_zdev.h index b4309397b6b2..77f2aff1f27e 100644 --- a/include/uapi/linux/vfio_zdev.h +++ b/include/uapi/linux/vfio_zdev.h @@ -29,6 +29,9 @@ struct vfio_device_info_cap_zpci_base { __u16 fmb_length; /* Measurement Block Length (in bytes) */ __u8 pft; /* PCI Function Type */ __u8 gid; /* PCI function group ID */ + /* End of version 1 */ + __u32 fh; /* PCI function handle */ + /* End of version 2 */ }; /** @@ -47,6 +50,10 @@ struct vfio_device_info_cap_zpci_group { __u16 noi; /* Maximum number of MSIs */ __u16 maxstbl; /* Maximum Store Block Length */ __u8 version; /* Supported PCI Version */ + /* End of version 1 */ + __u8 reserved; + __u16 imaxstbl; /* Maximum Interpreted Store Block Length */ + /* End of version 2 */ }; /** |
